How to install zPanel on CentOS 6
It is important that you are installing zPanel on a FRESH install of CentOS 6.x. If you have already installed software, please reinstall the OS before running the zPanel installation program.
If you are running the installation in a Cloud environment, it is recommended to create a snapshot of the fresh OS before beginning the installation.
Create a Snapshot
Stop The Instance
Locate the instance you wish to install zPanel on and click “Stop”. Confirm you are on the correct instance when prompted.
Create the Snapshot
Click the Snapshot button.
When prompted enter a title for the snapshot. In this example we used “Fresh Install”
Click [Create Snapshot]
After a few moments, the dialog window will disappear and the words “Backing Up” will appear under the Snapshot Status column. Depending on the size of your instance, this process may take a minute to much longer to complete.
Once the snapshot has been created, the words “Backed Up” will appear in the Snapshot Status column.
[createsnapshot4]
Restart the Instance
Click the [Start] button. The word “Starting” will be displayed in the “Status” column.
Once the reboot has completed, “Running” will appear under the Status column.
Install zPanel
Console the instance
Click the [>_Console] button. After a few moments, the Console screen will appear.
Log Into the server
At the login prompt, type “root” and [Enter]
Next enter the root password you were provided when the instance was created, followed by [Enter].
**For security, no characters will be displayed on the screen while you enter your password**
Once you have successfully logged in, you will be at the Linux root prompt, which is designated by the ‘#’ symbol.
Update your system
Run the following command:
yum -y update
This process updates all of the software included with your Operating System and may take several minutes to complete.
Once it has finished, it will display the word “Complete!” followed by the root command prompt.
Complete! [root@cloud01 ~]# _
Download the installation program
Enter the following command.
wget https://raw.github.com/zpanel/installers/master/install/CentOS-6_4/10_1_1.sh
Make the script executable
Before you can run the installation program, you have to allow the program to be executed. To do this, run the following command:
chmod +x 10_1_1.sh
Run the Installation
Start the installation by entering the following command
./10_1_1.sh
Welcome Screen
After the display screen, you will be prompted to continue. Press y [Enter]
Would you like to continue (y/n)? y
Select Timezone Continent
Select the continent or geographical location you would like to use for the server’s timezone by entering the corresponding number, then press Enter.
#? 2
Select Country
Select the country by entering the corresponding number, then press [Enter]
#? 49
Select Timezone
Enter the desired timezone, then press Enter.
#? 11
Confirm Timezone
The program will display the options you have chosen. If these are correct, type 1
. If you need to make changes, type 2 to re-enter the values.You can make this change permanent for yourself by appending the line
TZ=’America/Chicago’; export TZ
Press
zPanel Domain
If you have not purchased a dedicated domain for your zPanel installtion, you can use a subdomain of your website domain. We recommend zpanel.domain.com, replacing “domain.com” with your actual domain.
FQDN for zpanel: zpanel.domain.com
Public IP
Verify the software is displaying the public IP for your server. If not, manually enter it here and press [Enter]
Enter the public (external) server IP: 123.456.78.9
Install required packages
Now that the configuration has been completed, continue the installation by pressing y [Enter] Zpanel is now ready to perform the installation. Are you ready (y/n) y
The installation program will install all of the software required for basic hosting and email (Apache, MySQL, PHP, Postfix, etc.)
Note Password and usernames
After the installation program has installed all of the required software, it will display important passwords and usernames it randomly chose during the installation process.
** if you lose these values, you can always get them from your server by running the following command:
cat /root/passwords.txt
Once it has completed, a restart is required.
Restart your server now to complete the install (y/n)? y
Comments
So empty here ... leave a comment!