Try Linux distro with out downloading ISO
You can try various linux distributions with out downloading ISO. To try, go to web site https://distrotest.net Find the linux distribition from…
You can try various linux distributions with out downloading ISO. To try, go to web site https://distrotest.net Find the linux distribition from…
To create a virtualenv, run virtualenv NAME_OF_VIRTUALENV On Ubuntu 18, this command will create virtualenv with Python 2.7. To create virtualenv with…
Install virtualenv on Ubuntu Creating and using virtualenv virtualenv is used to create isolated python environments. With python3, you can create virtualenv…
gunicorn behind Apache web server Running Python Application with gunicorn and nginx Serve a Django application using Gunicorn
gunicorn is a python application server used to run python applications in production. This is normally run behind web servers like nginx…
If you want to run same command on multiple servers, you can use tmux synchronize-panes feature. This will be useful when you…
When you start a new window or split pane on tmux, it always start with the directory from where you run tmux…
To start tmux and attach to existing connection on SSH in, edit file vi ~/.bashrc Add if [[ “$TMUX” == “” ]]…
To export a table into CSV file, run \copy TABLE_NAME to ‘FILE_NAME.csv’ csv header; This will save the CSV file in current…
To install MongoDB 4.0 (for other versions, see release note) on CentOS 7, create file vi /etc/yum.repos.d/mongodb-org-4.0.repo Add content [mongodb-org-4.0] name=MongoDB Repository…
Install postfix apt update apt install postfix libsasl2-modules Create file touch /etc/postfix/sasl_passwd chmod 600 /etc/postfix/sasl_passwd vi /etc/postfix/sasl_passwd Add [smtp.gmail.com]:587 user@gmail.com:password Save and…