Difference between revisions of "Centos installation"

From Kolmisoft Wiki
Jump to navigationJump to search
 
(24 intermediate revisions by 5 users not shown)
Line 1: Line 1:
In order to install MOR you need Centos 5.2+ system (Install current version Centos 5.4).
In order to install MOR, you need the Centos 6 system ('''Install newest CentOS 6 version''').


First of all you need to download install image. Decide which architecture you need: i386 or x86_64 and download only 1st CD out of 6(7). '''Because only first CD is necessary to install base system.'''
First of all, you need to download the Install image. Decide which architecture you need (i386 or x86_64) and download minimal iso, because necessary to install only the base system.


Centos can be downloaded from here: http://mirror.centos.org/centos/5/isos/
How do you choose between i386 (32bit) and x86_64 (64bit)? There is a simple rule: if you have 4gb of RAM or more, choose x86_64 (64bit).


As an example for i386 you should download file ''CentOS-5.4-i386-bin-1of6.iso''
Centos can be downloaded from here: http://mirror.centos.org/centos/6/isos/ (we recommend downloading latest releases).


And for x86_64 file ''CentOS-5.4-x86_64-bin-1of7.iso''
As an example, for i386 you should download the file ''CentOS-6.7-i386-minimal.iso''.
 
For x86_64, download the file ''CentOS-6.7-x86_64-minimal.iso''


'''Make sure file IS NOT LiveCD and extension is ISO, but not .torrent!'''
'''Make sure file IS NOT LiveCD and extension is ISO, but not .torrent!'''


After you burn and boot from this CD, you will see:
After you burn and boot from this CD, you will see:
<br><br>
[[File:Centos (1).jpg]]
<br><br>
Press enter. System will ask you to check your installation media. Press ''Skip'' to save the time:
<br><br>
[[File:Centos (2).jpg]]
<br><br>
Now select your language here and click ''Next'':
<br><br>
[[File:Centos (3).jpg]]
<br><br>
Select your keyboard layout and click ''Next'':
<br><br>
[[File:Centos (4).jpg]]
<br><br>
If your hard disk is blank (no partition) you will get this message.  Click ''Yes, discard any data'' and then click ''Next'':
<br><br>
[[File:Centos (5).jpg]]
<br><br>
Type your Hostname and click ''Next'':
<br><br>
[[File:Centos (6).jpg]]
<br><br>
Select your time zone and click ''Next'':
<br><br>
[[File:Centos (7).jpg]]
<br><br>
Create a strong password for your system and click ''Next''.
<br><br>
[[File:Centos (8).jpg]]
<br><br>
Read this menu carefully. First section will use all the spaces of your HDD and erase all data. Second Section will only remove previous Linux partition. Third section will reduce size of exiting partition and create some free spaces to install CentOS. In last section you can create partition manually. Just choose last section to manually create partition:
<br><br>
[[File:Centos (9).jpg]]
<br><br>
Here you have to create root ( / ) partition to install CentOS and Swap area. Select ''free'' and click ''Create''.
<br><br>
[[File:Centos (10).jpg]]
<br><br>
Select ''Standard Partition'' and click ''Create''.
Optionally, if your hardware supports it and you are familiar with configuration, you can setup RAID1.
<br><br>
[[File:Centos (11).jpg]]
<br><br>
You have to create a Linux swap area. Swap area should be same size as server's RAM size, but no more than 4GB. In ''File System Type'' select ''Swap''. Give the size of this partition in MB and click ''Ok'':
<br><br>
[[File:Centos (12).jpg]]
<br><br>
Next, you have to create root ( / ) partition. Again, select ''free'', click ''Create'' and click "Create" in next window too.


[[Image:centos_install_1.png]]
Change "Mount Point" to " / ", select "Fill to maximum allowable size" and click "OK".


Press ENTER here to go to GRAPHICAL MODE (in text mode it is not possible to deselect all the packets).
"File System Type" can be either EXT3 or EXT4.
<br><br>
[[File:Centos (12_1).jpg]]
<br><br>
Click "Next".


Now you will get a warning message (''Format Warning''). Click ''Format''. If additional warning table will appear, click "Write changes to disk".
<br><br>
[[File:Centos (13).jpg]]
<br><br>
Click ''Next'':
<br><br>
[[File:Centos (14).jpg]]
<br><br>
Select your desired option. If you want desktop version select ''Desktop'' or if you want to install server then select ''Basic Server''. You can also customize default software installation by clicking on ''Add additional Software repositories'' or ''Modify repository''. Then click ''Next''.
<br><br>
[[File:Centos (15).jpg]]
<br><br>
After finishing all the process you will get a "Congratulations" message. Click on ''Reboot''.
<br><br>
[[File:Centos (16).jpg]]
<br><br>
After reboot your computer you will get a login screen. Just type root as user name and your password.




After that you will be asked to test install CD - let's skip this part to save time:
=Troubleshooting=


[[Image:centos_install_2.png]]
If the installer is asking you for CD #2, #3, #4, or anything else, it means you failed to UNSELECT all packets, as was pointed out above.


Solution:


