ping: unknown host localhost
On a server, ping localhost did not work /etc/hosts files was proper, had entry for localhost. problem was due to
yum-config-manager
yum-config-manager allows you to manage yum repositories. To add a repo, run Disable a repository See yum
Start MongoDB from command line
To start MongoDB from command line, run See MongoDB
Remote Desktop
Remote Desktop Software https://guacamole.apache.org Google Chome Remote Desktop https://rustdesk.com – Free Open source teamviewer alternative. Enable Remote Desktop Enable Remote
Ubuntu allow a normal user to edit WiFi Connection
When a normal user edit Wi-Fi connection on Wi-Fi Settings, they will be asked to enter administrator user pasword. To
Change Linux user shell
To change shell for a user, run Example I will add a user, if no shell specified, it use sh
CentOS add IP Address
To add IP address on a Linux server, first find name of your network interface. This can be done with
gonit golang replacement for monit
gonit is a replacent for monitoring software monit. monit was removed from Debian 10 due to security issues and the
Check if you are using 32 or 64 bit Linux
To identify if you are using 32 bit or 64 bit Linux OS, run command arch. You can also use
linux sound
aplay Show Sound Devices
aplay
aplay is a command line sound player for ALSA soundcard driver. To list all available sound devices, run
Nginx vs Apache
I recently added nginx as front end for apache. Now nginx serve static content, PHP requests are peroxided to Apache.