Senin, 13 Februari 2012

Installing CentOS on VMware – Step by Step

Today, I’m going to show you, installation of CentOS on a virtual machine
First of all, we’ve to download CentOS. CentOS is a freely-available operating system that is based on Red Hat Enterprise Linux system.  You can download the latest release (5) from its website. To download, please refer to download page of CentOS web site
Select nearest location and begin downloading *.iso files.
After you finish downloading *.iso files, you have to mount it and let your VMware recognize it as a virtual “cd” or “dvd”. For this purpose, I prefer to download one DVD *.iso installation file. Please open VMware, double click on CD-ROM (IDE 1-0) item, select Use ISO image option and click Browse button to select your recently downloaded *.iso installation file of CentOS as shown below
 

Now you virtually inserted you installation DVD into DVD-ROM. And you’re ready to install your OS virtually.  

You should change your Memory to 1024 MB for your further Oracle installation. Double click on Memory item and set it to 1024
Then click Power button to start your virtual pc
 
When your virtual pc starts, you’ll see welcome screen of installation CentOS
 

If you’ll not be able to see this screen, then restart your virtual pc and click Esc button for Boot menu. And from this menu, select CD-ROM Drive
Click enter. The installation will tell you to begin testing of your installation cd or dvd. Select Skip button. It will skip testing your cd media and save your time

Then you’ll get another welcome screen, you only have to click next button on this screen

Select your language of installation and click Next

Then, select your keyboard configuration to use it for the system you’re installing and click Next

Then, you’ll be warned to create new partitions by erasing ALL DATA on your newly created hard drive. As there’s no information in this drive, you’ll select Yes
centos_installation_8

In this step, just let it remain selected and click next
centos_installation_9 

Then there’ll be warning “You have chosen to remove all Linux partitions (and ALL DATA on them) on the following drives: /dev/sda   Are you sure you want to do this?” Click Yes
Then, you’ll see Network Configurations screen, as it is your test virtual pc, don’t change anything and click next. You can change whatever you want after installation, for now, let it continue in this way and click Next
centos_installation_10 

From this screen, select your region and click Next
centos_installation_11 

Then, you’ll be prompted to enter password for root user, enter it and click Next
 centos_installation_12 

To install packages, especially for working with Oracle Server, select all options except Clustering and Storage Clustering. Then select Customize now option and click Next
centos_installation_13 

Then, from Base System menu, select Legacy Software Support, System Tools and click Next
centos_installation_14

Now, you’re ready for installation. Click next on this screen, the installation will begin
centos_installation_16

You’ll see how all packages are installing. After a while, your OS will be ready for use
centos_installation_17

After the installation is completed, click Reboot button to reboot your OS
centos_installation_18

After reboot, you’ll face with another Welcome screen. There’re some steps need to be completed
Click Forward button on the screen.
centos_installation_19

Here, just disable your Firewall. Its only for test purpose, don’t disable your Firewall on real system! And click forward button
centos_installation_20

For testing purpose, it would be good to disable SELinux too
centos_installation_21

Then keeping Kdump disabled, click Forward
 centos_installation_22

If you need, make your Date and Time configuration and click Forward
 centos_installation_23

If you want to create a new user, you can fill these blanks. You can pass this step too by clicking Forward button

centos_installation_24

Then Click Finish and the system will reboot

centos_installation_25

After reboot, CentOS will be opened and you’ll be prompted to enter username (root) and password (root’s password)

centos_installation_26 

Your Centos is ready to use! Congratulations.

centos_installation_27

In the next article, I’m going to show installation of Oracle 10g Release 2 on our Centos OS

Additionally, while using an operating system inside VMware, you recognize that every time you have to enter to its area and then press Ctrl+Alt buttons to leave this area and to return to your system.
To solve this issue, you should install VMware Tools.
As the VMware Tools will be installed from CD-Rom device, you should disconnect your connected CD-Rom device as shown below
 centos_installation_29

Next, Select VM menu on VMware application and select Install VMware Tools menu item.

centos_installation_28

Then click Install button on this message box to Install VMware Tools

centos_installation_30 

Then enter to My Computer and double click on CD-ROM Drive. You’ll see there two packages.

centos_installation_31

