Centos installation shared » History » Version 5
Amber Herold, 11/20/2013 10:49 AM
1 | 1 | Amber Herold | h2. Why CentOS? |
---|---|---|---|
2 | |||
3 | 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. |
||
4 | |||
5 | CentOS is the same as Red Hat Enterprise Linux (RHEL), except that it is free and supported by the community. |
||
6 | |||
7 | We have most experience in the installation on CentOS and this installation guide has specific instruction for the process. |
||
8 | |||
9 | 4 | Amber Herold | see [[Select_Linux_distribution_to_use|Linux distribution recommendation]] for more information on Operating System choices. |
10 | 1 | Amber Herold | |
11 | 5 | Amber Herold | h2. CentOS Installation Resources |
12 | 4 | Amber Herold | |
13 | Note that upgrading from CentOS 5 to CentOS 6 might damage existing filesystems and operating systems as described in "CentOS Migration Guide":http://wiki.centos.org/HowTos/MigrationGuide. That's why we recommend starting with a fresh install of CentOS 6. If you need more details on how to install CentOS than we provide here, the following links provide excellent step by step guide on how to install CentOS 6 Linux from scratch on a new machine: |
||
14 | |||
15 | * http://linuxmoz.com/how-to-install-centos-6-linux-for-servers-desktops |
||
16 | * http://www.if-not-true-then-false.com/2011/centos-6-netinstall-network-installation |
||
17 | |||
18 | |||
19 | 2 | Amber Herold | h2. Download the ISO disk of CentOS |
20 | 1 | Amber Herold | |
21 | 2 | Amber Herold | *Latest version tested at NRAMM:* CentOS 5.8 for Leginon/Appion 2.2, CentOS 6.3 for Leginon/Appion 2.2-redux and trunk |
22 | 1 | Amber Herold | |
23 | 2 | Amber Herold | *Note:* All formally released versions of Appion (versions 1.x and 2.x) run on CentOS 5.x. Also available is 2.2-redux, which has the same features as 2.2, but runs on CentOS 6.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. |
24 | 1 | Amber Herold | |
25 | # ISO files are available at |
||
26 | ## http://wiki.centos.org/Download |
||
27 | ## http://mirrors.kernel.org/centos/ |
||
28 | # Click on i386 for 32bit machines or x86_64 for 64bit machines |
||
29 | 2 | Amber Herold | # Pick a mirror and download the appropriate file such as 'CentOS-5.8-i386-bin-DVD-1of2.iso ' |
30 | 1 | Amber Herold | |
31 | h2. Confirm download went correctly |
||
32 | |||
33 | Perform a SHA1SUM confirmation: |
||
34 | |||
35 | <pre> |
||
36 | sha1sum CentOS-5.8-i386-bin-DVD-1of2.iso |
||
37 | </pre> |
||
38 | |||
39 | 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. |
||
40 | For example: |
||
41 | |||
42 | * http://centos.mirrors.tds.net/pub/linux/centos/5.4/isos/x86_64/sha1sum.txt for 64bit |
||
43 | * http://centos.mirrors.tds.net/pub/linux/centos/5.4/isos/i386/sha1sum.txt for 32bit |
||
44 | |||
45 | |||
46 | |||
47 | h2. Burn ISO file to DVD disk |
||
48 | |||
49 | Use dvdrecord in Linux to burn disk. |
||
50 | |||
51 | <pre> |
||
52 | dvdrecord -v -dao gracetime=10 dev=/dev/dvd speed=16 CentOS-5.8-i386-bin-DVD-1of2.iso |
||
53 | </pre> |
||
54 | |||
55 | h2. Install CentOS with default packages |
||
56 | |||
57 | * Setup network, root, password as desired |
||
58 | 4 | Amber Herold | * This installation guide assumes that *"Software Development Workstation"* is selected during the package selection step |
59 | 1 | Amber Herold | * More information available at [http://wiki.centos.org/Documentation CentOS Documentation] |
60 | |||
61 | h2. Add yourself to the sudoers file |
||
62 | |||
63 | *Note:* This step is optional, however you will need root access to complete the Appion Installation. |
||
64 | |||
65 | Make sure you have root permission. |
||
66 | Open the file in an editor. ex. vi /etc/sudoers |
||
67 | Look for the line: root ALL=(ALL) ALL. |
||
68 | Add this line below the root version: |
||
69 | |||
70 | <pre> |
||
71 | your_username ALL=(ALL) ALL |
||
72 | </pre> |
||
73 | |||
74 | Logout and log back in with your username. |
||
75 | 4 | Amber Herold | |
76 | h2. Disable SELinux and Firewall |
||
77 | |||
78 | To disable "SELinux":http://wiki.centos.org/HowTos/SELinux: |
||
79 | |||
80 | # Edit file "/etc/selinux/config" |
||
81 | # Change "SELINUX=enforcing" to "SELINUX=disabled" |
||
82 | # Save the file |
||
83 | # Restart your computer |
||
84 | |||
85 | To disable firewall run _system-config-firewall-tui_ command and use Space key to unchecked the checkbox next to Enabled. |
||
86 | |||
87 | 1 | Amber Herold | |
88 | The CentOS installation is complete. |