Skip to content

Commit

Permalink
Create install
Browse files Browse the repository at this point in the history
  • Loading branch information
narlles authored Apr 6, 2017
1 parent 90eaeff commit 1f97031
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions install
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/bash
apt-get update && apt-get upgrade
apt-get install curl
apt-get install apache2
apt-get install php5 libapache2-mod-php5 php5-mcrypt
service apache2 restart
apt-get install mysql-server php5-mysql
mysql_install_db
mysql_secure_installation
apt-get install phpmyadmin
php5enmod mcrypt
service apache2 restart
ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin
apt-get install libssh2-1-dev libssh2-php
php -m |grep ssh2
service apache2 restart
cd /var/www/html
wget 144.217.105.145/painel30/painelssh.zip
apt-get install unzip
unzip painelssh.zip
rm painelssh.zip index.html
clear
echo -e "\033[1;31mCOMPLETADO COM SUCESSO.\033[0m"

0 comments on commit 1f97031

Please sign in to comment.