1.Ubuntu boot directly into command line modeafter installing Ubuntu, because the desktop system is too resource-intensive, you need to set its boot automatically into the command line mode1) sudo gedit/etc/default/grub2) grub_cmdline_linux_default= "quiet" ===>grub_cmdline_linux_default= "quiet splash text" 3) sudo update-grub4) Rebootattached: temporary switch availablealt+ctrl+f1 Switch to command-line modeALT+CTRL+F7 switch to the image interface/You can also use STARTX at the command line 2. Install Vimsudo apt-get install vim3. Installing the SSH servicesudo apt-get install openssh-server #如果出现can not get lock/... Erase the lock file .
Check when putty cannot connect after installation is complete: 1) View/etc/ssh/sshd_config
#主要检查以下配置
PermitRootLogin yes #prohibit-password 禁止远程直接用root用户登陆
PasswordAuthentication yes #设置是否允许口令验证2) To see if the virtual machine is the same as the same network segment, I use the vmnet1, need to set their own. If the shared host IP is the same network segment4. Install MySQL sudo apt-get install mysql-server mysql-client 5. Clone the virtual machineNote: 1. How to save after modifying the ReadOnly file? : w!sudo Tee%
(a) MySQL master-Slave environment construction