-
A CentOS 7 machine.
-
A sudo user, or root user.
Configure static IP address on CentOS
After a fresh installation CentOS uses DHCP (dhclient -v) to assign an IP to the machine, which keep in changing on reboots, or service restarts, etc.
Use-case: Various service setups, especially involving a clustered configuration we need to set a fixed IP for each machine, so they can communication with each other, in case of DHCP the installation may break on the reboot, as anyone of the machine gets a new IP address. So the first step is to set a static IP address. Continue reading “Configure static IP address on CentOS”
Install XAMPP stack on Ubuntu 16.04 using terminal
Step 0 – Login and update
Continue reading “Install XAMPP stack on Ubuntu 16.04 using terminal”
All you need to know about SSH
Introduction
Allow remote connections to PostgreSQL
Install PostgreSQL 9.6 on Ubuntu 14.04 or 16.04 LTS
Step 1: Add Postgresql repository
$ wget -q -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
Continue reading “Install PostgreSQL 9.6 on Ubuntu 14.04 or 16.04 LTS”
Install Node.js, npm, and Angular on CentOS 7.x
Node.Js
npm
Continue reading “Install Node.js, npm, and Angular on CentOS 7.x”
Ruby Kernel for Jupyter Notebook
- Install Jupyter
- Install Ruby
- Install iruby
Install latest Ruby version using rbenv
Register Python script as a Linux systemd service
Linux init
” In Unix-based computer operating systems, init (short for initialization) is the first process started during booting of the computer system. Init is a daemon process that continues running until the system is shut down.”
Continue reading “Register Python script as a Linux systemd service”