This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
nanocrate:nanocrate [2020/08/27 13:48] – mmissi | nanocrate:nanocrate [2020/09/24 08:44] (current) – mmissi | ||
---|---|---|---|
Line 3: | Line 3: | ||
=== Assembly instructions === | === Assembly instructions === | ||
https:// | https:// | ||
- | |||
- | === Configure FC7 === | ||
- | https:// | ||
- | * More information: | ||
=== Installation of CentOS7 === | === Installation of CentOS7 === | ||
Line 21: | Line 17: | ||
- Connect the USB disk to a laptop with Internet access. \\ \\ | - Connect the USB disk to a laptop with Internet access. \\ \\ | ||
- Find the name of the device corresponding to the USB disk; in the following, this is assumed to be ''/ | - Find the name of the device corresponding to the USB disk; in the following, this is assumed to be ''/ | ||
- | - Download the CentOS7 boot image at \\ '' | + | - Download the CentOS7 boot image at \\ [32-bit] |
- | - Write the image to the USB disk with the following command \\ '' | + | - Write the image to the USB disk with the following command \\ \\ <code bash>sudo /bin/dd if=boot.iso of=/dev/sda bs=4M status=progress oflag=sync'' |
* Connect the USB disk to the computer on which CentOS7 should be installed, and restart the system booting from the USB disk. | * Connect the USB disk to the computer on which CentOS7 should be installed, and restart the system booting from the USB disk. | ||
Line 31: | Line 27: | ||
- Configure the system as required (timezone, keyboard layout, etc). \\ \\ | - Configure the system as required (timezone, keyboard layout, etc). \\ \\ | ||
- If necessary, enable explicitly the LAN, or WiFi, connection. \\ \\ | - If necessary, enable explicitly the LAN, or WiFi, connection. \\ \\ | ||
- | - Under " | + | - Under " |
- Select the software packages to be included in the installation (example: "GNOME Desktop", | - Select the software packages to be included in the installation (example: "GNOME Desktop", | ||
- If necessary, in " | - If necessary, in " | ||
Line 38: | Line 34: | ||
- Wait for the installation to finish, then reboot, as per instructions. \\ \\ | - Wait for the installation to finish, then reboot, as per instructions. \\ \\ | ||
- After rebooting, complete the installation procedure (authentication, | - After rebooting, complete the installation procedure (authentication, | ||
- | - Manually install any additional packages that may be needed, for example \\ '' | + | - Manually install any additional packages that may be needed, for example \\ \\ <code bash> |
+ | |||
+ | **Optional**: | ||
+ | |||
+ | <file bash CERNify_CentOS7.sh> | ||
+ | #!/bin/sh | ||
+ | # CERNify the centos7 installation | ||
+ | # Download the CentOS-CERN.repo to ~/ | ||
+ | # Author: Lars Noehte | ||
+ | sudo cp ~/ | ||
+ | |||
+ | cd ~/ | ||
+ | |||
+ | wget http:// | ||
+ | |||
+ | sudo / | ||
+ | |||
+ | / | ||
+ | echo -e " | ||
+ | sudo / | ||
+ | echo -e " | ||
+ | sudo /usr/bin/yum -y install | ||
+ | echo -e " | ||
+ | sudo / | ||
+ | echo -e " | ||
+ | sudo / | ||
+ | </ | ||
+ | |||
+ | <file bash CentOS-CERN.repo> | ||
+ | # CentOS-CERN.repo | ||
+ | # | ||
+ | # CERN CentOS 7 uses local repositories at http:// | ||
+ | # | ||
+ | |||
+ | [cern] | ||
+ | name=CentOS-$releasever - CERN | ||
+ | baseurl=http:// | ||
+ | gpgcheck=1 | ||
+ | enabled=1 | ||
+ | protect=1 | ||
+ | priority=5 | ||
+ | gpgkey=file:/// | ||
+ | |||
+ | [cern-testing] | ||
+ | name=CentOS-$releasever - CERN Testing | ||
+ | baseurl=http:// | ||
+ | gpgcheck=1 | ||
+ | enabled=0 | ||
+ | protect=1 | ||
+ | priority=5 | ||
+ | gpgkey=file:/// | ||
+ | |||
+ | [cernonly] | ||
+ | name=CentOS-$releasever - CERN Only | ||
+ | baseurl=http:// | ||
+ | gpgcheck=1 | ||
+ | enabled=0 | ||
+ | protect=1 | ||
+ | priority=5 | ||
+ | gpgkey=file:/// | ||
+ | |||
+ | [cernonly-testing] | ||
+ | name=CentOS-$releasever - CERN Only Testing | ||
+ | baseurl=http:// | ||
+ | gpgcheck=1 | ||
+ | enabled=0 | ||
+ | protect=1 | ||
+ | priority=5 | ||
+ | gpgkey=file:/// | ||
+ | |||
+ | [cern-debug] | ||
+ | name=CentOS-7 - CERN - Debuginfo | ||
+ | baseurl=http:// | ||
+ | gpgcheck=1 | ||
+ | enabled=0 | ||
+ | protect=1 | ||
+ | priority=5 | ||
+ | gpgkey=file:/// | ||
+ | |||
+ | [cernonly-debug] | ||
+ | name=CentOS-7 - CERN Only - Debuginfo | ||
+ | baseurl=http:// | ||
+ | gpgcheck=1 | ||
+ | enabled=0 | ||
+ | protect=1 | ||
+ | priority=5 | ||
+ | gpgkey=file:/// | ||
+ | |||
+ | [cern-source] | ||
+ | name=CentOS-$releasever - CERN Sources | ||
+ | baseurl=http:// | ||
+ | gpgcheck=1 | ||
+ | enabled=0 | ||
+ | protect=1 | ||
+ | priority=5 | ||
+ | gpgkey=file:/// | ||
+ | |||
+ | [cernonly-source] | ||
+ | name=CentOS-$releasever - CERN Only Sources | ||
+ | baseurl=http:// | ||
+ | gpgcheck=1 | ||
+ | enabled=0 | ||
+ | enabled=0 | ||
+ | protect=1 | ||
+ | priority=5 | ||
+ | gpgkey=file:/// | ||
+ | |||
+ | [cern-testing-source] | ||
+ | name=CentOS-$releasever - CERN Testing Sources | ||
+ | baseurl=http:// | ||
+ | gpgcheck=1 | ||
+ | enabled=0 | ||
+ | protect=1 | ||
+ | priority=5 | ||
+ | gpgkey=file:/// | ||
+ | |||
+ | [cernonly-testing-source] | ||
+ | name=CentOS-$releasever - CERN Only Testing Sources | ||
+ | baseurl=http:// | ||
+ | gpgcheck=1 | ||
+ | enabled=0 | ||
+ | enabled=0 | ||
+ | protect=1 | ||
+ | priority=5 | ||
+ | gpgkey=file:/// | ||
+ | </ | ||
+ | |||
+ | === Configuration of FC7 === | ||
+ | |||
+ | General information and instructions on the FC7 setup and the related software can be found in the material of the [[https:// | ||
+ | |||
+ | * Follow the instructions in https:// | ||
+ | - install '' | ||
+ | - install '' | ||
+ | # | ||
+ | |||
+ | sudo wget http:// | ||
+ | sudo yum install rarpd-ss981107-42.el6.x86_64.rpm | ||
+ | |||
+ | cat <<EOF > / | ||
+ | [Unit] | ||
+ | Description=Reverse Address Resolution Protocol Requests Server | ||
+ | Documentation=man.rarpd(8) | ||
+ | Requires=network.target | ||
+ | After=network.target | ||
+ | |||
+ | [Service] | ||
+ | Type=forking | ||
+ | User=root | ||
+ | # | ||
+ | ExecStart=/ | ||
+ | |||
+ | [Install] | ||
+ | WantedBy=multi-user.target | ||
+ | EOF | ||
+ | |||
+ | sudo cp / | ||
+ | |||
+ | # restart daemons and rarpdaemon | ||
+ | sudo systemctl daemon-reload | ||
+ | sudo systemctl restart rarpd | ||
+ | </ | ||
+ | - clone the git repository for the main software application ('' | ||
+ | git clone https:// | ||
+ | cd Ph2_ACF | ||
+ | git checkout -b b_IT_v3p9p4 IT-v3.9.4 | ||
+ | </ | ||
+ | - Follow the instructions in '' | ||
+ | sudo yum -y install epel-release | ||
+ | sudo yum -y install pugixml-devel | ||
+ | sudo yum -y install boost-devel | ||
+ | sudo yum -y install root | ||
+ | sudo curl http:// | ||
+ | sudo yum clean all | ||
+ | sudo yum -y groupinstall uhal | ||
+ | sudo yum -y install cmake | ||
+ | </ | ||
- | **Optional**: | + | === Testing with Ph2_ACF === |
- | (last tested on Aug. 6, 2020; written by Lars Noethe). The only prerequisite to run it is the .repo file | + | |
- | for the relevant CC7 packages to be added (this file can be obtained from the CERN Service Desk). | + | |
+ | This section is work-in-progress. For the moment, the reader is referred to the documentation in the '' |