This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
nanocrate:nanocrate [2020/07/08 15:40] – leac | nanocrate:nanocrate [2020/09/24 08:44] (current) – mmissi | ||
---|---|---|---|
Line 2: | Line 2: | ||
=== Assembly instructions === | === Assembly instructions === | ||
- | * https:// | + | https:// |
- | === Configure FC7 === | + | |
- | * https:// | + | === Installation of CentOS7 === |
+ | |||
+ | **Note**: | ||
+ | at the time of writing, | ||
+ | it does not seem to be possible to install CERN's CentOS7 (CC7) OS from an external drive (e.g. USB stick), | ||
+ | because the ISO image in the official repository does not contain a boot partition. | ||
+ | Due to this, these instructions apply to the standard CentOS7 OS. | ||
+ | |||
+ | The main steps to install CentOS7 from an external USB drive are summarized below. | ||
+ | * Write the CentOS7 boot image to a USB disk. \\ \\ | ||
+ | - Find a working USB disk (if unsure, try to write a standard Ubuntu image on it, and verify if the USB disk boots correctly). \\ \\ | ||
+ | - 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 ''/ | ||
+ | - Download the CentOS7 boot image at \\ [32-bit] '' | ||
+ | - Write the image to the USB disk with the following command \\ \\ <code bash> | ||
+ | |||
+ | * Connect the USB disk to the computer on which CentOS7 should be installed, and restart the system booting from the USB disk. | ||
+ | |||
+ | * If the USB disk is not booted by default before the computer hard-drive, access the computer' | ||
+ | |||
+ | * Follow the installation instructions. \\ \\ | ||
+ | - Configure | ||
+ | - If necessary, enable explicitly the LAN, or WiFi, connection. \\ \\ | ||
+ | - Under " | ||
+ | - Select the software packages to be included in the installation (example: "GNOME Desktop", | ||
+ | - If necessary, in " | ||
+ | - Start the installation. \\ \\ | ||
+ | - Input the '' | ||
+ | - Wait for the installation to finish, then reboot, as per instructions. \\ \\ | ||
+ | - After rebooting, complete the installation procedure (authentication, | ||
+ | - 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 / | ||
+ | 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 | ||
+ | </ | ||
+ | |||
+ | === Testing with Ph2_ACF === | ||
+ | |||
+ | This section is work-in-progress. For the moment, the reader is referred to the documentation in the '' |