Project

General

Profile

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

Anchi Cheng, 09/14/2010 11:21 AM

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 38 Anchi Cheng
[[Linux distribution recommendation]]
7 23 Amber Herold
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. 
8 12 Amber Herold
9 22 Amber Herold
CentOS is the same as Red Hat Enterprise Linux (RHEL), except that it is free and supported by the community.
10 7 Amber Herold
11 1 Amber Herold
The reason I mention CentOS is because I wanted to keep the guide really simple. Another student and I run appion on Fedora 10 and we've run appion on SuSe in the past. I know we gotten most bits working on MacOSX, but some of the python libraries contain ancient Fortran code that does not compile easily on a Mac. But CentOS is certainly not a requirement in general, it is just that the first iteration of the guide is written for CentOS.
12 2 Amber Herold
13 21 Amber Herold
We provide the following instructions for CentOS Installation:
14 1 Amber Herold
15 27 Neil Voss
h2. Download the ISO disk of CentOS 5.4 
16 21 Amber Herold
17 1 Amber Herold
 # ISO files are available at
18 8 Amber Herold
 ## http://wiki.centos.org/Download
19 1 Amber Herold
 # Click on i386 for 32bit machines or x86_64 for 64bit machines
20 27 Neil Voss
 # Pick a mirror and download 'CentOS-5.4-x86_64-bin-DVD.iso' file
21 1 Amber Herold
22 33 Neil Voss
h2. Confirm download went correctly
23
24
perform a SHA1SUM confirmation:
25
26
<pre>
27
sha1sum CentOS-5.4-x86_64-bin-DVD.iso
28
</pre>
29
30 34 Neil Voss
The result should be the same as in the sha1sum file provided by CentOS:
31
32
* http://centos.mirrors.tds.net/pub/linux/centos/5.4/isos/x86_64/sha1sum.txt for 64bit
33
* http://centos.mirrors.tds.net/pub/linux/centos/5.4/isos/i386/sha1sum.txt for 32bit
34
35
36 33 Neil Voss
37 1 Amber Herold
h2. Burn ISO file to DVD disk 
38
39 6 Amber Herold
Use dvdrecord in Linux to burn disk
40 1 Amber Herold
41 27 Neil Voss
<pre>
42 33 Neil Voss
dvdrecord -v -dao gracetime=10 dev=/dev/dvd speed=16 CentOS-5.4-x86_64-bin-DVD.iso
43 6 Amber Herold
</pre>
44 1 Amber Herold
45 27 Neil Voss
h2. Install CentOS 5.4 with default packages 
46 1 Amber Herold
47 28 Neil Voss
 * Setup network, root, password as desired
48
 * This install will assume that only *"Desktop - GNOME"* to be selected
49 1 Amber Herold
 * More information available at [http://wiki.centos.org/Documentation CentOS Documentation]
50
51 23 Amber Herold
h2. Add yourself to the sudoers file 
52 1 Amber Herold
53
Make sure you have root permission.
54 12 Amber Herold
Open the file in an editor. ex. vi /etc/sudoers
55 1 Amber Herold
Look for the line: root ALL=(ALL) ALL.
56 15 Amber Herold
Add this line below the root version:
57 1 Amber Herold
58
<pre>
59 37 Amber Herold
your_username ALL=(ALL)       ALL
60 6 Amber Herold
</pre>
61
62 1 Amber Herold
Logout and log back in with your username.
63 17 Amber Herold
64
The CentOS installation is complete.
65 21 Amber Herold
66 25 Amber Herold
67 32 Amber Herold
______
68
69 25 Amber Herold
[[Download additional Software|Download additional Software >]]
70 26 Amber Herold
71 31 Amber Herold
72 32 Amber Herold
______