Linux network configuration work summary

Source: Internet
Author: User

Linux network configuration work summary ~ In/etc/resolv. conf, add nameserver 159.226.39.1 ~ Add auto loiface lo inet loopbackauto eth0iface eth0 inet staticaddress 10.2.6.47netmask 255.255.0.0network 10.2.0.0broadcast 10.2.255.255gateway 10.2.0.254 ~ Restart the network service: sudo/etc/init. d/networking restart ~ Ubuntu obtains the root account password: sudo passwd root ~ 2. networking 3. the linux server system is installed using a USB flash drive. Before installation, it fails to be installed successfully using several recording software, prompting that it cannot be loaded. Then it is installed successfully only when win32diskimager is used for burning. 4. the disk size becomes very small after the U disk is fixed. Only 2 M is used for the successful repair of usboot, which should be in the XP system. the remote ssh client uses putty.exe. If you fail to connect to the ubuntu server in win7, install apt-get install openssh-server first, the premise of apt-get update is to connect to the network and then test: If the ssh localhost prompt is "successful", the ssh service will be enabled./etc/init. d/ssh start or server ssh start/etc/init. d/ssh stop configuration file:/etc/ssh/sshd_config view open ps-e | grep ssh if Install apt-get install openssh-serverapt-get install openssh-client 6. disable and open the firewall: ufw disable/able7. In The/etc folder, there is a basic system command, including network configuration, domain name resov. conf8. the character interface is connected to the network. After the network is configured, you must log on to a logon interface to connect to the network. However, you cannot connect to the Internet on the Character interface. Use the tool: w3m, instead of the built-in command w3m-v 159.226.39.22, a character logon interface is displayed. You can enter the user name and password in it and then operate like vim, but there are also slight differences. Exit is to press and hold q does not move 9. view the kernel:/etc/lsb_release/usr/src/proc/version/etc/issue10. list the current kernel: dpkg -- get-selections | grep linux with image is a installed kernel that can be uninstalled using the following command: sudo apt-get remove linux-image-2.6.24-11-generic # Where the linux-image-2.6.24-11-generic is the version number

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.