add wp-cli to cageFS

Login to your server as root. Install wp-cli as stated here: http://wp-cli.org/#installing After installing WP-CLI Open file: /etc/cagefs/conf.d/wp.cfg using: $ nano /etc/cagefs/conf.d/wp.cfg Add the following content to that file and save. [wp] comment=wp paths=/usr/local/bin/wp And then run: $ cagefsctl –force-update Now all users who have SSH access can use wp command.

add wp-cli to cageFS Read More »

How to turn off windows Update (windows 10)

To turn off windows update in windows 10 follow these steps: 1. Open Start menu, then click Settings (the gear icon on left corner) 2. On search bar, search for “Administrative Tools” and click on it. 3. Double-Click on “Services” 4. Look for a service called “Windows Update” and Right-click and “Properties”. 5. Change “Startup

How to turn off windows Update (windows 10) Read More »

How to solve (command-line: line 0: Bad configuration option: ControlPersist) WHM transfer tool

Here is how to solve the WHM transfer tool failure error which contains: command-line: line 0: Bad configuration option: ControlPersist) To solve this error and be able to transfer websites from a remote server, apply this command: $ yum update openssh    

How to solve (command-line: line 0: Bad configuration option: ControlPersist) WHM transfer tool Read More »

How to Force HTTPS using .htaccess

Encryption is essential and security is priority. If you want to force your users to use HTTPS version of your website, you can use a small code to do this. Open .htaccess on your public_html folder or any sub-folder and add this code on top: RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.example.com/$1 [R,L] change

How to Force HTTPS using .htaccess Read More »

change ssh port on CentOS 7

Edit /etc/ssh/sshd_config $ nano /etc/ssh/sshd_config Look for: #Port 22 Change to any port number of your choice, for example, 1234 Port 1234 (remove # from the beginning and change 22 to 1234, make sure not to use a port number that’s already used by another service like 80,21,443,53,25 etc..) 2) Add the port number to the

change ssh port on CentOS 7 Read More »