https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04
Yearly Archives: 2016
Installing VMware Tools in an Ubuntu virtual machine
https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1022525
or better:
https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2073803
sudo apt install open-vm-tools sudo apt install open-vm-tools-desktop
Ubuntu updates via command line
Update:
sudo apt-get update # Fetches the list of available updates
sudo apt-get upgrade # Strictly upgrades the current packages
sudo apt-get dist-upgrade # Installs updates (new ones)
Clean up the system from old packages:
sudo apt-get update && sudo apt-get autoclean && sudo apt-get clean && sudo apt-get autoremove
Check the Ubuntu version:
lsb_release -a
Force Apt-Get to IPv4 or IPv6 on Ubuntu or Debian
You can force IPv4 with:
apt-get -o Acquire::ForceIPv4=true update
or IPv6:
apt-get -o Acquire::ForceIPv6=true update
To make this persistent,check this post out:
https://www.vultr.com/docs/force-apt-get-to-ipv4-or-ipv6-on-ubuntu-or-debian
Ubuntu 16.04 – Mutiny Desktop layout first impressions
Building Visual Studio Code on a Raspberry Pi 3
http://www.hanselman.com/blog/BuildingVisualStudioCodeOnARaspberryPi3.aspx
How to install Mono on Ubuntu
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list sudo apt-get update sudo apt-get install mono-runtime
How to install .Net Core on Ubuntu 16.04
Add the dotnet apt-get feed
In order to install .NET Core on Ubuntu, you need to first set up the apt-get feed that hosts the package you need.
sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/dotnet-release/ xenial main" > /etc/apt/sources.list.d/dotnetdev.list' sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893 sudo apt-get update
Install .NET Core SDK
Before you start, please remove any previous versions of .NET Core from your system by using this script.
sudo apt-get install dotnet-dev-1.0.0-preview2-003121
Initialize some code
Let’s initialize a sample Hello World application!
mkdir hwapp cd hwapp dotnet new
Run the app
The first command will restore the packages specified in the project.json file, and the second command will run the actual sample:
dotnet restore dotnet run
And you’re ready!
You now have .NET core running on your machine!
Source: .Net Core on Ubuntu
Authentic Louisiana Red Beans and Rice Gumbo
Products for the gumbo
- 1 pound dry kidney beans
- 1/4 cup olive oil or sunflower
- 1 large onion, chopped
- 1 green bell pepper, chopped
- 2 tablespoons minced garlic
- 2 stalks celery, chopped (optional)
- 8 cups water
- 2 bay leaves
- 1 teaspoon Cajun seasoning
- 1 pound andouille sausage, sliced
- 1 tablespoon salt
Products for the rice
- 2 cups long grain white rice
- 4 cups water
Preparation of the gumbo
Leave the red beans overnight submerged in a pan filled with water and a tablespoon of salt.
On the next day remove the water and pour a new fresh water in the pan. Heat until it reaches the boiling point.Remove from the stove and discard of the water. Move the bean to a cooker pressure.
Add 8 cups of water. Add one chopped onion . Add the cooking oil (sunflower or olive oil). Place the lid and make sure it is sealed. Boil for another hour after reaching the boiling point (you will hear hissing from the air trying to escape from the pressure cooker).
Turn off the cooking stove and wait for the steam to completely escape from the pressure cooker. You can speed the process by opening the valve on the lid. Once the steam is all gone open the lid and add the sausage, sliced in circles not thicker than 3-4 mm. Add the chopped green bell pepper. If you have celery, chopped it and add it too. Add the bay leaves.
Close the lid (but do not seal it) and boil for another 20 minutes.
Open the lid and add the mined garlic and the Cajun seasoning. Boil for another 5 minutes and then turn of the stove.
Preparation of the rice
Wash the rice with cold water and put it in a pod and add 4 cups of water. Put the lid on and boil for 20 minutes after reaching the boiling point. Boil using a low heat.
Turn the cooking stove off, open the lid and add 2 tablespoons of butter. Stir it until the butter melts completely.