-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |