Labels

Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

Monday, October 24, 2011

Setting DNS Server di Ubuntu

When using the internet, then it implies that we use DNS (Domain Name System). The main function of this control system is to translate host names into IP numbers (IP address) or vice versa so that the name is easily remembered by Internet users. System control also serves to provide information about a host to the entire Internet network. About how the DNS Server itself will not be discussed in this article but the way its setting alone secaara simple.

1. Installing Bind

Software that is widely used as a DNS server is Bind. Of course we must first install this application.

# Sudo apt-get install bind9

Next install again the next package, namely dnsutils

# Sudo apt-get install dnsutils

2.The next step, ie edit the Ethernet card that will be used later.

# Nano / etc / network / interfaces

Select the Ethernet to be used for example eth0 with ip 192.168.44.2 DNS Servers it. The contents also his netmask and gateway.

3. Then edit the file / etc / bind / named.conf.options

# Nano / etc / bind / named.conf.options

Remove the "/ /" and enter DNS Server ip the same as before.

4.  Next, edit the file / etc / bind / named.conf.local

# Nano / etc / bind / named.conf.local

Here the DNS server is named bayuwicaksono.com. Correction on the setting of the second zone, which is on file "/ etc/bind/db.192"; not a file "/ etc/bind/db.44";.

5. The next step by adding the file / etc / bind / db.local into the directory / etc / bind / db.bayuwicaksono.com

# Cp / etc / bind / db.local / etc / bind / db.bayuwicaksono.com

Then edit the files you have added earlier

# Nano / etc / bind / db.bayuwicaksono.com


Here only name server is loaded and also the DNS server ip alone that could have also added to mailserver, ftp server or the other.

6.The next step is almost the same as the previous step by adding the file / etc/bind/db.127 into the directory / etc/bind/db.192

# Cp / etc/bind/db.127 / etc/bind/db.192

Then edit the files you have added earlier

# Nano / etc/bind/db.192

7. Then edit the file / etc / resolv.conf

# Nano / etc / resolv.conf

8. Then again edit the file / etc / hosts file to add the host computer information.

# Nano / etc / hosts

9. The final step to restart the services that have been in previous settings.

# / Etc/init.d/bind9 restart

# / Etc / init.d / networking restart


10. After all the settings then the live test DNS server is already running.
Continue Reading »

Saturday, October 22, 2011

how to install Kubuntu KDE in Ubuntu

Ubuntu default desktop uses Gnome window manager, which can be a difficult transition for Windows users. KDE desktop will be much more familiar to Windows users, such as KDE has something comparable to the start menu.

If you've installed Ubuntu, and you do not want to completely reset with Kubuntu, you can only install the KDE window manager to install kubuntu-desktop package and its dependencies.

You can install kubuntu using GUI tools, but the easiest way is to open a terminal window, and type the following command:

sudo apt-get install kubuntu-desktop

You will be prompted for a password, and then you will be asked again to ask if you really want to install. Press Y to continue, and let the install begin.

Download all the updates can take a while, so you might want to get a cup of coffee or something. You will be prompted to choose the login manager, which you can select as gdm (ubuntu) or kdm (kde). I decided to leave the default gdm.

Reboot the computer, and when you get to the login prompt, click the Options button in the lower left corner:

You will be prompted to select the session you want. Here we will click KDE to continue.

Login, and you should now see the KDE desktop! All applications are found in a menu-like "Start", as you can see:

Note: If you are running Ubuntu inside VMware and end up with some display issues which is really weird screen resolution is really great, but the desktop shows at 800 × 600 instead (see screenshot), there is a fix for this.

When I encountered this problem, I also can not use a mouse. I rebooted, and logged back into Ubuntu desktop instead of KDE, and go into the directory / etc/X11 /.

You may notice that your xorg.conf file backed up during installation xorg.conf.1 / KDE Kubuntu. Just copy xorg.conf.1 back into xorg.conf, reboot, and everything should be fine.

Again, do not mess with the xorg.conf file unless you are really experiencing this problem.
Continue Reading »

Friday, October 21, 2011

How to Install VGA Driver nVidia GeForce on Ubuntu

Times where I will discuss how to install nVidia drivers on Ubuntu, just here's how:
1) Download Newest Nvidia drivers from www.nvidia.com
2) Open the module blacklist as admin

gksudo gedit / etc / modprobe.d / blacklist.conf

Add these lines and save:
blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv

3) Previously installed Uninstall any Nvidia drivers:


