Last active
June 4, 2020 13:09
-
-
Save fongreecss/c8d71c2040d04da98355d0c63f8c7b67 to your computer and use it in GitHub Desktop.
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
sudo apt update && sudo apt upgrade -y | |
sudo apt install -y build-essential gpp g++ wget curl oathtool youtube-dl | |
sudo apt install -y unace rar unrar unzip p7zip-rar p7zip sharutils uudeview mpack arj cabextract lzip lunzip file-roller | |
sudo apt install -y tidy ubuntu-make build-essential zlib1g-dev libssl-dev libreadline-dev libyaml-dev | |
sudo apt install -y libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev libffi-dev | |
#INSTALL RUBY | |
sudo apt install ruby-full -y | |
sudo gem update --system | |
sudo su -c "gem install sass" | |
sudo gem install compass | |
#INSTALL APACHE | |
sudo apt install -y apache2 | |
#sudo ufw app list | |
#sudo ufw allow in "Apache" | |
#edit /etc/profile.d/wsl-integration.sh replace $HOME with /home/username | |
#INSTALL MYSQL SERVER | |
sudo apt install mysql-server | |
sudo service apache2 start | |
sudo service mysql start | |
sudo mysql_secure_installation | |
#ALTER USER USER() IDENTIFIED BY 'newpassword'; | |
#INSTALL PHP | |
sudo apt install -y php libapache2-mod-php php-mysql php-gd php-json php-curl php-xml php-mbstring | |
#ENABLE MODS | |
sudo a2enmod ssl | |
sudo a2enmod rewrite | |
sudo phpenmod mbstring | |
#INSTAL PHPMYADMIN | |
sudo apt-get install -y phpmyadmin | |
#edit: /etc/apache2/apache2.conf | |
#add this line at the end: Include /etc/phpmyadmin/apache.conf | |
#INSTAL NVM - NODE VERSIONING | |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash | |
#restart terminal | |
nvm install node | |
nvm install-latest-npm | |
#INSTALL ZZS | |
sudo apt install zsh | |
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" | |
#INSTALL WP-CLI | |
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | |
php wp-cli.phar --info | |
chmod +x wp-cli.phar | |
sudo mv wp-cli.phar /usr/local/bin/wp | |
#wp --info | |
sudo apt-get install octave |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
update upgrade