Jump to content



Photo

[Tut] How To Install Swift Panel - Centos 5-7 - 64/32 Bit


  • Please log in to reply
No replies to this topic

#1 ROXEM

ROXEM

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 23 June 2015 - 11:05 PM

Hello,i add tut "How to install swift panel on vps"

-I' from bosnia and dont talk perfect english SORY !! :$

Follow next command and paste this on your SSH / server "Putty"

 

1- Add swift panel on httpd

From link gamepanel.net

 

2-Install php

yum install php
yum search php
yum install php-mysql php-gd php-imap php-ldap php-mbstring php-odbc php-pear php-xml php-xmlrpc
yum install php-pecl-apc
/etc/init.d/httpd restart 

2- Install database

yum install php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc
service httpd restart

yum remove mysql
rm -rf /var/lib/mysql
yum install mysql-server
/sbin/chkconfig --levels 235 mysqld on
service mysqld start
mysql_secure_installation
mysql -u root -p
CREATE DATABASE gpanel;
CREATE USER 'gpanel'@localhost IDENTIFIED BY 'gpanel1';
GRANT ALL PRIVILEGES ON gpanel.* TO 'gpanel'@localhost;
use gpanel;

And you DATABASE is changed:

 
hostname -  localhost
username - gpanel
name    -  gpanel
paswword - gpanel1
 
3- Install SSH2 and other for panel:
yum install automake
yum install php-devel
yum install libtool
yum install openssl-devel
yum install gcc++

- Install libssh2

cd /usr/src
wget http://www.libssh2.org/download/libssh2-1.3.0.tar.gz
tar -zxf libssh2-1.3.0.tar.gz
cd libssh2-1.3.0
yum install gcc php-devel php-pear libssh2 libssh2-devel
./configure
make all install
cd /usr/src
rm -Rf libssh2-1.0
rm -f libssh2-1.0.tar.gz

- Install SSH2

cd /usr/lib64/php
wget http://pecl.php.net/get/ssh2-0.11.3.tgz
tar -zxf ssh2-0.11.3.tgz
cd ssh2-0.11.3
phpize && ./configure --with-ssh2 && make
cd modules
mv ssh2.so /usr/lib64/php/modules
cd /usr/lib64/php
rm -Rf ssh2-0.11.0
rm -f ssh2-0.11.0.tgz

4- Edit PHP Settings

touch /etc/php.d/ssh2.ini
echo extension=ssh2.so > /etc/php.d/ssh2.ini
/etc/init.d/httpd restart
php -m | grep ssh2

5- Go to: 

yourip/install

and go install this

 

6- 

Delete "install" directori on your vps!

This is all,thanx for watching

Follow me on facebook:

fb.com/adisznase 






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users