This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| mtca:mtca:centos7install [2020/10/13 08:51] – leac | mtca:mtca:centos7install [2022/05/19 14:42] (current) – lnoeht | ||
|---|---|---|---|
| Line 17: | Line 17: | ||
| mkdir ROOT | mkdir ROOT | ||
| cd ROOT | cd ROOT | ||
| - | git clone --branch v6-22-00-patches https:// | + | git clone --branch v6-24-00-patches https:// |
| mkdir build install | mkdir build install | ||
| cd build | cd build | ||
| Line 65: | Line 65: | ||
| Install cactus | Install cactus | ||
| - | sudo yum install cactusboards-amc13-tools-1.2.14-0.centos7 cactusboards-amc13- | + | sudo yum install cactusboards-amc13-tools-1.2.14-0.centos7 cactusboards-amc13-amc13-1.2.14-0.centos7 |
| sudo yum install cactuscore-uhal-grammars cactuscore-uhal-uhal cactuscore-uhal-tests | sudo yum install cactuscore-uhal-grammars cactuscore-uhal-uhal cactuscore-uhal-tests | ||
| Line 120: | Line 120: | ||
| ifconfig -a | ifconfig -a | ||
| - | gives ```enp4s5``` for this network card, yours could be different | + | gives **enp4s5** for this network card, yours could be different |
| create file | create file | ||
| Line 132: | Line 132: | ||
| BROWSER_ONLY=no | BROWSER_ONLY=no | ||
| BOOTPROTO=none | BOOTPROTO=none | ||
| - | DEFROUTE=yes | + | DEFROUTE=no |
| IPV4_FAILURE_FATAL=no | IPV4_FAILURE_FATAL=no | ||
| IPV6INIT=yes | IPV6INIT=yes | ||
| IPV6_AUTOCONF=yes | IPV6_AUTOCONF=yes | ||
| - | IPV6_DEFROUTE=yes | + | IPV6_DEFROUTE=no |
| IPV6_FAILURE_FATAL=no | IPV6_FAILURE_FATAL=no | ||
| IPV6_ADDR_GEN_MODE=stable-privacy | IPV6_ADDR_GEN_MODE=stable-privacy | ||
| Line 156: | Line 156: | ||
| check the ip address change | check the ip address change | ||
| - | bash | ||
| ifconfig -a | ifconfig -a | ||
| Line 169: | Line 168: | ||
| bash | bash | ||
| #!/bin/bash | #!/bin/bash | ||
| - | |||
| sudo wget http:// | sudo wget http:// | ||
| - | | ||
| sudo yum install rarpd-ss981107-42.el6.x86_64.rpm | sudo yum install rarpd-ss981107-42.el6.x86_64.rpm | ||
| - | |||
| cat <<EOF > / | cat <<EOF > / | ||
| [Unit] | [Unit] | ||
| Line 180: | Line 176: | ||
| Requires=network.target | Requires=network.target | ||
| After=network.target | After=network.target | ||
| - | |||
| [Service] | [Service] | ||
| Type=forking | Type=forking | ||
| Line 186: | Line 181: | ||
| # | # | ||
| ExecStart=/ | ExecStart=/ | ||
| - | |||
| [Install] | [Install] | ||
| WantedBy=multi-user.target | WantedBy=multi-user.target | ||
| EOF | EOF | ||
| - | |||
| sudo cp / | sudo cp / | ||
| Line 198: | Line 191: | ||
| sudo systemctl restart rarpd | sudo systemctl restart rarpd | ||
| - | this script already is stored at ~/ | + | this script already is stored at **~/ |
| - | copy the ```/etc/hosts``` and the ```/etc/ethers``` files from the old mtca PC | + | copy the **/etc/hosts** and the **/etc/ethers** files from the old mtca PC |
| - | ```/etc/hosts``` contains: | + | **/etc/hosts** contains: |
| 127.0.0.1 | 127.0.0.1 | ||
| Line 216: | Line 209: | ||
| 192.168.0.36 bpixfed3 | 192.168.0.36 bpixfed3 | ||
| - | only copy the lines starting with 192.168.0. | + | only copy the lines starting with **192.168.0.** |
| - | ```/etc/ethers``` contains: | + | **/etc/ethers** contains: |
| # copied from old slc6 mtca PC | # copied from old slc6 mtca PC | ||
| Line 234: | Line 227: | ||
| copy all lines | copy all lines | ||
| - | try to ping the devices in the ```/etc/hosts``` file | + | try to ping the devices in the **/etc/hosts** file |
| ping mch | ping mch | ||