This is an old revision of the document!
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.
/dev/sda
. http://mirror.centos.org/altarch/7.8.2003/os/i386/images/boot.iso
(for 32-bit OSs) http://mirror.centos.org/centos-7/7/os/x86_64/images/boot.iso
(for 64-bit OSs) boot.iso
. sudo /bin/dd if=boot.iso of=/dev/sda bs=4M status=progress oflag=sync
F12
, or F9
, before the boot sequence starts).http:\/\/
): mirror.centos.org/altarch/7.8.2003/os/i386
mirror.centos.org/centos-7/7/os/x86_64
root
password, and configure user accounts; tick the box “Make this user administrator” to give sudo rights to a given user (the user is added to the wheel
group). sudo yum -y install git emacs
Optional: to apply CERN's updates on top of the standard CentOS7 OS, the script CERNify_CentOS7.sh
(see attachments) can be used (last tested on Aug. 6, 2020; written by Lars Noethe). The only prerequisite to run it is the .repo
file (see attachments) for the relevant CC7 packages to be added (this file can be obtained from the CERN Service Desk).
https://indico.cern.ch/event/842824/attachments/1920624/3177632/PreparingFC7.pdf
Configure connection to FC7
* follow the instructions in
https://indico.cern.ch/event/842824/attachments/1920624/3177632/PreparingFC7.pdf (from the 3rd Tracker Upgrade DAQ school, link??)
```
sudo yum -y install wireshark ```
```
#!/bin/bash
sudo wget http://download-ib01.fedoraproject.org/pub/epel/6/x86_64/Packages/r/rarpd-ss981107-42.el6.x86_64.rpm sudo yum install rarpd-ss981107-42.el6.x86_64.rpm
cat <<EOF > /tmp/rarpd.service [Unit] Description=Reverse Address Resolution Protocol Requests Server Documentation=man.rarpd(8) Requires=network.target After=network.target
[Service] Type=forking User=root #EnvironmentFile=/etc/sysconfig/rarpd ExecStart=/usr/sbin/rarpd -a -e -v
[Install] WantedBy=multi-user.target EOF
sudo cp /tmp/rarpd.service /etc/systemd/system
# restart daemons and rarpdaemon sudo systemctl daemon-reload sudo systemctl restart rarpd ```
```
git clone https://gitlab.cern.ch/cmsinnertracker/Ph2_ACF.git -o cmsinnertracker cd Ph2_ACF git checkout -b b_IT_v3p9 IT-v3.9 ```