(a) MySQL master-Slave environment construction

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.