After ensuring that Ubuntu can access the Internet, use the following command to configure/initialize the development environment ((actually, install tftp, nfs, vim and other software, this script only supports Ubuntu-16.04 /Ubuntu-18.04).
Note: For the convenience of copying, these commands are written in multiple lines, you have to copy them to Notepad, merge them into one line, pay attention to the spaces:
book@100ask:~ $ wget --no-check-certificate -O Configuring_ubuntu.sh
https://weidongshan.coding.net/p/DevelopmentEnvConf/d/DevelopmentEnvConf/git/raw/master/Configuring_ubuntu.sh &&
sudo chmod +x Configuring_ubuntu.sh &&
sudo ./Configuring_ubuntu.sh
The above command is to download the script, add executable permissions to it, and run it.
Follow the prompts to enter the book password 123456 and select the corresponding system, as shown below:
Note: If Ubuntu is unable to access the Internet, please refer to the following "2.5 FAQ" for setting.
If you execute this command, the following error occurs:
I have never used a root user in the development process. If you want to use root privileges, you can add "sudo" before the command, such as "sudo ps -a".
If you like to use the root user, you can operate as shown below, first set a password for the root user, and then you can log in as the root user:
Recommended Posts