This is an old revision of the document!
https://indico.cern.ch/event/842824/attachments/1920624/3177632/PreparingFC7.pdf
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 linked here can be used (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).