DevOps Roadmap – 2019


Road to become a DevOps Engineer

devops.png

 

source: https://github.com/kamranahmedse/developer-roadmap#devops-roadmap

How to Connect AWS Server from Desktop


Enhanced terminal for Windows with X11 server, tabbed SSH client, network tools and much more

MobaXterm tabbed terminal

From this console window, you will be allowed to run the Unix commands you need: ls, cd, grep, awk, tail, cut, sed, wget, rsync, telnet, ssh, rlogin, rsh … All the essential Unix tools are present. If you need a program that is not available in the basic MobaXterm file, you can download the free plugins.

MobaXterm tabbed terminal

Sessions management

MobaXterm allows you to launch remote sessions. You can choose to create SSH, Telnet, Rlogin, RDP, VNC, XDMCP, FTP, SFTP or Serial sessions. Every session you start is automatically saved and displayed in the left sidebar.

Sessions manager

Graphical SFTP browser

When you log to a remote server using SSH, a graphical SFTP browser pops up on in the left sidebar. It allows you to drag and drop files directly from/to the remote server using a secure SFTP connection.

Graphical SFTP browser

How to commit docker images


[cloud_user@aryan1c ~]$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES

To commit docker image, you need to copy the identification number
65d264fc1d7e centos:6 “/bin/bash” 39 minutes ago Exited (0) About a minute ago quirky_nightingale
5fdeaceec288 spacebones/doge “nginx -g ‘daemon …” 2 hours ago Up 2 hours 0.0.0.0:80->80/tcp treatseekers
[cloud_user@aryan1c ~]$ docker commit 65d264fc1d7e spacebones:thewebsite
sha256:d764a58ff47b2db18aec6aa2928b404998130cdba8edcaa6af78ea5f744b651f
[cloud_user@aryan1c ~]$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
spacebones thewebsite d764a58ff47b 4 seconds ago 511 MB

Apache2 Ubuntu Default Page shows instead of my actual website


To avoid this to happen
mv /etc/httpd/conf.d/welcome.conf /etc/httpd/conf.d/welcome.bak

apache

chkconfig httpd on

How to copy contents to web server directory in Linux


To copy contents to Apache Web Server Directory, Use CP

cp YOURCONTENT/FOLDER/* /var/www/html/

Example:

[root@65d264fc1d7e /]# cp content-dockerquest/mydocker/* /var/www/html/

%d bloggers like this: