sudo apt-get install figlet
sudo touch /etc/update-motd.d/10-my-banner
sudo chmod +x /etc/update-motd.d/10-my-banner
10-my-banner.sh:
#!/bin/sh
Create GitHub repository in github and save the SSH repository url
Init git on server in code directory
git init
ssh-keygen -t rsa -b 4096 -C [email protected]
.pub
to repo-name.deploy.pem
sudo systemctl status amazon-ssm-agent
or sudo service amazon-ssm-agent status
sudo service ssh status
sudo apt-get install ssh
sudo vim /etc/ssh/sshd_config
PermitRootLogin no #Disable direct login from root
AllowUsers user1 user2 user3 #*Only* allow this users to connect
AllowTcpForwarding yes #Required to setup the tunnel, yes or commented out
PubkeyAuthentication yes #Enables public key authentication
Port 22 #Listening port of the server
In the case where you manually want to decorate a link with the linker parameter, i.e. the link is not a valid anchor link, or the final tracking page is accessed by user in a non direct way: File Download, Extension Installation, ect...
/**
* Returns the Google Analytics tracker linker parameter.
When setting these options consider the following:
sudo grep max_children /var/log/php?.?-fpm.log.1 /var/log/php?.?-fpm.log
sudo mkdir /etc/nginx/ssl
sudo openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout /etc/nginx/ssl/nginx.key -out /etc/nginx/ssl/nginx.crt
Country Name (2 letter code) [AU]: __
State or Province Name (full name) [Some-State]: __
Locality Name (eg, city) []: __
Organization Name (eg, company) [Internet Widgits Pty Ltd]: __
Organizational Unit Name (eg, section) []: __
###### development tools | |
sudo apt-get install build-essential python-dev git nodejs-legacy npm gnome-tweak-tool openjdk-8-jdk | |
### Python packages | |
sudo apt-get install python-pip python-virtualenv python-numpy python-matplotlib | |
### pip packages | |
pip install django flask django-widget-tweaks django-ckeditor beautifulsoup4 requests classifier SymPy ipython |