Guest User

Swiftpanel installation

a guest
Mar 29th, 2011
1,355
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // Dependencies
  2.  
  3. sudo apt-get install automake libtool openssl gcc g++ php5-dev  php5 apache2 phpmyadmin curl libcurl3 libcurl3-dev php5-curl php5-mcrypt re2c gawk
  4.  
  5.  
  6. // SSHLib
  7.  
  8. wget http://www.libssh2.org/download/libssh2-1.2.7.tar.gz
  9. tar -xvzf libssh2-1.2.7.tar.gz
  10. ./configure
  11. make all install
  12.  
  13.  
  14. // SSH Extension
  15. wget http://pecl.php.net/get/ssh2-0.11.2.tgz
  16. tar -xvzf ssh2-0.11.2.tgz
  17. cd ssh2-0.11.2
  18. phpize && ./configure --with-ssh2 && make
  19. cd modules
  20. mv ssh2.so /usr/lib/php5/20090626+lfs
  21.  
  22.  
  23. // PHP.ini
  24.  
  25. vi /etc/php5/cli/php.ini
  26.     &
  27. vi /etc/php5/apache2/php.ini
  28.     >> ADD extension=ssh2.so
  29.  
  30.  
  31. // IonCube
  32.  
  33. wget http://downloads2.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz
  34. tar -xvzf ioncube_loaders_lin_x86.tar.gz
  35. cd ioncube/
  36. cp -r *.so /usr/lib/php5/20090626+lfs
  37.  
  38.  
  39. // Restart apache
  40. /etc/init.d/apache2 restart
RAW Paste Data