Difference between revisions of "DAQ6 CentOS7 install"

From New IAC Wiki
Jump to navigation Jump to search
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
=Setup Disk array=
 +
 +
 +
The SAS hard drives are not recognized when the computer is first taken out of the box
 +
 +
You need to enter the '''Configuration Menu''' from the '''BIOS''' by hitting Ctrl-S.  You get to this point during the boot process by hitting any key after the computer has done a self diagnostic.
 +
 +
The Startup Splash screen takes a while to come up and looks like this
 +
 +
[[File:DAQ6_SplashSU.png | 200 px]]
 +
 +
After you see the above splash scree and hit any key you will see the screen go dark and then asked to hit Ctrl-s
 +
 +
[[File:DAQ6_Crtl-s.png | 200 px]]
 +
 +
Below is the configuration menu you will see, select the Create Logical Drive menu item
 +
 +
[[File:DAQ6_ConfigMenu.png | 200 px]]
 +
 +
 +
Below is the configuration chosen to read a RAID disk using the four drives in a RAID 10 (1+0) configuration
 +
 +
[[File:DAQ6_CreatLogDrive.png | 200 px]]
 +
 +
You then return to the configuration menu and select "Select Boot Volume" to see the screen below
 +
 +
[[File:DAQ6_SelectBootVolume.png | 200 px]]
 +
 +
 +
After the above is setup, the standard installation procedure from a Live DVD can be used to install CentOS 7
 +
 +
=Window manager=
 +
== Install FVWM==
 +
 +
KDE was very slow so I installed FVWM using
 +
 +
as root
 +
 +
yum install fvwm
 +
 +
I then set the runlevel to 3
 +
 +
systemctl set-default multi-user.target
 +
 +
 +
you then login as daq and create the file ".xinitrc" with the line entry
 +
 +
exec /usr/local/bin/fvwm
 +
 +
 +
this will launch fvwm for you if you type the folowing on the command line
 +
 +
ssh-agent startx
 +
 +
 +
==Install Xfce==
 +
 +
did not use Xfce as a window manager but used fvwm above
 +
 +
 +
yum install epel-release
 +
 +
yum --enablerep=epel -y groups install "Xfce"
  
enp4s0f0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
+
then setup the graphical target
        inet 134.50.3.153  netmask 255.255.255.128  broadcast 134.50.3.255
 
        inet6 fe80::82c1:6eff:fe21:396  prefixlen 64  scopeid 0x20<link>
 
        ether 80:c1:6e:21:03:96  txqueuelen 1000  (Ethernet)
 
        RX packets 3699  bytes 4760308 (4.5 MiB)
 
  
  
 +
systemctl isolate graphical.target
  
=Setup Disk array=
 
  
 +
to keep it as the default
 +
 +
<pre>
 +
sudo systemctl set-default graphical.target
 +
rm '/etc/systemd/system/default.target'
 +
ln -s '/usr/lib/systemd/system/graphical.target' '/etc/systemd/system/default.target
 +
 +
</pre>
 +
 +
the command below will check which GUI is used
 +
 +
ls -l /etc/systemd/system/display-manager.service
  
The SAS hard drives are not recognized when the computer is first taken out of the box
+
=hosts file=
  
You need to enter the '''Configuration Menu''' from the '''BIOS''' by hitting Ctrl-S.  You get to this point during the boot process by hitting any key after the computer has done a self diagnostic.
+
added teh following lines to the /etc/hosts so computer names are mapped to IP addresses
  
 +
134.50.3.132 rocdaq2 rocdaq2.physics.isu.edu
 +
134.50.3.153 daq6 daq6.physics.isu.edu
  
  
 
[[Host_Computer_Configuration#DAQ6_configuration]]
 
[[Host_Computer_Configuration#DAQ6_configuration]]

Latest revision as of 21:30, 19 May 2017

Setup Disk array

The SAS hard drives are not recognized when the computer is first taken out of the box

You need to enter the Configuration Menu from the BIOS by hitting Ctrl-S. You get to this point during the boot process by hitting any key after the computer has done a self diagnostic.

The Startup Splash screen takes a while to come up and looks like this

DAQ6 SplashSU.png

After you see the above splash scree and hit any key you will see the screen go dark and then asked to hit Ctrl-s

DAQ6 Crtl-s.png

Below is the configuration menu you will see, select the Create Logical Drive menu item

DAQ6 ConfigMenu.png


Below is the configuration chosen to read a RAID disk using the four drives in a RAID 10 (1+0) configuration

DAQ6 CreatLogDrive.png

You then return to the configuration menu and select "Select Boot Volume" to see the screen below

DAQ6 SelectBootVolume.png


After the above is setup, the standard installation procedure from a Live DVD can be used to install CentOS 7

Window manager

Install FVWM

KDE was very slow so I installed FVWM using

as root

yum install fvwm

I then set the runlevel to 3

systemctl set-default multi-user.target


you then login as daq and create the file ".xinitrc" with the line entry

exec /usr/local/bin/fvwm


this will launch fvwm for you if you type the folowing on the command line

ssh-agent startx


Install Xfce

did not use Xfce as a window manager but used fvwm above


yum install epel-release
yum --enablerep=epel -y groups install "Xfce"

then setup the graphical target


systemctl isolate graphical.target


to keep it as the default

sudo systemctl set-default graphical.target
rm '/etc/systemd/system/default.target'
ln -s '/usr/lib/systemd/system/graphical.target' '/etc/systemd/system/default.target

the command below will check which GUI is used

ls -l /etc/systemd/system/display-manager.service

hosts file

added teh following lines to the /etc/hosts so computer names are mapped to IP addresses

134.50.3.132 rocdaq2 rocdaq2.physics.isu.edu
134.50.3.153 daq6 daq6.physics.isu.edu


Host_Computer_Configuration#DAQ6_configuration