How to install Apache on a Linux Server

If you have just received a fresh dedicated server / vps with only operating system installed, Apache may not be installed on your server. By default, Apache is not install with OS. Here is how you can install Apache on your server. Login to your server as root via SSH and run following command: yum […]

How to find MySQL root password

Server root MySQL password can be different from server root password. Here is how you can get root MySQL password. Login as root via SSH and execute following command tail /root/.my.cnf OR cat /root/.my.cnf This will show you the root MySQL password of your server. [dedicated_hosting]

How to find CentOS installed is 32-bit or 64-bit

CentOS is most popular operating system on Linux servers. If you want to check the CentOS version installed on your server, please refer to our following tutorial page: How to find CentOS version installed If you want to check centOs installed on your server is 32-bit or 64-bit, here is how you can find. Login […]

How to change owner of a file on a Linux server

chown command is used to change owner of a file on a Linux server. Syntax of chown command is: chown user:group filename Suppose you want to change owner of following file to a new user whose username is lophost /home/mywebsite/public_html/filename.zip Login to your server as root via SSH, and execute following command: chown lophost:lophost /home/mywebsite/public_html/filename.zip […]

How to delete / clear / flush eAccelerator cache

eAccelerator is a popular PHP accelerator and optimizer. It improves and increases the performance of PHP scripts by caching them. eAccelerator can typically reduces server load and increases the speed of your PHP code by 1-10 times. By default eAccelerator saves cache in /var/cache/eaccelerator directory. But eAccelerator cache directory can be different on some server. […]

How to delete a file or folder via SSH

SSH is the fastest and easiest way to delete multiple files or a complete folder on a server. Please take maximum care while deleting a file or folder. How to delete a file via SSH Use rm command to delete a file. Suppose you want to delete /home/filename.txt file. To delete this file, execute following […]

How to Install and Un-install NANO

Nano is a small and easy to use text editor for Linux. By default nano might not be installed on your Linux / CentOS / RedHat / CloudLinux / cPanel servers. How to install NANO Login as root to your server via SSH, and execute following command: [alert style=green_a]yum install nano[/alert] How to un-install / […]