Disable ModSecurity for a specific URL
On a web site that is protected with ModSecurity, when admin edit HTML pages in admin area, ModSecurity falsely detect
Cache
Install Zend OpCache on OpenLiteSpeed Server
Install Zend OpCache on OpenLiteSpeed Server
To install Zend OpCache on OpenLiteSpeed Server, run apt install -y lsphp73-opcache Now restart PHP with command killall -9 lsphp
dotnet
How to install .NET SDK in Ubuntu 20.04 Install .NET SDK on Ubuntu 20.04 How to create .NET console program
yum list all available packages in a repo
To list all packages available on a specific repo, run yum –disablerepo=”*” –enablerepo=”REPO_NAME_HERE” list available You can get list of
Install ModSecurity on Debian
To install ModSecurity on Debian/Ubuntu Apache web server, run apt-get install libapache2-mod-security2 Restart Apache web server service apache2 restart Verify
OpenLiteSpeed restart PHP
On OpenLiteSpeed, if you edit php.ini or installed a PHP module, restart OpenLiteSpeed won’t show the changes. You will need
Migrate IMAP emails using imapsync
To copy emails from one mailbox to another using imapsync, use imapsync –host1 IP_SRC_SERVER -user1 YOU@YOURDOMAIN –password1 ‘PASSWORD’ –host2 IP_NEW_SERVER
swapon
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
Install LAMP Server on Ubuntu/Debian
To install LAMP (Apache, MySQL, PHP) on Ubuntu/Debian web server, run apt-get install lamp-server^ This use meta package install LAMP.
EasyEngine backup WordPress Database
EasyEngine run database of web sites in a Docker container. To take backup of MySQL database used by a WordPress
ecommerce
Magento Saleor dropshipping