Project

General

Profile

Instructions for installing CentOS on your computer » History » Version 49

Amber Herold, 04/24/2012 03:42 PM

1 1 Amber Herold
h1. Instructions for installing CentOS on your computer
2 19 Amber Herold
3 1 Amber Herold
4 23 Amber Herold
h2. Why CentOS?
5 1 Amber Herold
6 43 Anchi Cheng
If you have a new computer(s) for your Leginon/Appion installation, we recommend installing CentOS because it is considered to be more stable than other varieties of Linux.
7 1 Amber Herold
8 43 Anchi Cheng
CentOS is the same as Red Hat Enterprise Linux (RHEL), except that it is free and supported by the community.
9
10
We have most experience in the installation on CentOS and this installation guide has specific instruction for the process.
11
12
see [[Select_Linux_distribution_to_use|Linux distribution recommendation]] for more.
13 1 Amber Herold
14 48 Amber Herold
h2. Download the ISO disk of CentOS 5.8 
15 21 Amber Herold
16 49 Amber Herold
*Note:* All formally released versions of Appion (versions 1.x and 2.x) run on CentOS 5.x. Appion developers, please note that the development branch of Appion is targeting CentOS 6.x and Appion 3.0 will run on CentOS 6.x.  
17
18 1 Amber Herold
 # ISO files are available at
19 8 Amber Herold
 ## http://wiki.centos.org/Download
20 45 Amber Herold
 ## http://mirrors.kernel.org/centos/
21 1 Amber Herold
 # Click on i386 for 32bit machines or x86_64 for 64bit machines
22 48 Amber Herold
 # Pick a mirror and download 'CentOS-5.8-i386-bin-DVD-1of2.iso ' file
23 1 Amber Herold
24 33 Neil Voss
h2. Confirm download went correctly
25
26
perform a SHA1SUM confirmation:
27
28 1 Amber Herold
<pre>
29 49 Amber Herold
sha1sum CentOS-5.8-i386-bin-DVD-1of2.iso
30 1 Amber Herold
</pre>
31 33 Neil Voss
32 46 Amber Herold
The result should be the same as in the sha1sum file provided by CentOS. This is found at the same location you downloaded the .iso file.
33
For example:
34 34 Neil Voss
35
* http://centos.mirrors.tds.net/pub/linux/centos/5.4/isos/x86_64/sha1sum.txt for 64bit
36
* http://centos.mirrors.tds.net/pub/linux/centos/5.4/isos/i386/sha1sum.txt for 32bit
37
38
39 33 Neil Voss
40 1 Amber Herold
h2. Burn ISO file to DVD disk 
41
42 6 Amber Herold
Use dvdrecord in Linux to burn disk
43 1 Amber Herold
44 27 Neil Voss
<pre>
45 33 Neil Voss
dvdrecord -v -dao gracetime=10 dev=/dev/dvd speed=16 CentOS-5.4-x86_64-bin-DVD.iso
46 6 Amber Herold
</pre>
47 1 Amber Herold
48 47 Amber Herold
h2. Install CentOS 5.5 with default packages 
49 1 Amber Herold
50 28 Neil Voss
 * Setup network, root, password as desired
51
 * This install will assume that only *"Desktop - GNOME"* to be selected
52 1 Amber Herold
 * More information available at [http://wiki.centos.org/Documentation CentOS Documentation]
53
54 23 Amber Herold
h2. Add yourself to the sudoers file 
55 1 Amber Herold
56
Make sure you have root permission.
57 12 Amber Herold
Open the file in an editor. ex. vi /etc/sudoers
58 1 Amber Herold
Look for the line: root ALL=(ALL) ALL.
59 15 Amber Herold
Add this line below the root version:
60 1 Amber Herold
61
<pre>
62 37 Amber Herold
your_username ALL=(ALL)       ALL
63 6 Amber Herold
</pre>
64
65 1 Amber Herold
Logout and log back in with your username.
66
67 17 Amber Herold
The CentOS installation is complete.
68
69 21 Amber Herold
70 25 Amber Herold
______
71 32 Amber Herold
72 40 Anchi Cheng
[[Select Linux distribution to use|< Select Linux distribution to use ]] | [[Download additional Software|Download additional Software >]]
73 26 Amber Herold
74 31 Amber Herold
75 32 Amber Herold
______