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
Share:     

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 http://develbook.com/pr
Share:     

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
Share:     

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
Share:     

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 = 127.0.0.1 # skip-external-locking 3. Restart MySQL to make changes; sudo service mysql restart 4. Grant permission to root fro
Share:     

Apache2 Ubuntu Default Page

Linux, Ubuntu, 2015-06-17 00:12:38 UTC
This article is weird huh... Yeah, I change a lot to my Ubuntu server. And this post is just a reminder for my Ubuntu 14.04 and Apache default setting.   It works! This is the default welcome page used to test the correct operation of the Apache2 server after installation on Ubuntu s
Share:     

Setting Up a Virtual Host on Ubuntu 14.04 for Local Environment

Linux, Ubuntu, 2015-06-17 00:12:07 UTC
1. Edit hosts, add this line 127.0.0.1 localhost 127.0.1.1 nitza-Lenovo-G405s 127.0.0.1 coba 2. Create new file /etc/apache2/sites-available/coba.conf <VirtualHost *:80> ServerName coba DocumentRoot /var/www/coba ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR
Share:     

4 simple steps creating virtual host in Ubuntu

Linux, Ubuntu, 2015-06-16 23:52:29 UTC
Usually in standard development process, we use http://localhost/app_name format as URL. The format is not good when compared to the production environment. Usually, production using http://domain_name.com as URL. To make the development URL format similiar to production URL, we can use virtual host
Share: