Thursday, January 24, 2019

Ubuntu desktop setup for DevOps


1.  Update and Upgrade

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade



2.  Install windows remote desktop
remmina #This one come by default. if it's not there then you can install it.


3.  Install Atom Editor

Install Atom Editor.

Run below command in a sequence which will do:
a) updating the packages
b) import the Atom Editor GPG key
c) install the latest version of Atom

sudo apt update
sudo apt install software-properties-common apt-transport-https wget
wget -q https://packagecloud.io/AtomEditor/atom/gpgkey -O- | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main"



4.  Enable ssh in Ubuntu

Run below commands it will enable ssh login from remote host

sudo apt-get install openssh-server
sudo service ssh status
sudo service ssh restart



5.  Install vagrant
* vagrant help to create vm's and it download installer.

sudo apt install vagrant


6.  Install Oracle Linux 7 with vagrant


cat << EOF >> /tmp/olu6.sh
vagrant box add --name ol76 https://yum.oracle.com/boxes/oraclelinux/ol76/ol76.box
vagrant init ol76
vagrant up
EOF

chmod +x /tmp/olu6.sh
sh /tmp/olu6.sh


apt-key warning when sudo apt update run

Issue: apt-key warning when sudo apt update run Update below file: cat /etc/apt/sources.list.d/download_docker_com_linux_ubuntu.list ...