-
Notifications
You must be signed in to change notification settings - Fork 1
Hosting
2022-02-14 Signed up for a free year of AWS EC2.
https://www.digitalocean.com/community/tutorials/additional-recommended-steps-for-new-centos-7-servers
chmod 400 ~/Documents/AWS/Key_AWS_EC2_20220214.pem ssh -i ~/Documents/AWS/Key_AWS_EC2_20220214.pem [email protected]
scp -i ~/Documents/AWS/Key_AWS_EC2_20220214.pem /path/my-file.txt [email protected]:path/
#sudo dd if=/dev/zero of=/swapfile bs=128M count=32 #sudo chmod 600 /swapfile #sudo mkswap /swapfile #sudo swapon /swapfile #sudo swapon -s #sudo vi /etc/fstab #sudo swapoff -a
#sudo vi /etc/fstab
sudo apt update sudo apt upgrade
sudo apt install -y apache2 sudo systemctl start apache2.service sudo systemctl enable apache2.service sudo systemctl status apache2
curl -4 icanhazip.com
sudo apt install -y python3
cd /tmp curl -O https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh bash Anaconda3-2021.11-Linux-x86_64.sh source ~/.bashrc conda update conda
conda install -c conda-forge vadersentiment
sudo apt upgrade postgresql
sudo adduser dashboard sudo su - dashboard cd ~ mkdir .ssh chmod 700 .ssh touch .ssh/authorized_keys chmod 600 .ssh/authorized_keys id exit