First time installation ubuntu14.04.1 LTS X64 Server

Source: Internet
Author: User
Tags iptables ssh server


    1. Ubunturoot Password Setting

Sudo passwd

[Email protected]:~$ sudo passwd

[sudo] password for LINUXIDC:

Enter a new UNIX Password:

re-enter the new UNIX Password:

passwd : The password was successfully updated

[Email protected]:~$

Note: This new password is Root password, which can be different from the current user's password.

enter in the terminal su Root , and then enter Root password, verify that the success can be switched to Root user. after the root user has finished the operation, the Exit command can be used to exit the root user and return the current logged-on user.

    1. Ubuntu Setting up the Internet on both cards

  • in a virtual machine Exsi Virtual Exchange and virtual network cards are added

  • with Ifconfig–a View the status of your network card

  • the new virtual network card ifconfig eth1 up

  • Configure the two Web cards IP and add Routes

    #vim/etc/network/interfaces

    #The Primary Network Interface

    Auto Eth0

    Iface eth0 inet Static

    Address x.x.x.x

    Netmask 255.x.x.x

    Network x.x.x.x

    Broadcast x.x.x.x

    #gateway x.x.x.x

    #dns-*options implemented by the resolvconf package,if installed

    Dns-nameservers x.x.x.x x.x.x.x

    Dns-search x.x.x.com


    Auto Eth1

    Iface eth1 inet DHCP

Up route add x.0.0.0 netmask 255.0.0.0 GW x.x.x.254 Dev eth0


: Wq//Save and launch

Check out the following:

1. NETSTAT-NTLP = If no port is present, then SSH server is not installed by default

2. If you do not have an SSH server suite, please confirm that you can go to the public network and execute apt-get install openssh-server

3. after installation, make sure the firewall is turned on, and if so, turn it off .

iptables-l = look at the firewall setting state

Iptables- F = remove the settings from all firewalls

Iptables-save = Storage




This article from the "Linux Grow The Road" blog, declined to reprint!

First time installation ubuntu14.04.1 LTS X64 Server

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.