Ubuntu Server 13.10 Installation Configuration illustration tutorial

Source: Internet
Author: User
Tags openssh server

One, Ubuntu Server 13.10 System Installation

Ubuntu is divided into desktop and Server editions (server), and the following is a detailed installation process for server version Ubuntu server 13.10.

Ubuntu Server 13.10 System image is attached:

32-bit: Http://releases.ubuntu.com/13.10/ubuntu-13.10-server-i386.iso

64-bit: Http://releases.ubuntu.com/13.10/ubuntu-13.10-server-amd64.iso

After successfully booting with the boot disk, the following interface appears

Select language: Chinese (Simplified)

Default First: Install Ubuntu Server Edition

Ask if you want to continue installing the language version you selected, select "Yes"

Select "No" default keyboard mode

Configure keyboard: Chinese

Keyboard layout: Chinese

Set host name

Create new User: Enter the full name of the new user (note: not login, equivalent description)

Enter: Account username (this is the login account)

Set Password

Enter the password again

Password complexity verification, select Yes or no, reset complex passwords

Select No

Select Manual

Partition Wizard, select the disks you want to install

Is

Can see the above selected disk capacity information, click on disk free space, I here disk size is 5G

Create a new partition

Enter the partition size, first create/boot partition, generally recommended for 200MB

Primary partition

Begin

Select "EXT4 Log File System"

mount point: Select/boot

Point Partition Set End

Continue to select free space to create a new partition

Create a new partition

Partition size: 1GB

Primary partition

Begin

Select Swap Space

The point partition is set to end so that the swap partition (typically twice times the memory size) is set up, continue repeating the above steps, dividing a root partition

Select free Space

Create a new partition

Partition size, where the remaining space is shown by default (before partitioning, I only divide/boot,swap and partition "/"),

So the rest of the space to the "/" partition, point to continue

Primary partition

mount point:/

Point Partition Set End

End of partition setting and write modification to disk

Is

Default, Continue

No Automatic Updates

Select with a space: OpenSSH server

Point continues (the server is based on its own needs.) Other software installed later)

Default, is

Continue, automatic system restart

Enter the login screen

Enter the user name set above: Osyunwei and Password login system

At this point, the Ubuntu Server 12.04 installation is complete.

Second, open the root account

sudo passwd root #启用root账号并设置密码, enter the password 2 times as prompted

Su Root #从普通用户切换到root用户, follow the prompts to enter the root password

sudo passwd-l root #禁用root账号, if you want to enable, enter sudo passwd root to set the root password again

Third, set the IP address, gateway, DNS

1. Set IP address, gateway

Nano/etc/network/interfaces #编辑网网卡配置文件

Auto Lo

Iface Lo inet Loopback

Auto Eth0 #开机自动连接网络

Iface eth0 inet Static #static表示使用固定ip, DHCP representations use dynamic IP

Address 192.168.21.128 #设置ip地址

netmask 255.255.255.0 #设置子网掩码

Gateway 192.168.21.2 #设置网关

Ctrl+o #保存配置

Ctrl+x #退出

2. Set up DNS

Nano/etc/resolv.conf #编辑配置文件, add the following:

nameserver8.8.8.8 #设置首选dns

nameserver8.8.4.4 #设置备用dns

Ctrl+o #保存配置

Ctrl+x #退出

Service Networking Restart #重启网络

Set up Apt-get Local source, prepare for quick install software

Mount-o loop-t Iso9660/home/ubuntu-13.10-server-i386.iso/media/cdrom

#挂载系统镜像 (you need to copy the system image to the appropriate directory first)

#把系统镜像文件/home/ubuntu-13.10-server-i386.iso mount to the/media/cdrom directory

Cp/etc/apt/sources.list/etc/apt/sources.listbak #备份原文件

Nano/etc/apt/sources.list #编辑, delete all content, add the following line

Deb File:///media/cdrom Saucy main

Ctrl+o #保存配置

Ctrl+x #退出

Apt-get Update #更新源

Apt-get Upgrade #更新软件包

Parameter description:

#/media/cdrom is a mounted directory (you can create it yourself)

#saucy为Ubuntu the version name of Server 13.10, Main is the name of the folder under the pool directory in the system installation file

#umount/media/cdrom command to uninstall

V. Installing software using Apt-get

Apt-get Install apache2 #安装apache

At this point, the Ubuntu Server 13.10 installation configuration is complete.

Ubuntu Server 13.10 Installation Configuration illustration tutorial

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.