Use the chown command to change file owner and group information. Use the chmod command to change file access permissions such as read, write, and access.
How to Force fsck on Reboot
The system utility fsck (for “file system check”) is a tool for checking the consistency of a file system in Unix and Unix-like operating systems.
cPanel URL Redirect
Creating A MySQL Table
Before you can do anything with your database, you must create a table. A table is a section of the database for storing related information. In a table you will set up the different fields which will be used in that table. Because of this construction, nearly all of a site’s database needs can be satisfied using just one database.
Apache URL Rewrite
- On some webservers there are more than one URL for a resource. Usually there are canonical URLs (which should be actually used and distributed) and those which are just shortcuts, internal ones, etc. Independent of which URL the user supplied with the request he should finally see the canonical one only. Add the following changes to the .htaccess file for the domain you wish to rewrite.
- Read More
Installing Zend Optimizer with cPanel
Log into SSH on your dedicated or cloud server.
- Run: /scripts/installzendopt
- Follow the instructions on the screen to install Zend Optimizer
Rebuilding Apache in cPanel
Log into SSH on your dedicated or cloud server.
Type the following commands:
# cd /scripts
Restarting Server Services in cPanel
Log into WHM on your dedicated or cloud server.
1. At your left hand side menu, Search for Restart Services Option
2. From the Restart Services menu, select the service you wish to restart.
Change SMTP Server IP in cPanel
Log into WHM on your dedicated or cloud server.
Click Exim Configuration Editor
Check the box next to: “Send outgoing mail from the ip that matches the domain name in /etc/mailips (*: IP can be added to the file to change the main outgoing interface)”
How to Install Ngnix
To install Ngnix, use the below commands
# cd /usr/local/src
# wget http://nginxcp.com/latest/nginxadmin.tar
Read More