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-get install openssh-server | |
sudo service ssh status | |
sudo nano /etc/ssh/sshd_config | |
sudo service ssh restart | |
sudo service ssh status | |
#To see if existing SSH keys are present | |
ls -al ~/.ssh | |
#Generate a new SSH key |
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
#Install samba | |
sudo apt install samba | |
#Verify SAMBA installation | |
sudo systemctl status nmbd | |
#create a Samba directory | |
sudo mkdir /samba | |
##Configuring Samba Shares |
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
#Update the system | |
sudo apt update | |
#Upgrade the system | |
sudo apt upgrade | |
#Install Required Packages | |
sudo apt install build-essential linux-headers-generic | |
#Download VMware Workstation Player |
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
#Update the system and install filezilla and vsftpd | |
sudo apt-get update | |
sudo apt install filezilla | |
sudo apt-get install vsftpd | |
#Copy the original configuration file as a backup | |
sudo cp /etc/vsftpd.conf /etc/vsftpd.conf.orig | |
#Check and enable firewall | |
sudo ufw status |
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
##Install NGINX | |
#Update the system | |
sudo apt update | |
#Install nginx | |
sudo apt install nginx | |
#Allow connections to Nginx on firewall | |
sudo ufw allow 'Nginx HTTP' |
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
##Install NGINX | |
#Update the system | |
sudo apt update | |
#Install nginx | |
sudo apt install nginx | |
#Allow connections to Nginx on firewall | |
sudo ufw allow 'Nginx HTTP' |
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
##Install the Apache web server | |
sudo apt-get install apache2 -y | |
#Start and enable Apache to start automatically upon server reboot | |
sudo systemctl start apache2 | |
sudo systemctl enable apache2 | |
#Check Apache server is up and running | |
systemctl status apache2 |
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
##Install Erlang/OTP | |
#Import Erlang GPG Key | |
wget -O- https://packages.erlang-solutions.com/ubuntu/erlang_solutions.asc | sudo apt-key add - | |
#Add the Erlang Repository Ubuntu 18.04 system | |
echo "deb https://packages.erlang-solutions.com/ubuntu bionic contrib" | sudo tee /etc/apt/sources.list.d/rabbitmq.list | |
#Update your system package list and install Erlang | |
sudo apt update | |
sudo apt -y install erlang |
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
#Update the system | |
sudo apt-get update | |
#Install redis | |
sudo apt-get install redis-server | |
#Modify redis.conf file | |
sudo nano /etc/redis/redis.conf | |
#Enable supervised to systemd to do so uncomment the line #supervised systemd |
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
#Download Ruby | |
wget https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.3.zip | |
#Change directory to where to install | |
cd / | |
#create a directory | |
sudo mkdir ruby | |
#back to home | |
cd / | |
#Unzip ruby to the directory 'ruby' |