Install Ubuntu in VM player and Erlang in Ubuntu

Source: Internet
Author: User

Install Ubuntu with vmware-player and related settings:
1. Notes for installing Ubuntu with vmware-player:
To install the Chinese version of ubuntu, you must first create a virtual machine and then mount the ISO file of ubuntu. Otherwise, vmware-player will automatically install it into the English version when installing ubuntu, I have suffered a big loss for a long time before I think of a solution. Haha.

 

2. Set the Ubuntu Nic to the bridged mode, and Ubuntu to dynamically obtain the IP address.

 

3. Set shared folder in VMware-player to allow communication between the local machine and ubuntu. vmware-tools must be installed first. Otherwise, shared folder cannot be used,
Shared Folder is located in the/mnt/HGFS directory of the VM.

 

4. During Ubuntu installation, the root user password cannot be specified and needs to be modified later,
See http://blog.csdn.net/zhangxinrun/archive/2011/04/30/6377089.aspx.

 

Install Erlang In ubuntu (Log On As the root user ):
1. Backup:
Sudo CP/etc/APT/sources. LIST/etc/APT/sources. list_backup

 

2. Add Source:
Sudo gedit/etc/APT/sources. List
Http://ubuntu.cn99.com/ubuntu/ dapper main restricted universe multiverse
Dapper-Updates main restricted universe multiverse
Deb http://ubuntu.cn99.com/ubuntu/ dapper-security main restricted universe multiverse
Dapper-backports main restricted universe multiverse
Http://ubuntu.cn99.com/ubuntu-cn/ dapper main restricted universe multiverse
Http://cn.archive.ubuntu.com/ubuntu dapper main restricted universe multiverse
Deb http://cn.archive.ubuntu.com/ubuntu dapper-security main restricted universe multiverse
Dapper-Updates main restricted universe multiverse
Dapper-backports main restricted universe multiverse
Http://mirror.lupaworld.com/ubuntu/ubuntu-cn dapper main restricted universe multiverse
Deb http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse
The Deb-Src http://cn.archive.ubuntu.com/ubuntu dapper main restricted universe multiverse
Deb-Src http://cn.archive.ubuntu.com/ubuntu dapper-security main restricted universe multiverse
Deb-Src http://cn.archive.ubuntu.com/ubuntu dapper-Updates main restricted universe multiverse
Deb-Src http://cn.archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse
Deb-Src http://security.ubuntu.com/ubuntu dapper-security main restricted universe multiverse

 

3. Save the edited file and run the following command to update the file.
Sudo apt-Get update # This step updates your source list, which must be executed after the source is changed

 

4. Install the Java environment
Sudo apt-Get install sun-java5-jdk

 

5. Install the auxiliary Library
Apt-Get install build-essential libncurses5-dev M4 libssl-dev unixodbc-dev libc6 freeglut3-dev libwxgtk2.8-dev unzip tproc fop

 

6.download otp_src_r14b02.tar.gz at www.erlang.organd decompress it. Then, go to the otp_src_r14b02 directory and run the following command:
./Configure
Make
Make install

 

7. Test the installation result of Erlang
Enter ERL and press enter to check whether the following information is displayed.
Erlang r14b02 (erts-5.8.3) [Source] [SMP: 4: 4] [RQ: 4] [async-threads: 0] [hipe] [kernel-Poll: false]

Eshell v5.8.3 (abort with ^ g)
1>
Finished.

Install the development environment of Erlang:
See http://blog.csdn.net/zhangxinrun/archive/2011/05/01/6381862.aspx

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.