Advertisement
ProB1nche

Si te Qelim Reseller me R00T +SSH2

Nov 27th, 2014
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.12 KB | None | 0 0
  1. Komandat per instalimin e Databases
  2. ----------------------------------------------------------------
  3. Hapi 1: yum remove mysql
  4. Hapi 2: rm -rf /var/lib/mysql
  5. Hapi 3: yum install mysql-server
  6. Hapi 4: /sbin/chkconfig --levels 235 mysqld on
  7. Hapi 5: service mysqld start
  8. 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" )
  9. Hapi 7: mysql -u root -p ( kur ta qet per pw ja fut enter edhe i bon qito komandat :
  10. CREATE DATABASE podujevahosting;
  11. CREATE USER 'podujevahosting'@localhost IDENTIFIED BY 'podujevahosting1';
  12. GRANT ALL PRIVILEGES ON podujevahosting.* TO 'podujevahosting'@localhost;
  13. use podujevahosting;
  14. ->quit
  15. ----------------------------------------------------
  16. Hostname i databases osht : localhost
  17. Username i databases osht : podujevahosting
  18. Name i databases osht : podujevahosting
  19. Pasword i databases osht : podujevahosting1
  20. Komandat per instalimin e php
  21. -----------------------------------------------------------------
  22. Hapi 1: sudo yum install php php-mysql
  23. Hapi 2: yum search php-
  24. Hapi 3: yum info name of the module
  25. Hapi 4: sudo yum install name of the module
  26. Hapi 5: sudo chkconfig httpd on
  27. Hapi 6: sudo chkconfig mysqld on
  28.  
  29. Komandat per instalimin e SSH2
  30. Shenojm Keto Komanda
  31. 1) yum install automake
  32. 2) yum install php-devel
  33. 3) yum install libtool
  34. 4) yum install openssl-devel
  35. 5) yum install gcc++
  36.  
  37. ----------------------------------------------------------------
  38.  
  39. Instalojme libssh2 ! Hapat ne vijim
  40.  
  41. Hapi 3 : cd /usr/src
  42. Hapi 4 : wget http://www.libssh2.org/download/libssh2-1.3.0.tar.gz
  43. Hapi 5 : tar -zxf libssh2-1.3.0.tar.gz
  44. Hapi 6 : cd libssh2-1.3.0
  45. Hapi 7 : yum install gcc php-devel php-pear libssh2 libssh2-devel
  46. Hapi 8 : ./configure
  47. Hapi 9 : make all install
  48. Hapi 10 : cd /usr/src
  49. Hapi 11 : rm -Rf libssh2-1.0
  50. Hapi 12 : rm -f libssh2-1.0.tar.gz
  51.  
  52. ----------------------------------------------------------------
  53.  
  54. Instalojme ssh2 PHP
  55.  
  56. 1-cd ..
  57. 2-cd ..
  58. 3-cd ..
  59. 4-cd ..
  60. 5-cd ..
  61. 6-cd ..
  62. 7-cd ..
  63. 8-cd ..
  64. 9-cd ..
  65. 10-cd ..
  66. yum install automake php-devel libtool openssl-devel gcc++ gcc
  67. cd /usr/src
  68. wget http://www.libssh2.org/download/libssh2-1.2.tar.gz
  69. tar -zxf libssh2-1.2.tar.gz
  70. ./configure
  71. yum install make
  72. cd ..
  73. rm -rf libssh2-1.2
  74. cd /usr
  75. mkdir lib64
  76. cd /usr/lib64
  77. mkdir php
  78. cd /usr/lib64/php/
  79. wget http://pecl.php.net/get/ssh2-0.11.0.tgz
  80. tar -zxf ssh2-0.11.0.tgz
  81. cd ssh2-0.11.0
  82. phpize && ./configure --with-ssh2 && make
  83. ./configure --with-ssh2
  84. cd /usr/lib64/php/
  85. mkdir modules
  86. cd modules
  87. mv ssh2.so /usr/lib64/php/modules
  88. pecl install ssh2-beta
  89. echo extension=ssh2.so >> /etc/php.ini
  90. cd ..
  91. cd ..
  92. cd ..
  93. cd ..
  94. cd ..
  95. cd ..
  96. cd ..
  97. cd ..
  98. cd ..
  99. cd ..
  100. cd /usr/src
  101. wget http://www.libssh2.org/download/libssh2-1.3.0.tar.gz
  102. tar -zxf libssh2-1.3.0.tar.gz
  103. cd libssh2-1.3.0
  104. yum install gcc php-devel php-pear libssh2 libssh2-devel
  105. ./configure
  106. make all install
  107. cd /usr/src
  108. rm -Rf libssh2-1.0
  109. rm -f libssh2-1.0.tar.gz
  110. cd /usr/lib64/php
  111. wget http://pecl.php.net/get/ssh2-0.11.3.tgz
  112. tar -zxf ssh2-0.11.3.tgz
  113. cd ssh2-0.11.3
  114. phpize && ./configure --with-ssh2 && make
  115. cd modules
  116. mv ssh2.so /usr/lib64/php/modules
  117. cd /usr/lib64/php
  118. rm -Rf ssh2-0.11.0
  119. rm -f ssh2-0.11.0.tgz
  120. touch /etc/php.d/ssh2.ini
  121. echo extension=ssh2.so > /etc/php.d/ssh2.ini
  122. /etc/init.d/httpd restart
  123. service httpd restart
  124. echo
  125.  
  126.  
  127. Rradhen e ka incodube loader
  128. Komandat per instalimin e ioncube loader
  129. -------------------------------------------------------------------------
  130. Hapi 1: cd
  131. Hapi 2: wget -q -O - http://www.atomicorp.com/installers/atomic |sh
  132. Hapi 3: yum install php-ioncube-loader
  133. Hapi 4: service httpd restart
  134. -------------------------------------------------------------------------
  135. Edit PHP settings
  136.  
  137. Hapi 23 : touch /etc/php.d/ssh2.ini
  138. Hapi 24 : echo extension=ssh2.so > /etc/php.d/ssh2.ini
  139. Hapi 25 : /etc/init.d/httpd restart
  140. Hapi 26 : php -m | grep ssh2
  141. --------------------------------------------------------------------------------
  142.  
  143. /---------------------------------------
  144. Edhe Ja SSH2 eshte instaluar me Sukses !
  145. ----------------------------------------\
  146.  
  147. --------------------------------------------------------------------------------
  148. KTO POSHT JON PER FTP PO UNE FTP SJOM KA JA INSTALOJ IHER TASH SHKOJM FILLEZILLA
  149. --------------------------------------------------------------------------------
  150.  
  151. ja Komanda Per Ftp :) : ~>
  152. ---
  153. yum -y install vsftpd
  154. /etc/rc.d/init.d/vsftpd start
  155. --
  156. Ftp u Instalua Me Sukses :)
  157. Tani e kan rradhen adonsat :)
  158.  
  159. yum install screen vsftpd ftp unzip ld-linux.so.2 -y && mkdir -p /game/public && cd /game/public && wget panel.podujeva-hosting.info/files.zip && unzip files.zip && rm -rf files.zip && chmod +x hlds_run
  160. chkconfig vsftpd on
  161.  
  162.  
  163. -----------------------------------------------------------------------------------------------
  164. ja Dhe Addonsat u instaluan Me Sukses :)
  165. Prisni 3-4 ore deri sa adonsat t behen gati per tu instaluar n srw e per te lozur :)
  166. Tani Je i Afte Te Instalosh Kto Komanda n R00T :)
  167. -----------------------------------------------------------------------------------------------
  168. Conntact ne Facebook: www.facebook.com/Proffesional.ALbinche
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement