Note: When transferring files through ftp or logging in through ssh, ubuntu needs to use the bridged Internet environment
ftp:
sudo apt-get install vsftpd
south you /etc/vsftpd.conf
Remove the "#" in the following two sentences
#local_enable=yes
#write_enable=yes
sudo /etc/init.d/vsftpd restart or sudo service vsftpd restart restart
ssh:
sudo apt-get install openssh-server
First enter the /etc directory. The /etc directory stores some configuration files, such as passwd and other configuration files. To use ssh remote login, you need to configure the configuration information in the /etc/ssh/sshd_config file, use vim to edit, and use the command Enter vim /etc/ssh/sshd_config in line mode, after entering, press "i" to enter the editing state, find in its file and modify it to: PasswordAuthentication yes, PermitRootLogin yes two lines,
After modification, press "esc" to exit, and press ":wq" to save and exit, or directly press ":x" to save and exit directly
After exiting edit mode, return to command mode, enter sevice ssh start/stop/restart/status, start/stop/restart/status, select start to start the ssh service
NFS:
sudo apt-get install nfs-kernel-server portmap
sudo vi /etc/exports
add /home/nfs *(rw,sync,no_root_squash)
sudo /etc/init.d/nfs-kernel-server restart
Install the basic development environment:
sudo apt-get install build-essential
Install grammar, lexical analyzer:
sudo apt-get install bison flex
Install the man manual of the C function library:
sudo apt-get install manpages-dev