Configure multi-nic access network in ubuntu

In ubuntu, configure multiple NICs to access the network. Step 1: switch to the root user. Shell code su root Step 2: edit the network configuration file Shell code www.2cto.com vi/etc/network/interfaces Step 3: add the following Java code

Use of linux tool sar

Use 1 to install tar zxvf xxx.tar.gz in linux sar. /configure make install www.2cto.com 2 Use pidstat: Usage:/usr/local/sysstat/bin/pidstat [options] [ [] Options are: [-C ] [-d] [-h] [-I] [-l] [-r] [-s] [-t] [-u] [-V] [-w] [-p { [,...] | SELF | ALL}

RedHat 6.1 Nic binding

RedHat 6.1 Nic binding 1. disable the NetworlManger service. Otherwise, the service NetworlManger stopchkconfig NetworlMangeroff www.2cto.com will conflict with the bond Nic. modify/etc/sysconfig/network-scripts/ifcfg-bond0 configuration file DEVICE

Ubuntu server system backup and Restoration

The simplest way to back up and restore the Ubuntu server system is to compress all the files in the/directory into a compressed package. What is needed is to decompress the package and overwrite it back. First, make sure it is the root user. Then

Build a VPN Server in CentOS 6

CentOS 6 build VPN Server # install yum source, and pptpd service rpm-Uvh http://poptop.sourceforge.net/yum/stable/rhel6/pptp-release-current.noarch.rpmyum install-y ppp pptpd iptables # edit sysctl. conf file, open the IP packet forwarding

Simple experience of DNS server in ubuntu

In ubuntu, you can simply build a DNS server in ubuntu to understand how DNS works. 1. Install the corresponding server software. Apt-get install bind9 install bind9 2 and set the primary server domain and domain parsing file vim/etc/bind/named.

GVim in Ubuntu 10.04 Lucid Lynx cannot display chinese menus properly.

GVim in Ubuntu 10.04 Lucid Lynx cannot display the Chinese menu normally. Solution: After Ubuntu 10.04 Lucid Lynx is installed, GVim cannot display the Chinese menu normally. Error message: www.2cto.com reference: Gtk-WARNING **: Invalid input

How to obtain IP address and MAC Adr in Linux

Methods for obtaining IP and MAC Adr in Linux: struct ifreq {char ifr_name [IFNAMSIZ]; union {struct sockaddr ifru_addr; struct sockaddr Dr; short ifru_flags; int ifru_metric; caddr_t ifru_data;} ifr_ifru;}; www.2cto.com # include # include #

Nginx Automatic startup script

Save the following script as an nginx file and put it in/etc/init. d/nginx then you can use/etc/init. d/nginx start command to start nginx/etc/init. d/nginx stop command to stop nginx/etc/init. d/nginx restart command restart nginx boot

Vncviewer Remote Desktop linux

Vncviewer remote connection to Desktop linux 1. Enable vnc on the server (1) Check whether vnc is installed [root @ localhost ~] # Rpm-qa | grep vnc gtk-vnc-0.3.2-3.el5 vnc-4.1.2-14.el5 vnc-server-4.1.2-14.el5 gtk-vnc-python-0.3.2-3.el5 (2) root

Linux Learning 1-vnc remote learning

Linux learning-vnc remote learning vnc installation Shell code [root @ SC-026 ~] # Yum install vnc www.2cto.com vnc remote connection first, log on to the remote machine through ssh, use the command vncserver to open a port for the current user, and

Install peanut shells in ubuntu

Install peanut shells in ubuntu 1. Installation instructions (take CentOS 5 as an example) www.2cto.com 1. install necessary Development Kits [root @ localhost ~] # Yum install gcc-c ++ autoconf automake note: use the command apt-get install gcc-c ++

A little Linux every day -- view the Ubuntu version number

Run the following command on the terminal to view the Ubuntu version number in Linux every day: cat/etc/issue can view the version number of the running Ubuntu. The output result is similar to the following content: Ubuntu 12.04.1 LTS \ n \ l method

Explanation of/dev/null in Linux

In Linux, the explanation of/dev/null is in Linux/Unix. Generally, the information displayed on the screen is from stdout (standard output) or stderr (standard error output. Many people will ask why output is output and cannot be sent to the screen.

How do I enter the linux system if I forget my password?

In linux, if you forget your password, how do you enter the system and want to access the linux system? However, if you forget all your passwords, you can find them online. The following method is a simple one! Restart the system www.2cto.com 1.

Install LAMP quickly in Linux (Linux + Apache + MySQL + PHP)

LAMP = Linux + Apache + MySql + Php.If you want to install this set of servers or a few of them, you can simply use a single command.Quick installationSudo aptitude install apache2 php5 mysql-server php5-mysql libapache2-mod-php5Admin MySQL requires

More than 160 common load_file paths for linux

I don't know who sorted it out for Linux. I can see it from my friend's BLOG.The following content has been collected to K8 Information Security notepad for your convenience.1./etc/passwd 0x2F6574632F7061737377642./etc/shadow 0x2f6574632f742561646f77

Lvs + keepalived for load balancing and troubleshooting (DR Mode)

Http://antsw.blog.51cto.com/936097/214975 this article from the "mountain twist" blog Node1: 192.168.1.253Node2: 192.168.1.254VIP: 192.168.1.250 Environment centos5.2 (I used two machines here)1. Install ipvsadmYum-y install ipvsadm 2. Install

Powershell Remote Wake-up system

The official MS blog shows a very practical script to remotely wake up the system. 1. Check whether your system supports remote wakeup. # Ethtool etho | grep 'ake-on' Supports Wake-on: pumbag Wake-on: g G indicates that the instance has been started.

Use of svn in linux

1. The basic concepts of svn will not be detailed here. The next generation of CVS. 2. Basic commands (1) Search for help svn help View the help svn help import. Here we have detailed usage of the import command. (2) svn import Add a project to svn.

Total Pages: 5467 1 .... 2790 2791 2792 2793 2794 .... 5467 Go to: GO

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.