There are a lot of Linux operating systems, but there is a common problem, the installation disk is too big, and it is 4, 5G. It is also time consuming to download. Looking for a circle, I found Ubuntu Server 7.04 version is very suitable, only a 500M ISO file. Since it is a Server version, there must be no large components such as GUI and OpenOffice. These are not necessary for me.
After downloading Ubuntu Server version 7.04 through Thunder, it is also very convenient to install on VMware. It can be installed in less than 15 minutes. The next step is to configure the network. I used to use SuSE before, this is the first time I played Ubuntu, so some configuration methods are from Google. For example, if you don't know what the root password is, use sudo passwd root to set it up.
Network Configuration:
There will be two default NICs after VMware installation, VMnet8 (192.168.83.1) and VMnet1 (192.168.19.1), of course, on different machines, these two The IP of the network card will be different. VMware has two ways to link networks, using Bridged and NAT. The former needs to set XP's broadband link (ADSL) to share mode to use. Since the telecommunications company recently checked the sharing of broadband, hey, in order to avoid trouble, it does not use the Bridged method, only the NAT method.
The VMNet8 NIC used in the NAT mode mainly needs to know two important IPs of Gateway and DNS.
The first address (192.168.83.1): Static address, assigned to the VMware Network Adapter VMnet8 adapter for host Xp.
Second address (192.168.83.2): Static address, assigned to the NAT device.
(192.168.83.3 to 192.168.83.127) Static address, reserved.
(192.168.83.128 to 192.168.83.254): DHCP scope address range, assigned to the virtual machine.
Modify Ubuntu's network configuration:
1) Set IP, gateway, mask, etc. Vi /etc/network/interfaces, add the following:
iface eth0 inet static
address 192.168.83.200
netmask 255.255.255.0
gateway 192.168.83.2
auto eth0
2) Add DNS, vi /etc/resolv.conf, add the following:
nameserver 192.168.83.2
3) Effective: /etc/init.d/networking restart
4) If XP's broadband link is OK, test if Ubuntu is OK. For example, ping www.sohu.com
Installing software:
Because the Server version is installed by default, nothing is installed. If you need software, you have to install it yourself. Fortunately, the network has been connected, and the others have become much easier. In order to facilitate installation, you need to switch to the root user. In addition, the ISO file is also loaded onto the virtual drive.
1) Update
apt-get update
2) Install gcc
apt-get install gcc
3) Install ssh After installation, the default is to start, so you can access Ubuntu through SecureCRT, which is my main purpose.
apt-get install openssh-server openssh-client
Stop ssh: /etc/init.d/ssh stop
Start ssh: /etc/init.d/Ssh start
Restart ssh: /etc/init.d/ssh restart
4) Install jdk
apt-get install sun-java6-jdk
5) Install the Linux kernel source code
Install several tools first:
apt-get install kernel-package libncurses5-dev fakeroot wget bzip2
cd /usr/Src
wget http://www.kernel.org/pub/linux/... ux-2.6.22.6.tar.bz2
tar xjf linux-2.6.22.6.tar. Bz2
ln -s linux-2.6.22.6 linux
6) Installing ftp server
apt-get instal vsftpd
vsftpd disables local users by default Login, so you need to modify its configuration /etc/vsftpd.conf
7) Install Apache
apt-get install apache2
8) Install lighttpd
apt-get install lighttpd
Ubuntu Server can basically be used through the above steps, other software installation is very similar, it feels more convenient.
We have been doing a task in the usual way until we know there is a better way to handle it. As a fo
First of all, I would like to thank community enthusiasts and supporters for their attention to Linu
According to the bus structure, it can be divided into a bus type and a non-bus type. As we often
First look at the TCP server side of the program: #include <stdlib.h> #include <stdio.h>
Question: Why is there no Beijing time zone selection in Beijing?
Linux interrupts and exceptions Basics
u disk installation linux experience
Linux server attack and defense technology detailed
Illegal instruction error solution
Practical Linux User Account Cleaning and Security Methods
Basic tutorial on the use of Linux exec function family
How to display dialogs in Bash Shell scripts
After WinXP enters the system, the black screen processing method (more detailed)
Windows XP computer can not shut down the solution
How to open ISO image file directly with Win10
Data center energy consumption reduction Eight extreme methods revealed
Windows7 forget the power-on password how to do? Eliminate the power-on password method diagram
Where is the Win10 browser compatibility setting? How does the Edge browser open compatibility mode?
Win8 set mouse click to open folder tips
What are the methods for uninstalling QQ input method in Windows 10 system?