What operations need to be done after the mac virtual machine is installed to improve the mac user experience ?, Mac Virtual Machine

Source: Internet
Author: User
Tags install homebrew

What operations need to be done after the mac virtual machine is installed to improve the mac user experience ?, Mac Virtual Machine

1. Better mac experience

After the mac virtual machine is installed, the system needs to be used smoothly and the mouse slides smoothly. Therefore, the vmware tools tool must be installed.

Download the vmwaretools image. My name is VMware + Tools + darwin310.iso.

1. Launch the installation image in the virtual machine, right-click the Virtual Machine and choose "Settings" from the shortcut menu. In the settings options, select the VMware + Tools + darwin310.iso image.

2. Select the Virtual Machine menu> removable devices> CD/DVD> connection. The Chameleon installation disc icon (Darwin Chameleon 10.6.4) appears on the Virtual Machine desktop. Double-click the vmware tools Installation Wizard and double-click Install VMware Tools to start installation.

3. Start installation. After the installation is complete, restart the Virtual Machine and experience the desktop move with the mouse more smoothly. This is the experience.

Installation Complete

2. connect to the network so that the virtual machine can access the Internet and access the Virtual Machine externally.

If you want to access the Internet, you need to configure a static IP address. Preference-> set static IP here on the network, and set dns in advanced options (the same as the Virtual Machine gateway address); otherwise, the Internet will still fail.

If you want remote access, for example, xshell requires ssh to the virtual machine, you need to set it. Preference settings-> share, check Remote Login.

Iii. Install homebrew

1. If you need to install some tools or software, you need to install homebrew. If you need to connect to the Internet, you can perform this operation after setting the static IP address.

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 

Command Line Tools will be installed during homebrew installation, and Tools such as git and svn will be installed on the system.

2. install the pip tool. You must run the easy_install command. You cannot run the brew install command.

easy_install pip

The following error is reported when brew install is used:

localhost:~ hadoop$ brew install pipError: No available formula with the name "pip" Homebrew provides pip via: `brew install python`. However you will thenhave two Pythons installed on your Mac, so alternatively you can installpip via the instructions at:  https://pip.readthedocs.io/en/stable/installing/localhost:~ hadoop$ 

3. Install mysql

brew install mysql

Installation completion prompt:

==> /usr/local/Cellar/mysql/5.7.21/bin/mysqld --initialize-insecure --user=hadoop --basedir=/usr/local/Cellar/mysql/5.7.21 --datadir=/usr/local/var/mysql --tmpdir=/tmp==> CaveatsWe've installed your MySQL database without a root password. To secure it run:    mysql_secure_installationMySQL is configured to only allow connections from localhost by defaultTo connect run:    mysql -urootTo have launchd start mysql now and restart at login:  brew services start mysqlOr, if you don't want/need a background service you can just run:  mysql.server start==> Summary

As prompted, we also need to run the command mysql_secure_installation, but before running, we need to start mysql.

mysql.server start

After running mysql_secure_installation, follow the prompts to set the user name and password, delete anonymous users, and delete the test account. Then, you can log on to mysql with the set password.

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.