Now, double click on *.rpm file to setup   
After installation complete, copy another *.gz file to anywhere in hard drive. In our example we are coping it to tmp directory inside FileSystem, paste the file into this folder, right click on it and select Extract Here menu item

centos_installation_32

Then enter to the folder vmware-tools-distrib and double click on vmware-install.pl file and click Run in Terminal button

centos_installation_33

Then, whenever you’re asked to enter the value, just click enter
But when you’re prompted to enter value for the display size of your X, be careful to enter default value. If you want your Virtual Machine to be little size, enter 2 (800-600)
That’s all! Your VMware Tools installed. Now you can enter to VMware’s area and exit it without clicking Ctrl+Alt
P.S. If you’ll face with “VMware hgfs: HGFS is disabled in the host” error, just reboot your system
 

Kamis, 09 Februari 2012

Cara Install Ubuntu 11.04 Untuk di jadikan Squid Mikrotik dan Partisi manual untuk Cache

Cara Install Ubuntu 11.04 Untuk
di jadikan Squid Mikrotik dan Partisi manual untuk Cache
Untuk membuat Squid external Proxy Mikrotik,seperti ubuntu sangatlah bagus…ada sedikit trik dari saya untuk saat menginstall Ubuntu tersebut agar nanti cachenya banyak Hit,saya membuat partisi manual untuk cache cache nya….berikut caranya:


Download Ubuntu Server (DISINI)

Setelah di burning dan boot,berikut tampilan awal….pilih “Instal Ubuntu Server”…seperti gambar di bawah ini:

Select language pilih “English”,seperti gambar di bawah ini:

Select your location pilih “United State” seperti gambar di bawah ini:

Configure the keyboard,pilih “No”,seperti gambar di bawah ini:

Country of origin the keyboard,pilih “USA”,seperti gambar di bawah ini:

Keyboard layout,pilih “USA” seperti gambar di bawah ini:

Configure the network,Hostname isi dengan nama anda,contoh “muhammadnurhusni”,jika nanti anda bertemu “configure the network failed” silahkan pilih “configure manual” untuk memasukkan ip address manual dan masukan ip address misalkan ip address di mikrotik ethernet3 (proxy)=192.168.254.1,silahkan masukkan ip address di ubuntu=192.168.254.2:

Select your time zone,pilih “Select from worldwide list”,seperti gambar di bawah:

Silahkan pilih zona waktu anda,seperti WIB daerah “Jakarta”,seperti gambar di bawah ini:

Partition disk,pilih manual,seperti gambar di bawah ini:

Delete semua partitions,kemudian klik hdd anda,tekan “ENTER” di keyboard,seperti gambar di bawah ini:

Pilih “Yes” seperti gambar di bawah:

Harddisk saya 60 GB,pilih pri/log ……FREE SPACE,seperti gambar di bawah ini:

How to use this free space,pilih “Create a new partition”,seperti gambar di bawah:

New partition size,masukkan “100 MB”,seperti gambar di bawah:

Type for new partition,pilih “Primary”,seperti gambar di bawah:

Location for the new partition,pilih “Beginning”,seperti gambar di bawah:

Partition setting,pilih “Mount Point” dan tekan “ENTER” di keyboard,seperti gambar di bawah:

Mount point for this partition,pilih “/boot – static files of the boot loader”,seperti gambar di bawah:

Klik Label dan tekan “ENTER” di keyboard,seperti gambar di bawah:

Isi label dengan “boot”,seperti gambar di bawah:

Periksa dan sesuaikan partition disk dgn gambar di bawah dan klik “Done setting up the partition”,seperti gambar di bawah:

Klik lagi “pri/log…..FREE SPACE,seperti gambar di bawah:

How to use this partition,pilih “Ceate a new partition”,seperti gambar di bawah:

New partition size,isi 5 GB,jika hardisk anda ukuran besar seperti 250 GB silahkan isi dengan ukuran yang agak besar juga,seperti gambar di bawah ini:

Type for the new partition,pilih “Logical” seperti gambar di bawah ini:

Location for the new partition pilih “Beginning” seperti gambar di bawah ini:

Mount point pilih “/ - the root file system”,seperti gambar di bawah ini:

Label,isi “root”,seperti gambar di bawah ini:

