from https://github.com/vdeville/ssh-login-alert-telegram apt-get -y install git cd /opt/ && git clone https://github.com/vdeville/ssh-login-alert-telegram.git (more…).. อ่านต่อ ( read more» )
Command | tags
Command | SSH login Alert Telegram bot
Security Linux CommandCommand | Fix debian 8/9 “curl: (60) SSL certificate problem: certificate has expired”
Debian Linux Security Command PHPexample error curl -I https://www.google.com/ curl: (60) SSL certificate problem: unable to get local issuer certificate . . (more…).. อ่านต่อ ( read more» )
Command | find footprint script virus webhost server
Find Linux Commandfind /home/*/domains/*/public_html/ -maxdepth 2 -type f -name '.htaccess' -print0 | xargs -0 grep -il '(py|exe|php)' find /home/*/domains/*/public_html/ -maxdepth 2 -type f -name '.htaccess' -print0 | xargs -0 grep -il '(py|exe' rm -f wp-content/uplo.. อ่านต่อ ( read more» )
Command | Monitor & Restart HTTPD / NGINX conf & more service
Linux Command NginxMonitor service up/down & auto restart //httpd (apache) vim /root/apacherestart.sh #!/bin/bash PGREP=/usr/bin/pgrep CHKSERVICE=httpd $PGREP ${CHKSERVICE} if [ $? -ne 0 ] then # printf $? /etc/init.d/httpd restart date >> /root/apacherestart.log f.. อ่านต่อ ( read more» )
Command | update PHP5.5 to PHP7.2 on Debian & DirectAdmin with CustomBuild 2.0
PHP Debian DirectAdmin Commandbefore: https://www.taxze.com/how-to-upgrade-php-with-directadmin/ after : install openssl first https://www.taxze.com/update-openssl-debian-directadmin/ ..and update CustomBuild 2.0 for upgrade php5.5.xx to php7.2.xx on Debian6 & DirectAdmin (more&h.. อ่านต่อ ( read more» )
Command | update OpenSSL on Debian & DirectAdmin
DirectAdmin Debian Command SecurityWhat versions of the OpenSSL are affected? Status of different versions: - OpenSSL 1.0.1 through 1.0.1f (inclusive) are vulnerable - OpenSSL 1.0.1g is NOT vulnerable - OpenSSL 1.0.0 branch is NOT vulnerable - OpenSSL 0.9.8 branch is NOT vulnerable Bu.. อ่านต่อ ( read more» )
Command | Debian/Ubuntu + Nginx + PHP(5|7)-FPM + MySQL + Redis with VestaCP
PHP MySQL Ubuntu VestaCP Nginx Debian Commandapt-get update; apt-get upgrade -y cd /tmp wget http://vestacp.com/pub/vst-install.sh #wget http://vestacp.com/pub/vst-install-debian.sh #sed -i 's/php5/php7.0/g' vst-install-debian.sh bash vst-install.sh --nginx yes --phpfpm yes --apache no --vsftpd.. อ่านต่อ ( read more» )
Command | How to upgrade Ubuntu 14.04 / 15.10 to 16.04 LTS
Ubuntu Commandupgrade Ubuntu apt-get update apt-get upgrade -y apt-get dist-upgrade -y apt-get install update-manager-core do-release-upgrade reboot (more…).. อ่านต่อ ( read more» )
Command | How to upgrade Debian v6(Squeeze) to v7(Wheezy) to v8(Jessie)
Debian Commandedit source.list vim /etc/apt/sources.list (more…).. อ่านต่อ ( read more» )
Command | How to upgrade MySQL 5.5.x to 5.6.x with DirectAdmin
MySQL Command DirectAdmin Debiandebian 6.0.10 php 5.5.36 directadmin custombuild 1.2 upgrade >> mysql 5.5.9 to 5.6.29 (more…).. อ่านต่อ ( read more» )