Prevent Dropbox being automatically added to the autostart on Ubuntu 16.04
dropbox autostart n
from
man dropbox
dropbox autostart n
from
man dropbox
apt-get -y install mysql-server mysql-client
mysql_secure_installation
apt-get -y install apache2
apt-get -y install php7.0 libapache2-mod-php7.0
systemctl restart apache2
apt-get -y install php7.0-mysql php7.0-curl php7.0-gd php7.0-intl php-pear php-imagick php7.0-imap php7.0-mcrypt php-memcache php7.0-pspell php7.0-recode php7.0-sqlite3 php7.0-tidy php7.0-xmlrpc php7.0-xsl php7.0-mbstring php-gettext
systemctl restart apache2
Enable the SSL website in apache
a2enmod ssl a2ensite default-ssl
systemctl restart apache2
Get a free SSL Certificate from Let’s Encrypt
apt-get -y install python-letsencrypt-apache
Before we can start to create the SSL cert, set the domain name in the vhost configuration file. Open the default vhost file with an editor:
nano /etc/apache2/sites-available/000-default.conf
and add the line:
ServerName example.com
letsencrypt --apache -d example.com
Let’s encrypt Auto Renewal
crontab -e
0 1 * * * /usr/bin/letsencrypt renew &> /dev/null
References
https://www.howtoforge.com/tutorial/install-apache-with-php-and-mysql-on-ubuntu-16-04-lamp/
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install -y nodejs
References
https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions
sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java9-installer
if you want to set Oracle Java 9 as default
sudo apt-get install oracle-java9-set-default
If you don’t want to make Oracle Java 9 default
sudo apt-get install --no-install-recommends oracle-java9-installer
References
http://www.webupd8.org/2015/02/install-oracle-java-9-in-ubuntu-linux.html
sudo apt-get install software-properties-common -y sudo add-apt-repository ppa:max-c-lv/shadowsocks-libev sudo apt-get update sudo apt install shadowsocks-libev
Configure and start the service
# Edit the configuration file sudo vim /etc/shadowsocks-libev/config.json # Edit the default configuration for debian sudo vim /etc/default/shadowsocks-libev # Start the service sudo /etc/init.d/shadowsocks-libev start # for sysvinit, or sudo systemctl start shadowsocks-libev # for systemd sudo systemctl enable shadowsocks-libev
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg sudo mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg sudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-ubuntu-xenial-prod xenial main" > /etc/apt/sources.list.d/dotnetdev.list'
sudo apt-get update sudo apt-get install dotnet-sdk-2.0.0
References
https://github.com/dotnet/core/blob/master/release-notes/download-archives/2.0.0-download.md
sudo add-apt-repository ppa:mosquitto-dev/mosquitto-ppa sudo apt-get update
References
https://launchpad.net/~mosquitto-dev/+archive/ubuntu/mosquitto-ppa
tar xvf go1.6.linux-amd64.tar.gz
You should now have a directory called go in your home directory
sudo chown -R root:root ./go sudo mv go /usr/local
sudo nano ~/.profile
export GOPATH=$HOME/go export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
source ~/.profile
Windows
Set GOROOT, GOPATH, GOBIN System Variable
References
https://www.digitalocean.com/community/tutorials/how-to-install-go-1-6-on-ubuntu-16-04
http://www.wadewegner.com/2014/12/easy-go-programming-setup-for-windows/
https://stackoverflow.com/questions/25216765/gobin-not-set-cannot-run-go-install
sudo add-apt-repository ppa:wireshark-dev/stable sudo apt-get update
References
https://launchpad.net/~wireshark-dev/+archive/ubuntu/stable