sudo apt-get –purge remove nvidia-*
or
sudo apt-get --purge remove nvidia-*


4) Reboot your computer

5) Choose the kernel recovery mode, choose root -> ok

6) Log in and cd to the directory where you saved your file

7) Install the drivers

sudo sh NVIDIA-Linux-x86-260.19.12.run

8) Start GDM

sudo service gdm start
Continue Reading »

Saturday, October 15, 2011

How to install Google Chrome in Ubuntu

Welcome to the sofyan id, in this tutorial, I will discuss on how to install the application search google chrome on ubuntu.

Software: Google Chrome.
Operating System: Ubuntu.
Skill Level: Newbie.
Estimated Time: 20 Minutes.
Google Chrome is a search application (bworser) to explore the Internet world. Google Chrome is an application developed by Google's corporate giants. Google Chrome is a lightweight and simple, yet very powerful.

The first phase to install google chrome, Google Chrome Download apalikasi here first.
Open the link above, at the time of writing this tutorial, view the website at the link above can be seen in this picture.



Click the Download Google Chrome, it will exit the dialog you need to download the package as shown in Figure 2. Because we're going to install Google Chrome on Linux, then select a package for Debian / Ubuntu. There are two versions; 32bit and 64bit versions, matching the Ubuntu operating system you use.
After that, click the Agree button, then Install, and wait until the download is complete.

The second phase of installing google chrome on ubuntu


First open the Google Chrome installer file that you downloaded as shown in Figure 3 by the double click. Wait until the ubuntu software center out. Having come out as in Figure 4, click the install button to install Google Chrome. Before the installation process, you will be prompted to enter a user password, and wait until installation process is complete.


When finished, it will be written in an Installer as in figure 5. Now you have successfully installed Google Chrome on Ubuntu.


Now you've finished installing Google Chrome, you can open the application through the menu Google Chrome in Ubuntu.

Continue Reading »

Monday, October 10, 2011

Operating File and Directory Structure in Ubuntu

Experiment 1: Directory
1.Melihat HOME directory
$ pwd
$ Echo $ HOME

2. view current directory and parent directory
$ pwd
$ Cd.
$ pwd
$ Cd ..
$ pwd
$ cd

3.make one directory, more than one directory or sub directory
$ pwd
$ Mkdir A B C A / D A / E B / F A / D / A
$ Ls-l
$ Ls-l A
$ Ls-l A / D

4. Remove one or more directories can only be done on an empty directory and can only be removed by the owner unless it is granted permission to access
$ Rmdir B (There is an error, why?)
$ Ls-l B
$ Rmdir B / F B
$ Ls-l B (There is an error, why?)

5.Navigasi directory with cd instructions to move from one directory to another directory.
$ pwd
$ Ls-l
$ Cd A
$ pwd
$ Cd ..
$ pwd
$ Cd / home / <user> / C
$ pwd
$ Cd / <user / C (There is an error, why?)
$ pwd



Experiment 2: Manipulation of the file
1.Perintah cp to copy files or entire directories
$ Cat> example
Creating a file
[Ctrl-d]
$ Cp examples example 1
$ Ls-l
$ Cp sample A
$ Ls-l A
$ Cp examples example 1 A / D
$ Ls-l A / D

2.Perintah mv to move files
$ Mv example contoh2
$ Ls-l
$ Mv example 1 contoh2 A / D
$ Ls-l A / D
$ Mv example example 1 above C
$ Ls-l C

3.Command rm to delete files
$ Rm contoh2
$ Ls-l
$ Rm-i example
$ Rm-rf A C
$ Ls-l

Experiment 3: Symbolic Link
1.Make shortcut (file link)
$ Echo "Hello, what Mr. Mouse"> halo.txt
$ Ls-l
$ Ln z halo.txt
$ Ls-l
$ Cat z
$ Mkdir mydir
$ Ln z mydir / halo.juga
$ Cat mydir / halo.juga
$ Ln-s z bye.txt
$ Ls-l bye.txt
$ Cat bye.txt


Experiment 4: Viewing File Contents
$ Ls-l
$ File halo.txt
$ File bye.txt

Experiment 5: Search for files
1.Commend find
$ Find / home-name "*. txt"-print> myerror.txt
$ Cat myerror.txt
$ Find. -Name "*. txt"-exec wc-l '{}' ';'

2.Perintah the which
$ The which ls

3.Perintah locate
$ Locate "*. txt"


Experiment 6: Search for text in files
$ Grep Hallo *. txt
Continue Reading »