On main Centos window press NEXT:
1. Read the manual carefully once again.
 
[[Image:centos_install_3.png]]
 
 
Select your installation language:
 
[[Image:centos_install_4.png]]


2. Do as it says EXACTLY (unselect ALL packets).


And keyboard layout:
3. Reinstall.


[[Image:centos_install_5.png]]


=See also=


Then your system asks you to reformat your HDD, make sure you know what you are doing and press YES:
[[OVH server installation|CentOS installation on OVH servers]]
 
[[Image:centos_install_6.png]]
 
 
Then installer asks if new HDD layout is ok - you can change it if you know what you are doing - we recommend to leave it as it is, press NEXT:
 
[[Image:centos_install_7.png]]
 
 
In next window confirm your step by pressing YES:
 
[[Image:centos_install_8.png]]
 
 
Following window lets you select network configuration, enter manual details or leave DHCP (manual is recommended):
 
[[Image:centos_install_9.png]]
 
 
Select your time-zone:
 
[[Image:centos_install_10.png]]
 
 
Enter root password:
 
[[Image:centos_install_11.png]]
 
 
This step is VERY IMPORTANT! Make sure you unchecked EVERYTHING from package selection, and CHECK "Customize now", press NEXT:
 
[[Image:centos_install_12.png]]
 
 
This step is also VERY IMPORTANT! Make sure you unchecked EVERYTHING again and in ALL categories! Nothing should be left selected - otherwise installed will ask you for other install CDs. When done press NEXT:
 
[[Image:centos_install_13.png]]
 
 
Then you will see final window after which installation begins (press NEXT):
 
[[Image:centos_install_14.png]]
 
 
= Troubleshooting =
 
If installation is asking you for CD #2, #3, #4 or anything else - that means you failed to UNSELECT all packets as was pointed out before.
 
Solution:
 
# Read manual carefully once again
# Do as it says EXACTLY (unselect ALL packets)
# Reinstall

Latest revision as of 10:42, 5 January 2016

In order to install MOR, you need the Centos 6 system (Install newest CentOS 6 version).

First of all, you need to download the Install image. Decide which architecture you need (i386 or x86_64) and download minimal iso, because necessary to install only the base system.

How do you choose between i386 (32bit) and x86_64 (64bit)? There is a simple rule: if you have 4gb of RAM or more, choose x86_64 (64bit).

Centos can be downloaded from here: http://mirror.centos.org/centos/6/isos/ (we recommend downloading latest releases).

As an example, for i386 you should download the file CentOS-6.7-i386-minimal.iso.

For x86_64, download the file CentOS-6.7-x86_64-minimal.iso

Make sure file IS NOT LiveCD and extension is ISO, but not .torrent!

After you burn and boot from this CD, you will see:

Centos (1).jpg

Press enter. System will ask you to check your installation media. Press Skip to save the time:

Centos (2).jpg

Now select your language here and click Next:

Centos (3).jpg

Select your keyboard layout and click Next:

Centos (4).jpg

If your hard disk is blank (no partition) you will get this message. Click Yes, discard any data and then click Next:

Centos (5).jpg

Type your Hostname and click Next:

Centos (6).jpg

Select your time zone and click Next:

Centos (7).jpg

Create a strong password for your system and click Next.

Centos (8).jpg

Read this menu carefully. First section will use all the spaces of your HDD and erase all data. Second Section will only remove previous Linux partition. Third section will reduce size of exiting partition and create some free spaces to install CentOS. In last section you can create partition manually. Just choose last section to manually create partition:

Centos (9).jpg

Here you have to create root ( / ) partition to install CentOS and Swap area. Select free and click Create.

Centos (10).jpg

Select Standard Partition and click Create. Optionally, if your hardware supports it and you are familiar with configuration, you can setup RAID1.

Centos (11).jpg

You have to create a Linux swap area. Swap area should be same size as server's RAM size, but no more than 4GB. In File System Type select Swap. Give the size of this partition in MB and click Ok:

Centos (12).jpg

Next, you have to create root ( / ) partition. Again, select free, click Create and click "Create" in next window too.

Change "Mount Point" to " / ", select "Fill to maximum allowable size" and click "OK".

"File System Type" can be either EXT3 or EXT4.

Centos (12 1).jpg

Click "Next".

Now you will get a warning message (Format Warning). Click Format. If additional warning table will appear, click "Write changes to disk".

Centos (13).jpg

Click Next:

Centos (14).jpg

Select your desired option. If you want desktop version select Desktop or if you want to install server then select Basic Server. You can also customize default software installation by clicking on Add additional Software repositories or Modify repository. Then click Next.

Centos (15).jpg

After finishing all the process you will get a "Congratulations" message. Click on Reboot.

Centos (16).jpg

After reboot your computer you will get a login screen. Just type root as user name and your password.


Troubleshooting

If the installer is asking you for CD #2, #3, #4, or anything else, it means you failed to UNSELECT all packets, as was pointed out above.

Solution:

1. Read the manual carefully once again.

2. Do as it says EXACTLY (unselect ALL packets).

3. Reinstall.


See also

CentOS installation on OVH servers