Posts

Showing posts from August, 2017

How to install latest Varnish Version on CloudLinux CPanel Server with Apache

Image
Serving a webpage takes up a lot of resources – especially when it is dynamically generated like those created via PHP. Each time someone requests a page, the backend has to perform a multitude of operations to deliver it. Concepts like caching are very familiar to anyone who has run a WordPres s Hosting. However, this idea is not limited to such a high level operation alone. We can install applications on the server itself that create cached copies of existing webpages and deliver them instead of regenerating from scratch. One of the most famous server-based applications is known as Varnish Cache. In fact, any of you who have worked with a WordPress caching plug-in like W3 Total Cache, know that it has options to work in tandem with it, thereby improving its efficiency. If you’re limited to a shared hosting environment, you probably have no control over whether or not Varnish is installed on your server. You simply don’t have the permissions to download and install the necessary pac…

How to Restore single CPanel account email after deletion from CPMOVE tar.gz file

You can find the backup archive from the backup generation date of your choosing, and then manually extract the email contents from the archive (e.g. using the "tar --extract" functionality). The email data is stored in:

/home/$username/mail/$domain/$email-account-name


Copying over the extracted data to it's associated directory will not overwrite the new emails that have since generated in the directory, as each email has a unique name.


You have root access of your server so you can restore your mail account sub folder through command line.
tar -zxvf $username.tar.gz /$username/mail/$domain/$email-account-name
If you have backup in .tar.gz format, then first of all you will have to extract that backup file and rsync your directory which you want to restore from backup to user mail directory. 

Installing nginx on CPanel + ClouldLinux Server RemoteIP module not found at

cp: cannot create regular file `/var/cpanel/apps/nginxcp.conf’: No such file or directory [root@server]# ./nginxinstaller install
/usr/local/src/publicnginx
Welcome to the Nginx Admin installer……Starting Install
Please Wait …….
Generating vhosts…
Installing WHM interface…
cp: cannot create regular file `/var/cpanel/apps/nginxcp.conf’: No such file or directory
Installing mod_remoteip…
RemoteIP module not found at: /home/cpeasyapache/src/httpd-2.4/modules/metadata
[root@server]# Solution : You get the above error because of a missing folder, but it is not easy to find out.
mkdir -p /home/cpeasyapache/src/httpd-2.4/modules/metadata Note :: In the above command replace “2.4” with the apache version you are using. Now here is the output when the installation is ran again.
[root@server]# ./nginxinstaller install
/usr/local/src/publicnginx
Welcome to the Nginx Admin installer......Starting Install
Please Wait .......
Generating vhosts...
Installing WHM interface...
Installing mod_remoteip...
Updating…

How to Speed up and Optimize WordPress on a Linux VPS

Doesn’t matter if you are running a small blog or a high-traffic website based on WordPress, optimizing your WordPress should be one of your top priorities. Page speed is so important today that even Google’s ranking algorithm has been adapted to this. Moreover, a slow site means less visitors and that is the main reason you should be concerned about. In this post, we will do an overview of some of the key optimization techniques that could help your to get the best performances of your WordPress site and your Linux VPS. The WordPress optimization techniques will be limited by the hosting service you are using. If you are using shared hosting then you will have little control over your server setup and you will not be able to perform advanced optimization techniques. Note that many managed VPS providers won’t give you full control (root access) to your VPS. That is why we always recommend using our Linux VPS hosting powered by enterprise SSD drives to run a WordPress web site. If you…