Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Login as root!
- Update your System by the following code:
- Code:
- yum update
- Then disable Selinux and Firewall by this command:
- Code:
- sed -i 's|SELINUX=enforcing|SELINUX=disabled|' /etc/selinux/config
- then this,
- Code:
- setenforce 0
- and then this,
- Code:
- service iptables stop
- and finally this.
- Code:
- chkconfig iptables off
- Install EPEL Repository:
- If you are using centos 5, Then use these commands.
- Code:
- wget http://dl.fedoraproj...-5-4.noarch.rpm
- Code:
- rpm -Uvh epel-release-5-4.noarch.rpm
- Code:
- rm -f epel-release-5-4.noarch.rpm
- Code:
- sed -i "s/gpgcheck=./gpgcheck=0/g" /etc/yum.conf
- ^^(Disable the gpg key check is only needed at CentOS 5)
- For Centos 6, Use these commands.
- Code:
- wget http://dl.fedoraproj...-6-8.noarch.rpm
- Code:
- rpm -Uvh epel-release-6-8.noarch.rpm
- Code:
- rm -f epel-release-6-8.noarch.rpm
- Download ogp_panel-2756-1.noarch.rpm:
- Code:
- wget http://master.dl.sou...56-1.noarch.rpm
- Install the package and dependencies:
- Code:
- yum -y install ogp_panel-2756-1.noarch.rpm
- Then start both services, httpd and mysqld, and add them to the system startup:
- Code:
- service httpd restart
- Code:
- chkconfig --levels 235 httpd on
- Code:
- service mysqld restart
- Code:
- chkconfig --levels 235 mysqld on
- Now, Setup Mysql:
- Code:
- mysql_secure_installation
- Now,Open your web browser and load phpmyadmin :
- Code:
- http://[Your VPS IP]/phpmyadmin
- Once you loged in to PHPMyAdmin with your mysql's root login, click on privilegies and create an user and a database, and give privilegies on this database to the created user.
- Now open the main page for your VPS server:
- Code:
- http://[Your server IP]/
- Complete the installation process by using the user and database created on PHPMyAdmin, the host for MySQL is "localhost".
- Once your panel has been installed successfully, for security reasons, you must remove the installation script:
- Code:
- rm -f /var/www/html/install.php
- Good luck friends!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement