Service NGINX Restart Fail

Linux, NGINX, Ubuntu, 2016-02-21 00:28:03 UTC
This problem may occur because you misspelled configuration on /etc/nginx/nginx.conf. When you type command $ sudo service nginx restart and the terminal response is fail To investigate this problem, you need to run; $ sudo nginx -t Now you now where the error is.    And to see w

All About User in Ubuntu

Linux, Ubuntu, 2016-01-26 07:13:46 UTC
1. Add User $ sudo add user <user_name>   2. Add User to Group $ sudo usermod -a -G <ExistingGroupName> <ExistingUserName>   3. Change user password $ sudo passwd <username>   4. Deny user login via ssh Please refer to this

How to install deb file in Ubuntu

Linux, Ubuntu, Utilities, 2015-08-14 22:47:33 UTC
There are two actions, they are dpkg-query and dpkg-deb.Install a package# sudo dpkg -i {package_name}    # sudo dpkg -i skype-ubuntu-precise_4.2.0.11-1_i386.debRemove a package# sudo dpkg -r {package_name}# sudo dpkg -r vlcRemove a package and its configuration files# sudo dpkg -P {pa

Converting ODT into Epub using Calibre Commandline

Linux, Ubuntu, 2015-06-17 00:17:19 UTC
First thing todo is to make sure that calibre installed on your system. If it is not, you can install using by using below command; $ sudo apt-get install calibre Converting ODT into Epub; $ ebook-convert file.odt file.epub If there is something wrong, we can try like this $ ebook-convert fi

Enabling remote connection of MySQL on Ubuntu

Linux, MySQL, Ubuntu, 2015-06-17 00:16:48 UTC
1. open mysql configuration $ sudo nano /etc/mysql/my.cnf 2. We need to comment out the bind-address and skip-external-locking lines: #bind-address = # skip-external-locking 3. Restart MySQL to make changes; sudo service mysql restart 4. Grant permission to root fro