Browsed by
Month: May 2017

Installing PowerShell on Linux

Installing PowerShell on Linux

CentOS 7 This package also works on Oracle Linux 7. Installation via Package Repository (preferred) – CentOS 7 PowerShell Core for Linux is published to official Microsoft repositories for easy installation (and updates). # Register the Microsoft RedHat repository curl https://packages.microsoft.com/config/rhel/7/prod.repo | sudo tee /etc/yum.repos.d/microsoft.repo # Install PowerShell sudo yum install -y powershell # Start PowerShell powershell After registering the Microsoft repository once as superuser, you just need to use sudo yum update powershell to update PowerShell. Installation via Direct…

Read More Read More

DOSify Linux – Linux Alias (How make Linux less stupid) mkdir, rmdir …

DOSify Linux – Linux Alias (How make Linux less stupid) mkdir, rmdir …

Why would Linux people make commands longer than the Windows people ? How to fix it in Linux: alias dir=”ls” alias copy=”cp” alias rename=”mv” alias md=”mkdir” alias rd=”rmdir” alias del=”rm -i”   More Information About Alias:   The alias Command   The alias command makes it possible to launch any command or group of commands (inclusive of any options, arguments and redirection) by entering a pre-set string (i.e., sequence of characters).That is, it allows a user to create simple names…

Read More Read More

Learning Linux

Learning Linux

Website Training: https://linuxjourney.com/ https://training.linuxfoundation.org/free-linux-training http://www.tecmint.com/free-online-linux-learning-guide-for-beginners/ YouTube Introduction Training: (it is better to just do it rather than watch the video) https://www.youtube.com/watch?v=9t_gJWC32zk Free eBooks: http://www.rickyadams.com/wp/wp-content/uploads/2017/05/linuxfun.pdf http://www.rickyadams.com/wp/wp-content/uploads/2017/05/Introduction-to-Linux-Hands-On.pdf http://www.rickyadams.com/wp/wp-content/uploads/2017/05/Linux-Advanced-Administration.pdf Online Resources: http://www.rickyadams.com/wp/index.php/linux/ http://www.rickyadams.com/wp/?s=linux https://en.wikibooks.org/wiki/LPI_Linux_Certification http://linuxreviews.org/

Linux Processes

Linux Processes

My Favorites: ps, pgrep, pkill How to Manage Processes from the Linux Terminal: 10 Commands You Need to Know The Linux terminal has a number of useful commands that can display running processes, kill them, and change their priority level. This post lists the classic, traditional commands, as well as some more useful, modern ones. Many of the commands here perform a single function and can be combined — that’s the Unix philosophy of designing programs. Other programs, like htop,…

Read More Read More

Docker Containers Management With Portainer

Docker Containers Management With Portainer

Install Portainer Portainer binaries are available on each release page: Portainer releases Download and extract the binary to a location on disk: $ cd /opt $ wget https://github.com/portainer/portainer/releases/download/1.12.4/portainer-1.12.4-linux-amd64.tar.gz $ tar xvpfz portainer-1.12.4-linux-amd64.tar.gz Then just use the portainer binary as you would use CLI flags with Docker. Note: Portainer will try to write its data into the /data folder by default. You must ensure this folder exists first. $ mkdir /data $ cd /opt $ ./portainer/portainer You can use the -p…

Read More Read More

Docker Containers: Getting Started

Docker Containers: Getting Started

SOURCE: https://docs.docker.com/get-started/ Get Started, Part 1: Orientation and Setup Estimated reading time: 3 minutes 1: Orientation 2: Containers 3: Services 4: Swarms 5: Stacks 6: Deploy your app Welcome! We are excited you want to learn how to use Docker. In this six-part tutorial, you will: Get set up and oriented, on this page. Build and run your first app Turn your app into a scaling service Span your service across multiple machines Add a visitor counter that persists data…

Read More Read More