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
#!/bin/bash | |
sudo apt update | |
sudo apt install nginx | |
sudo ufw allow 'Nginx HTTP' | |
sudo ufw status | |
sudo apt install mysql-server | |
sudo mysql_secure_installation | |
sudo mysql | |
mysql -u root -p | |
sudo add-apt-repository universe |
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
#!/bin/bash | |
apt update && apt upgrade | |
sudo apt update && apt upgrade | |
apt install apache2 | |
sudo apt install apache2 | |
sudo systemctl status apache2 | |
sudo apt install mariadb-server mariadb-client | |
sudo mysql_secure_installation | |
sudo apt install php php-mysql | |
sudo vim /var/www/html/info.php |
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
#!/bin/bash | |
#Step-1: You have to install Erlang as prerequsite for Rabbitmq | |
wget -O- https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc | sudo apt-key add - | |
echo "deb https://packages.erlang-solutions.com/ubuntu bionic contrib" | sudo tee /etc/apt/sources.list.d/rabbitmq.list | |
sudo apt update | |
sudo apt -y install erlang | |
#Step 2: Add RabbitMQ Repository To Ubuntu 18.04 | |
wget -O- https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc | sudo apt-key add - | |
wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc | sudo apt-key add - |
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
#!/bin/bash | |
#Step-1: You have to install Erlang as prerequsite for Rabbitmq | |
wget -O- https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc | sudo apt-key add - | |
echo "deb https://packages.erlang-solutions.com/ubuntu bionic contrib" | sudo tee /etc/apt/sources.list.d/rabbitmq.list | |
sudo apt update | |
sudo apt -y install erlang | |
#Step 2: Add RabbitMQ Repository To Ubuntu 18.04 | |
wget -O- https://dl.bintray.com/rabbitmq/Keys/rabbitmq-release-signing-key.asc | sudo apt-key add - | |
wget -O- https://www.rabbitmq.com/rabbitmq-release-signing-key.asc | sudo apt-key add - |
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
#!/bin/bash | |
# step-1 : Install and Configuration | |
sudo apt update | |
sudo apt install redis-server | |
sudo nano /etc/redis/redis.conf | |
#The supervised directive is set to no by default. | |
#Since you are running Ubuntu, which uses the systemd init system, change this to systemd. (Supervised systemd) | |
sudo systemctl restart redis.service | |
#step-2 : Testing Redis |
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
#!/bin/bash | |
sudo apt update | |
wget https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.3.zip | |
sudo unzip ruby-2.5.3.zip | |
cd ruby-2.5.3 | |
sudo ./configure | |
sudo make | |
sudo make check | |
sudo make install | |
#to check ruby version |
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
#!/bin/bash | |
#Log in to netacad.com (or register first, it's free) | |
#Go to Resources->Download Packet Tracer | |
#Click the link for "64 Bit Download" under Linux Desktop Version 7.2 English | |
#Move the downloaded file to the folder of your choice and extract it. Note that sudo is required to avoid permission problems | |
sudo cd Download | |
sudo chmod +x PacketTracer-7.2.2-ubuntu-setup.run | |
sudo ./PacketTracer-7.2.2-ubuntu-setup.run | |
sudo wget http://ftp.debian.org/debian/pool/main/libp/libpng/libpng12-0_1.2.50-2+deb8u3_amd64.deb | |
sudo dpkg -i libpng12-0_1.2.50-2+deb8u3_amd64.deb |
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
#!/bin/bash | |
sudo apt update && sudo apt-get upgrade --fix-missing | |
sudo apt install build-essential checkinstall | |
sudo apt install ubuntu-restricted-extras | |
sudo add-apt-repository ppa:nilarimogard/webupd8 | |
sudo apt update | |
sudo apt install launchpad-getkeys | |
sudo launchpad-getkeys | |
sudo apt install kazam | |
sudo wget https://download.anydesk.com/linux/deb/anydesk_5.4.1-1_i386.deb |
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
#!/bin/bash | |
sudo apt update | |
sudo apt-get install apt-transport-https | |
udo apt-get upgrade | |
sudo apt install virtualbox virtualbox-ext-pack | |
wget https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 | |
chmod +x minikube-linux-amd64 | |
sudo mv minikube-linux-amd64 /usr/local/bin/minikube | |
minikube version | |
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - |
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
#!/bin/bash | |
sudo apt-get update -y | |
sudo apt-get upgrade -y | |
sudo apt-get install ntopng | |
sudo systemctl restart ntopng | |
sudo ntopng -h | |
sudo ufw enable | |
sudo ufw allow 3000 | |
firefox http://localhost:3000/ |
NewerOlder