Grand Host Tutorials

Free Of Cost Tutorials

Like Us

LightBlog

Tuesday, 25 April 2017

Install Swift Panel On Vps CentOS 6/7



Hello Guys Today i am going to show you how to make or install swift panel On Linux Centos :) this is my first tutorial of installing Game panel. I make GP On my own Vps and i used this tutorial.
Just follow these steps and donot try to paste more than 1 step at once...



STEP 1 - sudo yum install httpd
STEP 2 - sudo service httpd start
STEP 3 - service iptables stop

Step Two—Install MySQL

STEP 1 - yum install mysql-server
STEP 2 - /sbin/chkconfig --levels 235 mysqld on
STEP 3 - service mysqld start
STEP 4 - mysql_secure_installation
STEP 5 - press ENTER
STEP 6 - Set Root Password(when it ask)
STEP 7 - Remove anonymous users?(when it ask) [Y/n] y
STEP 8 - Disallow root login remotely?(when it ask)[Y/n] n
STEP 9 - Remove test database and access to it?(when it ask) [Y/n] y
STEP 10 - Reload privilege tables now?(when it ask) [Y/n] y
STEP 11 - mysql -u root -p (then login with ur pw that u set)
STEP 12 - CREATE DATABASE gpanel;
STEP 13 - CREATE USER 'gpanel'@localhost IDENTIFIED BY 'gpanel';
STEP 14 - GRANT ALL PRIVILEGES ON gpanel.* TO 'gpanel'@localhost;
STEP 15 - use gpanel;
STEP 16 - exit

Step Three—Install PHP

STEP 1 - yum install php
STEP 2 - yum search php
STEP 3 - yum install php-mysql php-gd php-imap php-ldap php-mbstring php-odbc php-pear php-xml php-xmlrpc
STEP 4 - yum install php-pecl-apc
STEP 5 - /etc/init.d/httpd restart
STEP 6 - service httpd restart

Step Four—Install Ioncube Loader

STEP 1 - wget -q -O - http://www.atomicorp.com/installers/atomic |sh
STEP 2 - yum install php-ioncube-loader
STEP 3 - service httpd restart

Step Five—Setup FTP Server

STEP 1 - yum install -y vsftpd
STEP 2 - service vsftpd start
STEP 3 - chkconfig vsftpd on
STEP 4 - vi /etc/vsftpd/vsftpd.conf (then a file will be opened in console so edit they following things :-

Press INSERT in your keyborad to start editing
anonymous_enable=NO
ascii_upload_enable=YES
ascii_download_enable=YES
use_localtime=YES(add this like at last)
Press ESC in ur keyboard to stop editing
Press [Shift+;] in ur keyborad then write "wq"[without ""] to save and exit

STEP 5 - service vsftpd restart
STEP 6 - chmod -R 777 /home

Step Six—Install SSH2

STEP 1 - yum install automake
STEP 2 - yum install php-devel
STEP 3 - yum install libtool
STEP 4 - yum install openssl-devel
STEP 5 - yum install gcc-c++
STEP 6 - cd /usr/src
STEP 7 - wget http://www.libssh2.org/download/libssh2-1.3.0.tar.gz
STEP 8 - tar -zxf libssh2-1.3.0.tar.gz
STEP 9 - cd libssh2-1.3.0
STEP 10 - yum install gcc php-devel php-pear libssh2 libssh2-devel
STEP 11 - ./configure
STEP 12 - make all install
STEP 13 - cd /usr/src
STEP 14 - rm -rf libssh2-1.3.0
STEP 15 - rm -rf libssh2-1.3.0.tar.gz
STEP 16 - cd /usr/lib64/php
STEP 17 - wget http://pecl.php.net/get/ssh2-0.11.3.tgz
STEP 18 - tar -zxf ssh2-0.11.3.tgz
STEP 19 - cd ssh2-0.11.3
STEP 20 - phpize && ./configure --with-ssh2 && make
STEP 21 - cd modules
STEP 22 - mv ssh2.so /usr/lib64/php/modules
STEP 23 - cd /usr/lib64/php
STEP 24 - rm -rf ssh2-0.11.3.tgz
STEP 25 - rm -rf ssh2-0.11.3
STEP 26 - touch /etc/php.d/ssh2.ini
STEP 27 - echo extension=ssh2.so > /etc/php.d/ssh2.ini
STEP 28 - /etc/init.d/httpd restart
STEP 29 - php -m | grep ssh2

Step Seven—Install CS 1.6 and CSCZ

STEP 1 - cd /root
STEP 2 - yum install vsftpd screen nano unzip ld-linux.so.2 -y
STEP 3 - mkdir -p /game/public
STEP 4 - cd /game/public
STEP 5 - yum install glibc.i686 libstdc++.i686
STEP 6 - wget http://cdn01.counterstrike.com.pk/web/files/hlds4linux_cspak.zip
STEP 7 - unzip hlds4linux_cspak.zip
STEP 8 - cd /root

Step Eight—Download and Setup Swift Panel

STEP 1 - cd /var/www/html
STEP 2 - wget 'http://www.gamepanel.net/Swift_Panel_v1.6.1(nolicense).zip'
STEP 3 - unzip 'Swift_Panel_v1.6.1(nolicense).zip'
STEP 4 - rm -rf 'Swift_Panel_v1.6.1(nolicense).zip'
STEP 4.11 - cd Swift_Panel_v1.6.1\(nolicense\)
STEP 4.1 - cp -avr /var/www/html/Swift_Panel_v1.6.1\(nolicense\)/upload_me/* /var/www/html/
STEP 4.2 - cd /var/www/html
STEP 5 - chmod -R 777 templates_c
STEP 6 - Now ur open root ip address with your browser with /install. eg. Open 137.53.25.76/install
STEP 7 - Follow the steps and at last it will show u admin Id and Password
STEP 8 - rm -rf install
STEP 9 - Now login Admin Account and open Manage Games
STEP 10 - Open Counter Strike 1.6
STEP 11 - Change Max Fps to 1024 and Pingboost to 2
STEP 12 - Change Install Directiry to /game/public and remove "-autoupdate" line from start command
STEP 13 - Now open Counter Strike-Condition Zero
STEP 14 - Change Max Fps to 1024 and Pingboost to 2 and map to de_dust2_cz
STEP 15 - Change Install Directiry to /game/public/hlds4linux_cspak and remove "-autoupdate" line from start command
STEP 16 - Click and add Box with your root login details.

No comments:

Post a Comment

Popular

Recent

Comments