Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root php
- Hapi 1. yum install php
- Hapi 2. yum search php
- Hapi 3. yum install php-mysql php-gd php-imap php-ldap php-mbstring php-odbc php-pear php-xml php-xmlrpc
- Hapi 4. yum install php-pecl-apc
- Hapi 5. /etc/init.d/httpd restart
- DOWNLOAD iocuben
- Hapi 6. wget -q -O - http://www.atomicorp.com/installers/atomic |sh
- Hapi 7. service httpd restart
- ----------------------------------------------------------------------------------------------------------------------
- Komandat per instalimin e SSH2 ;) By:kevin
- ----------------------------------------------------------------
- Hapi 1 : Kyqemi ne r00t
- Hapi 2 : Bejme keto komanda 1 nga 1 - :
- 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
- Hapi 13 : cd /usr/lib64/php
- Hapi 14 : wget http://pecl.php.net/get/ssh2-0.11.3.tgz
- Hapi 15 : tar -zxf ssh2-0.11.3.tgz
- Hapi 16 : cd ssh2-0.11.3
- Hapi 17 : phpize && ./configure --with-ssh2 && make
- Hapi 18 : cd modules
- Hapi 19 : mv ssh2.so /usr/lib64/php/modules
- Hapi 20 : cd /usr/lib64/php
- Hapi 21 : rm -Rf ssh2-0.11.0
- Hapi 22 : rm -f ssh2-0.11.0.tgz
- ----------------------------------------------------------------
- Edit PHP settings
- Hapi 23 : touch /etc/php.d/ssh2.ini
- Hapi 24 : echo extension=ssh2.so > /etc/php.d/ssh2.ini
- Hapi 25 : /etc/init.d/httpd restart
- Hapi 26 : php -m | grep ssh2
- ----------------------------------------------------------------------------------
- DataBase Install
- 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
- Hapi 7. mysql -u root -p
- Hapi 8. CREATE DATABASE gpanel;
- Hapi 9. CREATE USER 'gpanel'@localhost IDENTIFIED BY 'gpanel1';
- Hapi 10. GRANT ALL PRIVILEGES ON gpanel.* TO 'gpanel'@localhost;
- Hapi 11. use gpanel;
- Hapi 12. hostname - localhost
- Hapi 13. username - gpanel
- Hapi 14. name - gpanel
- Hapi 15. paswword - gpanel1
- Po PAtet ndoni gje te paqart Kontakto me kevin : www.facebook.com/kevin.ponari1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement