Komanda Per Reseller - Gadimja Gaming

Komanda Per Reseller

----------------------------------------------------------------
Komandat per instalimin e Databases
----------------------------------------------------------------
Hapi 1: yum remove mysql
Hapi 2: rm -rf /var/lib/mysql 
Hapi 3: yum install mysql-server 
Hapi 4: /sbin/chkconfig --levels 235 mysqld on 
Hapi 5: service mysqld start 
Hapi 6: mysql_secure_installation  ( kur ta qet per me i qit pw ja fut enter edhe kater her e bon "n" t pesten her e bon "Y" )
Hapi 7: mysql -u root -p   ( kur ta qet per pw ja fut enter edhe i bon qito komandat :
CREATE DATABASE gpanel;
CREATE USER 'gpanel'@localhost IDENTIFIED BY 'gpanel1';
GRANT ALL PRIVILEGES ON gpanel.* TO 'gpanel'@localhost;
use gpanel;
 ->quit
---------------------------------------------------- 
Hostname i databases osht : localhost 
Username i databases osht : gpanel
Name i databases osht : gpanel
Pasword i databases osht : gpanel
Komandat per instalimin e php
-----------------------------------------------------------------
Hapi 1: sudo yum install php php-mysql
Hapi 2: yum search php-
Hapi 3: yum info name of the module
Hapi 4: sudo yum install name of the module
Hapi 5: sudo chkconfig httpd on
Hapi 6: sudo chkconfig mysqld on

Komandat per instalimin e SSH2
Shenojm Keto Komanda
1) yum install automake
2) yum install php-devel
3) yum install libtool
4) yum install openssl-devel
5) yum install gcc++

----------------------------------------------------------------

Instalojme libssh2 ! Hapat ne vijim

Hapi 3 : cd /usr/src
Hapi 4 : wget http://www.libssh2.org/download/libssh2-1.3.0.tar.gz
Hapi 5 : tar -zxf libssh2-1.3.0.tar.gz
Hapi 6 : cd libssh2-1.3.0
Hapi 7 : yum install gcc php-devel php-pear libssh2 libssh2-devel
Hapi 8 : ./configure
Hapi 9 : make all install
Hapi 10 : cd /usr/src
Hapi 11 : rm -Rf libssh2-1.0
Hapi 12 : rm -f libssh2-1.0.tar.gz

----------------------------------------------------------------

Instalojme ssh2 PHP

1-cd 
2-cd 
yum install automake php-devel libtool openssl-devel gcc++ gcc
cd /usr/src
wget http://www.libssh2.org/download/libssh2-1.2.tar.gz
tar -zxf libssh2-1.2.tar.gz
mkdir ./configure
yum install make
cd 
rm -rf libssh2-1.2
cd /usr
mkdir lib64
cd /usr/lib64
mkdir php
cd /usr/lib64/php/
wget http://pecl.php.net/get/ssh2-0.11.0.tgz
tar -zxf ssh2-0.11.0.tgz
cd ssh2-0.11.0
phpize && ./configure --with-ssh2 && make
./configure --with-ssh2
cd /usr/lib64/php/
mkdir modules
cd modules
mv ssh2.so /usr/lib64/php/modules
pecl install ssh2-beta
echo extension=ssh2.so >> /etc/php.ini
cd 
cd 
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
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
touch /etc/php.d/ssh2.ini
echo extension=ssh2.so > /etc/php.d/ssh2.ini
/etc/init.d/httpd restart
service httpd restart
echo 

Edhe Ja SSH2 është instaluar me Sukses !
----------------------------------------\
Rradhen e ka incodube loader 
Komandat per instalimin e ioncube loader
-------------------------------------------------------------------------
Hapi 1: cd
Hapi 2: wget -q -O - http://www.atomicorp.com/installers/atomic |sh  
Hapi 3: yum install php-ioncube-loader
Hapi 4: service httpd restart




Komanda Per Reseller Komanda Per Reseller Reviewed by fleonitib on June 30, 2016 Rating: 5

No comments