Selanjutnya Klik lagi “pri/log…..FREE SPACE,dan isi 7 GB,jika harddsik anda berukuran besar seperti 250 GB,silahkan besarkan juga isinya,seperti gambar di bawah ini:

Mount Point,pilih “Enter manually”,dan isi “/cache1”seperti gambar di bawah:

Label,isi “squid cache1”,seperti gambar di bawah ini:

Kemudian klik “done setting…..”seperti gambar di bawah ini:

Selanjtnya Klik lagi “pri/log…..FREE SPACE,dan isi 7 GB,jika harddsik anda berukuran besar seperti 250 GB,silahkan besarkan juga isinya,

Mount Point,pilih “Enter manually” dan isi “/cache2
Label,isi “squid cache2
Kemudian klik “done setting…..”seperti gambar di bawah ini:

Selanjtnya Klik lagi “pri/log…..FREE SPACE,dan isi 7 GB,jika harddsik anda berukuran besar seperti 250 GB,silahkan besarkan juga isinya,

Mount Point,pilih “Enter manually” dan isi “/cache3
Label,isi “squid cache3
Kemudian klik “done setting…..”seperti gambar di bawah ini:

Selanjtnya Klik lagi “pri/log…..FREE SPACE,dan isi 7 GB,jika harddsik anda berukuran besar seperti 250 GB,silahkan besarkan juga isinya,

Mount Point,pilih “Enter manually” dan isi “/cache4
Label,isi “squid cache4
Kemudian klik “done setting…..”seperti gambar di bawah ini:

Selanjtnya Klik lagi “pri/log…..FREE SPACE,dan isi 7 GB,jika harddsik anda berukuran besar seperti 250 GB,silahkan besarkan juga isinya,

Mount Point,pilih “Enter manually” dan isi “/cache5
Label,isi “squid cache5
Kemudian klik “done setting…..”seperti gambar di bawah ini:

Selanjtnya Klik lagi “pri/log…..FREE SPACE,

Moutn Point pilih “/home – user home directories”,seperti gambar di bawah ini:

Label isi “home”,seperti gambar di bawah:

Klik done setting….seperti gambar di bawah:

Selanjtnya Klik lagi “pri/log…..FREE SPACE,jika harddsik anda berukuran besar seperti 250 GB,silahkan besarkan juga isinya,

Mount Point,pilih “/usr
Label,isi “usr
Kemudian klik “done setting…..”seperti gambar di bawah ini:

Selanjtnya Klik lagi “pri/log…..FREE SPACE,buat isinya 1 GB untuk harddisk 1 GB keatas,

Ganti “Use As” pilih “swap area”,seperti gambar di bawah:

Done setting…seperti gambar di bawah:

Selanjtnya Klik lagi “pri/log…..FREE SPACE,jika harddsik anda berukuran besar seperti 250 GB,silahkan besarkan juga isinya,

Mount Point,pilih “/var
Label,isi “var
Kemudian klik “done setting…..”seperti gambar di bawah ini:

Dan hasil partition seperti gambar di bawah dan Finish Partitioning:

Write the change disk,pilih “Yes”,seperti gambar di bawah:

Instalasi the base system,seperti gambar di bawah:

Full name for  the new user ,isi nama anda contoh “muhammadnurhusni”,seperti gambar di bawah:

Choose a password for the new user ,isikan password anda,seperti gambar di bawah:

Encrypt yor home directory,pilih “Yes”,seperti gambar di bawah:

Http proxy kosongkan aja,pilih “Continue”,seperti gambar di bawah:

How do you want to manage upgrades on this system,pilih “No automatic update”,seperti gambar di bawah:

Choose software to install,Centang semua software dengan menggunakan “SPACE” di keyboard,seperti gambar di bawah:

Untuk installation packages,tekan “q” di keyboard dan “y” dan “ENTER” di keyboard,seperti gambar di bawah ini:

Masukkan password yang sama untuk MySQL,seperti gambar di bawah ini:

Ulangi password,seperti gambar di bawah ini:

General type of the mail configuration,pilih “No configuration”,seperti gambar di bawah:

Install Grub,pilih “Yes”,seperti gambar di bawah:

Instalation complete,pilih “continue”,seperti gambar di bawah:

Instalasi selesai dan masukkan login dan password,seperti gambar di bawah:

--Selesai---