Switching to a Chinese server
The Beckhoff repository is not accessible from China and has to be switched over to the Chinese server. Run the pkgrepo-set
script to switch from the default server to the Chinese server.
Switch to the Chinese server as follows:
- 1. Enter the
doas sh /usr/local/share/examples/bhf/pkgrepo-set.sh china
command in the console. - 2. The URL in the file
TCBSD.conf
is changed fromhttps://tcbsd.beckhoff.com/TCBSD/14/stable/packages
tohttps://tcbsd.beckhoff.com.cn/TCBSD/14/stable/packages
.
- You have successfully set the Chinese server. You can restore the default settings with the command
doas sh /usr/local/share/examples/bhf/pkgrepo-set.sh release
.