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

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 localhost nitza-Lenovo-G405s 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

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

Root doesn't exist?

Linux, Ubuntu, 2015-06-16 23:41:30 UTC
I recently got a problem after installing Ubuntu 12.04. The problem is, I can't switch into root by typing su command. As I remember in installation, there was no configuration about root. It was only configuration about a user. After searching around, I came into a solution. Just type command below

Changing the computer name on Ubuntu

Linux, Ubuntu, 2015-06-16 23:36:06 UTC
To change the computer name in Ubuntu, follow these steps; 1. Open /etc/hostname you@computer:~$ sudo nano /etc/hostname And give the name you want (in /etc/hostname); ubuntu-RV 2. Open /etc/hosts you@computer:~$ sudo nano /etc/hosts And change the name as you type above; 127.0.

Creating single pdf from images

Utilities, Linux, Ubuntu, 2015-06-16 23:27:31 UTC
It is difficult to make a number of images into single pdf file. With manual method, usually you must copy into a word processing application and convert into a pdf. But with ImageMagic, you can do it with just single line command. First, you need to install ImageMagic; $ sudo apt-get install ima

Step by step Ubuntu Uncomplicated Firewall configuration

Linux, Ubuntu, 2015-06-16 23:26:20 UTC
Firewall is a network security system that controls the incoming and outgoing network traffic based on an applied rule set.(Wikipedia) By default, Ubuntu includes Uncomplicated firewall (UFW) in the package but not activated. So, in this article, I will guide you step by step configuring it; 1. Checking UFW status # ufw status or # ufw status verbose Checking raw status # ufw show raw 2. Activating UFW # ufw enable

Step by step installing VNC Server on Ubuntu 14.04

Linux, Ubuntu, 2015-06-16 23:24:50 UTC
Server side 1. Update Ubuntu $ sudo apt-get update $ sudo apt-get dist-upgrade 2. Install some package; Gnome, XFCE, Firefox and Nano $ sudo apt-get install gnome-core xfce4 firefox nano 3. Installing VNC Server $ sudo apt-get install vnc4server 4. Run VNC Server for the first time $ vncserver You will require a password to access your desktops.

Step by step creating Ubuntu swap file

Ubuntu, 2015-06-16 23:22:36 UTC
Login as root and type these command; 1. Swap allocation; # fallocate -l 512M /swap 2. Seting permission # chmod 600 /swap 3. Make swap # mkswap /swap 4. Swap activation # swapon /swap 5. Open fstab # nano /etc/fstab