Install ModSecurity on Ubuntu/Debian
To install ModSecurity on Debian/Ubuntu Apache web server, run Enable mod security and restart Apache web server Verify mod_security installed with You…
To install ModSecurity on Debian/Ubuntu Apache web server, run Enable mod security and restart Apache web server Verify mod_security installed with You…
On OpenLiteSpeed, if you edit php.ini or installed a PHP module, restart OpenLiteSpeed won’t show the changes. You will need to restart…
To copy emails from one mailbox to another using imapsync, use Example In this example, source and destination email and passwords are…
To see the swap usage boby@sok-01:~$ swapon –summary Filename Type Size Used Priority /dev/sda2 partition 9765884 2504704 -2 boby@sok-01:~$ See swap
To install LAMP (Apache, MySQL, PHP) on Ubuntu/Debian web server, run apt-get install lamp-server^ This use meta package install LAMP. If you…
EasyEngine come admin tools. This include phpMyAdmin, phpinfo, OpCache GUI, nginx status. To enable admin tool, run ee admin-tools enable example.com Admin…
To Find MySQL root password on EasyEngine, run cd /opt/easyengine/services && docker-compose exec global-db bash -c ‘echo $MYSQL_ROOT_PASSWORD’ Or cat /opt/easyengine/services/docker-compose.yml |…
To find IP with most access from Apache or other web server log file, run If you want to see IP that…
To install PHP 7. you need to first enable epel and remi repo. yum install -y epel-release rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm Remove existing…
On reverse proxy server, lets install some basic utilities. apt install -y wget wget https://raw.githubusercontent.com/serverok/server-setup/master/debian/1-basic-tools.sh bash 1-basic-tools.sh Install nginx apt install nginx…
To update VestaCP server, run v-list-sys-vesta-updates v-update-sys-vesta-all Example [root@backendz ~]# v-list-sys-vesta-updates PKG VER REL ARCH UPDT DATE — — — —- —-…