I want to use Ubuntu to do a simple server to learn php or jsp or something, today finally can not help, download the ubuntu-9.10-server-i386.iso has not installed the server version, do not know what it looks like, so record the installation notes. : When downloading the official website, you must select China to provide a faster download link. Next, let's talk about my own download URL. Http://mirrors.sohu.com/
I want to use Ubuntu to do a simple server to learn php or jsp or something, today finally can not help, download the ubuntu-9.10-server-i386.iso
I have not installed the server version and do not know what it looks like, so I should record the installation notes.
: When downloading the official website, you must select China to provide a faster download link.
Next, let's talk about my own download URL.
Http://mirrors.sohu.com/ubuntu-releases/karmic/
The above provides various versions of download, as well as BT download seeds.
Ubuntu-9.10-server-i386.iso
28--200-2009 641 M Server install CD for PC (Intel x86) computers
I downloaded this and it was still very fast.
==========================================
Now, start the installation. The VMware Workstation I use is 6.5.1.
Create a new virtual machine. Here, the Installer disc image file (iso)
Select the iso file you downloaded. Then you can proceed.
Enter the Virtual Machine name Ubuntu9.10server
Then fill in the location E: \ VmUbuntu9.10server
Finally, fill in the size of the hard disk allocated to the virtual machine. For the first installation, there is not much space on the hard disk. allocate 10 Gb to it. Then complete the process. Then the VM is automatically started. Now you are prompted to select a language, select Chinese (simplified), press enter to confirm, and then choose to install Ubuntu Server Edition (I)
Select the first disk when partitioning.
Then it will automatically split me into the primary partition/10.2 GB ext4 format
There is also a logical partition 509.9 MB swap Partition
Then, select the partition settings and write the changes to the disk. Then, the system prompts whether to write the changes to the disk.
Select Yes and then start installing the basic system.
New User Full name: rumen
New Account name: rumen
Enter the password twice and do not use the proxy to access the Internet.
Configuring apt and downloading files. You may need to update some files and download them...
Select Automatic Installation and update... Haha
Haha, the server is different. Some services have been selected.
Select LAMP server, OpenSSH server, and Tomcat Java server
LAMP is a common apache mysql php, tomcat java learning jsp is good
OK, I will select these three, and then install them. The system prompts you to enter the mysql database root password.
Leave it empty.
Now install the GRUB boot guide...
The installation is complete.
====================================
Now the system is started.
Enter the character interface, and then log in
Use netstat-tnl to view ports
Rumen @ 17 rumen :~ $ Netstat-tnl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
Tcp 0 0 127.0.0.1: 3306 0.0.0.0: * LISTEN
Tcp 0 0 0.0.0.0: 22 0.0.0.0: * LISTEN
Tcp6 0 0: 8080: * LISTEN
Tcp6 0 0: 80: * LISTEN
Tcp6 0 0: 22: * LISTEN
3306 8080 80 22 found
All ports are enabled.
It indicates that myslq tomcat apache sshd works normally.
Ifconfig command to view the IP address of the server, which is shown here
192.168.112.128
There are also some gateway and subnet mask information.
Now let's use the putty link.
Login as: rumen
Rumen@192.168.112.128's password:
Linux 17 rumen 2.6.31-14-generic-pae # 48-Ubuntu SMP Fri Oct 16 15:22:42 UTC 2009 i686
To access official Ubuntu documentation, please visit:
Http://help.ubuntu.com/
System information as of Sat Nov 7 17:09:47 CST 2009
System load: 0.01 Memory usage: 14% Processes: 79
Usage of/: 9.1% of 9.37 GB Swap usage: 0% Users logged in: 1
Graph this data and manage this system at https://landscape.canonical.com/
1 package can be updated.
1 update is a security update.
Last login: Sat Nov 7 17:08:37 2009 from 192.168.112.1
To run a command as administrator (user "root"), use "sudo".
See "man sudo_root" for details.
Rumen @ 17 rumen :~ $
It indicates that the remote logon is normal, and you may need to explore some configuration later.