Installation of Sublime (Linux)
Introduction
Sublime Text is a fast, reliable, and versatile shareware source code editor that is used by many front and back end web developers around the world. The vanilla editor can be personalized and customized with hundreds of plugins available on the web. It supports well over 20 programming languages, including C ++, Ruby, Python and Java

Getting Started with Sublime
Download Sublime deb.
After that extract it.
copy sublime_text-desktop file to ~/.local/share/applications
Now move extarct sublime text folder to /opt/
sudo mv sublime_text /opt/
In the next step, add permission to sublime_text folder we just moved in:
sudo chown -R $USER:$USER /opt/sublime_text/
Lastly, customize logo:
/home/twin-spider/.local/share/applications
Installation of Github (Linux)
Introduction
GitHub is a repository for some of the world’s leading projects, built with developer contributions from around the world. This simple, yet powerful platform helps anyone interested in building or developing something great to contribute and to be seen in the open source community.

Getting Started with Github
Download and install github for linux:
The below command is for Ubuntu and works on all Recent Ubuntu versions, and it’s likely to work the same way on future versions.
sudo apt-get install git
Verify the installation by typing the following command which will print the Git version.
git --version
Run the following commands:
run
`ssh-keygen`
filename
mutafaf_meru_rsa
password
mutafaf
Go to github, navigate to settings and click ssh and gpg keys from sidebar:
Copy filename_rsa.pub
and add an ssh key:
run
`touch config`
run
nano config
Lastly, the inactive field is hidden on the employee form.
Installation of Postgres
Introduction
Postgres, is a relational database management system that provides an implementation of the SQL querying language. It’s standards-compliant and has many advanced features like reliable transactions and concurrency without read locks.
PostgreSQL is used as the primary data store or data warehouse for many web, mobile, geospatial, and analytics applications.

Getting Started with Postgres
The quickest way of installing Postgres is to run the following commands.
install the Postgres package along with a -contrib
package that adds some additional utilities and functionality:
sudo apt install postgresql postgresql-contrib
By default, Postgres uses a concept called “roles” to handle authentication and authorization. These are, in some ways, similar to regular Unix-style users and groups.
When installed, Postgres is set to use authentication, which means it associates Postgres roles with the same Unix / Linux system account. If a role exists within Postgres, a Unix / Linux username with the same name can login as such.
The installation procedure created a user account called postgres that is associated with the default Postgres role. There are a few ways to utilize this account to access Postgres. One way is to switch over to the postgres account on your server by running the following command:
sudo -i -u postgres
Then you can access the Postgres prompt by running:
psql
This will log you to PostgreSQL prompt, and from here you are free to interact with the database management system immediately.
To exit out of the PostgreSQL prompt, enter the following command:
\q
This will bring you back to the postgres Linux command prompt. To return to your regular system user, run the exit
command:
exit
If, instead, you prefer to use sudo
for each command without switching from your normal account, run the following command:
sudo -u postgres createuser --interactive
Either way, the script will notify you of certain resolutions and, depending on your responses, issue specific Postgres commands to create a user to your specification.
postgres username
super user access y/n
password
If issue occurs
When bundle on rails an error occurred while installing pg (1.2.3), and Bundler cannot continue.
Make sure that `gem install pg -v ‘1.2.3’ –source ‘ https://rubygems.org/SQL‘` succeeds before bundling.
In Gemfile:
Select only the generic stable version of PostgreSQL and install it. Be sure to choose the latest postgresql
option.
sudo apt install postgresql-contrib libpq-dev
Reinstall Bundle:
locate pg_hba.conf
sudo apt install mlocate
cd /usr/share/postgresql/12/
sudo cp pg_hba.conf.sample pg_hba.conf
https://stackoverflow.com/questions/55038942/
fatal-password-authentication-failed-for-user-postgres-postgresql-11-with-pg/55039419
Reset Password
psql -U default_username (postgres in my case)
\password
After that Restart Postgress Service.
sudo service postgresql restart
Or
sudo service postgresql stop; sudo service postgresql start