This file contains hidden or 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
sudo apt update && sudo apt-get upgrade --fix-missing | |
sudo apt install build-essential checkinstall | |
sudo apt install ubuntu-restricted-extras | |
sudo apt install software-properties-common | |
sudo add-apt-repository ppa:nilarimogard/webupd8 |
This file contains hidden or 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
sudo apt update && sudo apt-get upgrade --fix-missing | |
sudo apt install build-essential checkinstall | |
sudo apt install ubuntu-restricted-extras | |
sudo apt install software-properties-common | |
sudo add-apt-repository ppa:nilarimogard/webupd8 |
This file contains hidden or 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
sudo apt update && sudo apt-get upgrade --fix-missing | |
sudo apt install build-essential checkinstall | |
sudo apt install ubuntu-restricted-extras | |
sudo apt install software-properties-common | |
sudo add-apt-repository ppa:nilarimogard/webupd8 |
This file contains hidden or 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
#!/bin/bash | |
# This will remove Apache | |
sudo service apache2 stop | |
sudo apt-get purge apache2 apache2-utils apache2.2-bin apache2-common | |
sudo apt remove apache2.* | |
sudo apt-get autoremove | |
whereis apache2 | |
sudo rm -rf /etc/apache2 |
This file contains hidden or 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
#!/bin/bash | |
# This will remove Apache | |
sudo service apache2 stop | |
sudo apt-get purge apache2 apache2-utils apache2.2-bin | |
sudo apt remove apache2.* | |
sudo apt-get autoremove | |
whereis apache2 | |
sudo rm -rf /etc/apache2 |
This file contains hidden or 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
# Install PHP & check version | |
apt install software-properties-common | |
add-apt-repository ppa:ondrej/apache2 | |
apt update -y | |
apt upgrade -y | |
# For php7.3 (use any) | |
apt install -y php7.3 | |
apt install libapache2-mod-php7.3 php7.3 unzip php7.3-xml php7.3-mysql php7.3-imap php7.3-zip php7.3-intl php7.3-curl ntp -y |
This file contains hidden or 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
apt install mysql-server | |
mysql_secure_installation | |
mysql --version | |
service mysql start | |
service mysql enable | |
service mysql restart | |
service mysql status | |
ufw allow from any to any port 3306 proto tcp | |
systemctl restart mysql | |
systemctl enable mysql |
This file contains hidden or 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
#!/bin/bash | |
#Install Apache2 | |
sudo apt update | |
sudo apt install apache2 | |
sudo systemctl start apache2.service | |
sudo systemctl enable apache2.service | |
sudo systemctl restart apache2.service |
This file contains hidden or 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
#!/bin/sh | |
apt update -y | |
apt-get upgrade -y | |
apt install build-essential checkinstall | |
apt install ubuntu-restricted-extras | |
apt install software-properties-common | |
apt upgrade -o APT::Get::Show-Upgraded=true | |
apt-show-versions | grep upgradeable | |
apt install apt-show-versions |
This file contains hidden or 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
#!/bin/sh | |
# This command will update & upgrade your system | |
sudo apt update && sudo apt-get upgrade --fix-missing | |
# Install the package build-essential for making the package and checkinstall for putting it into your package manager | |
sudo apt -y install build-essential checkinstall | |
# Install Ubuntu Restricted Extras | |
sudo apt -y install ubuntu-restricted-extras |
OlderNewer