Golfreeze.packetlove.com: Life style of Golfreeze Canon400D Family kammtan.com Jazz Freebsd Unix Linux System Admin guitar Music
All about unix linux freebsd and FAQ for Packetlove.com Web hosting , Mail hosting , VoIP + IP PBX server => Os kernel การปรับแต่ง เพิ่มเติม ลงโปรแกรม บน OS และ ControlPanel Directadmin,Cloud server => Topic started by: golfreeze on มิถุนายน 29, 2015, 10:26:23 PM
-
ทำการ Download new version of openssl
#cd /usr/src
check latest version of openssl on https://www.openssl.org (https://www.openssl.org)
#wget https://www.openssl.org/source/openssl-1.0.2d.tar.gz (https://www.openssl.org/source/openssl-1.0.2d.tar.gz)
#tar -xvzf openssl-1.0.2d.tar.gz
#cd openssl-1.0.2d
#./config --prefix=/usr no-threads shared
#make
#make test
#make install
After updating openSSL, we need to update DirectAdmin
#cd /usr/local/directadmin/custombuild
#./build clean
#./build update
#./build apache
#./build php d
#./build exim
#./build dovecot
check version openssl
#openssl version
OpenSSL 1.0.2d 9 Jul 2015
ในกรณีที่อัฟเกรด openssl แล้วทำการเชคตามพวกเว็บ check ssl => https://www.ssllabs.com/ssltest/ (https://www.ssllabs.com/ssltest/)
แล้วค่า configure ที่ทำการเปลี่ยนแล้วยังไม่อัฟเดท ตามที่ตั้งค่าไว้ เช่น disable TLS1.0 , SSLv2
SSLProtocol -SSLv2 -SSLv3 +TLSv1.1 +TLSv1.2
#/etc/init.d/httpd restart
แล้วค่าที่เชคก็ยัง ขึ้นว่ายังไม่ support TLSv1.1 , TLSv1.2 ให้ทำการ clear cache configure ของ da ด้วยครับผม
#cd /usr/local/directadmin/custombuild
#./build update
#mv configure/ap2/conf configure/ap2/conf_back
#./build rewrite_confs
#/etc/init.d/httpd restart
แล้วทำการเชคผ่านเว็บอีกรอบ ก็จะอัฟเดทเป็นค่า configure ใหม่อย่างถูกต้อง และ เรียบร้อยครับผม : )
ขอบพระคุณทีมงาน support team : บริษัท Packetlove IT Service and Consulting ครับ
-
##upgrade apache 2.2.x -> 2.4.x on directadmin
cd /usr/local/directAdmin/custombuild
./build set apache_ver 2.4
./build update
./build clean
./build apache n
./build php n
service httpd restart
-
###Directadmin could not start and return error like
error while loading shared libraries: libssl.so.10: cannot find
error while loading shared libraries: libcrypto.so.10: cannot find
ทำการ Download new version of openssl
#cd /usr/src
check latest version of openssl on https://www.openssl.org
#wget https://www.openssl.org/source/openssl-1.0.2p.tar.gz
#tar -xvzf openssl-1.0.2p.tar.gz
#cd openssl-1.0.2p
#./config --prefix=/usr no-threads shared
#make
#make test
#make install
cd /usr/lib64
ln -s libssl.so.1.0.0 libssl.so.10
ln -s libcrypto.so.1.0.0 libcrypto.so.10
/etc/init.d/directadmin restart