Deployment Ubuntu server Development Virtual Machine bit by bit ubuntu-12.04.1-server

Source: Internet
Author: User
The GUI bare server is really annoying. It's easy to use a GUI ~ Input in shell: sudo apt-Get install x-window-system-core # Install the basic sudo apt-Get install of X-Windows # Install the logon manager for KDM/xdmsudo apt-Get install Ubuntu -desktop # Install Ubuntu Desktop can also be for kmeanut-desktop/xubuntu-Ubuntu topsudo apt-Get install gnome-core # Install gnome after some of the basics of restart into the system there is a GUI of the http://my.oschina.net/jing31/blog/6593 Network

Setting the NIC to the NAT mode is the easiest way, but it is difficult to copy files externally. You can use the following method to configure the IP address.

Sudo VI/etc/Network/interfaces modify the NIC configuration file. Fill in the following content after the working file: auto eth0 (enable Nic) iface eth0 Inet static (set to static IP) address 192.168.1.3netmask 255.255.255.255.0gateway 192.168.1.1 after the network is saved, and then run the command line to create sudo VI/etc/resolv. conf sets the DNS server. After opening the file, write your own dnsnameserver 219.150.32.132 (primary DNS) nameserver 222.85.85.85 (Backup DNS). After saving the configured IP address, run sudo/etc/init. d/networking restart (restart the network) VMware Tools to Improve the Performance of virtual machines, you need to install this tool VMware Tools as follows: sudo apt-Get install build-essential // install the main compilation tool GCC, G ++, make sudo apt-Get install linux-headers-3.0.2.0-29-generic-pae

Install required components

Run the vmware_install.pl installation package.

Http://blog.csdn.net/liguohui/article/details/7685049
The installation package apt-Get autoclean only deletes packages that can no longer be downloaded. in addition, Apt-Get clean can also delete all packages in the/var/Cache/APT/archives/AND/var/Cache/APT/archives/partial/directories (except locked ). Of:/etc/APT/sources. the list file stores some server settings. On these servers, there are a lot of software that can be used for Debian, sources. list Example Deb ftp://ftp.tsinghua.edu.cn/mirror/debian/debian unstable contrib main non-freedeb http://mirror.dlut.edu.cn/debian unstable main contrib non-freedeb http://mirror.dlut.edu.cn/debian-non-US unstable/non-US main contrib non-freedeb http://mirror.dlut.edu.cn/debian-security stable/updates maindeb http://debian.ustc.edu.cn/debian Sid main non-free contribdeb -Src http://dean.ustc.edu.cn/debian Sid main non-free contribdeb http://debian.ustc.edu.cn/debian-non-US SID/non-US main non-free contribdeb http://debian.ustc.edu.cn/debian-uo Sid marillat Java misc ustc MySQL Installation

You can install MySQL Server Client and tools in the software center under GUI.

You can also use the command line below to install

Http://www.cnblogs.com/168cuiyuan/archive/2012/08/30/2663358.html

Netbeans/eclipse Installation

Download and install the corresponding file from the netbean eclipse official website.

Offline Installation

If some deployment machines cannot be connected to the Internet, how can they be deployed and installed?

1. Find the corresponding Deb package from the pool/main for installing the ISO file and use dpkg to install the package. This is very simple for less dependencies.

2. Use this method for software that relies heavily

1) Use sudo apt-Get install *** to install the required software on a clean, networked virtual machine, you can view all packages in/var/Cache/APT/archives /.

2) copy the above package to a directory on a machine that cannot be connected to the Internet, and use sudo dpkg * for installation.

 

For the installation of RPM packages commonly used in Linux, you can use the above method to install alien first, and then you can install the RPM package.

 

 

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.