Linux

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/wpcli.cfg using: $ nano /etc/cagefs/conf.d/wpcli.cfg Add the following content to that file and save. [wp-cli] comment=wp-cli paths=/usr/local/bin/wp And then run: $ cagefsctl –force-update Now all users who have SSH access can use wp-cli.

add wp-cli to cageFS 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 »

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 »