Archive for March 2012
Start, Stop & Restart OpenSSH Server 04.03.12
$ sudo /etc/init.d/ssh start
$ sudo /etc/init.d/ssh stop
$ sudo /etc/init.d/ssh restart
$ sudo service ssh start
$ sudo service ssh stop
$ sudo service ssh restart
I was getting the following message when loggin through SSH :
warning: setlocale: LC_CTYPE: cannot change locale (UTF-8)
It complain about the locale variables not being set.
To fix this, simply add the following to ~/.bash_profile:
[emerg] unknown “https” variable 04.03.12
Starting nginx: nginx: [emerg] unknown “https” variable
nginx: configuration file /etc/nginx/nginx.conf test failed
Edit this file /etc/nginx/fastcgi_params
Comment out this line
# fastcgi_param HTTPS $server_https;
As default Ubuntu has no password set for the root user. To gain root access you have to type in your own user password. This is the password you set for the first user while installing Ubuntu.
To manually set a password for the root user, type in the following in the shell :
After that you are asked to type in the new root password twice. Finally, your root user has its own password.