Home IT Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ OpenSUSE / Linux network configuration     - Hadoop virtualization performance comparison and tuning experience (Server)

- Pydev installed and configured on the Eclipse (Linux)

- Linux NFS service fixed ports and firewall configuration (Linux)

- To read the Linux ext3 / ext4 format partitions under Windows system software (Linux)

- Fedora 19/20 and Debian Jessie / Sid users to install FFmpeg 2.3.2 (Linux)

- MySQL uses Federate engine mapping table to achieve operation of the local remote operation table (Database)

- 30 minutes with your Quick Start MySQL Tutorial (Database)

- Detailed installation of CentOS 6.x (Linux)

- Everyone should know something about TCP (Linux)

- Two classic macro definition under Linux (Linux)

- Fatal: unable to connect to github.com problem solving (Linux)

- You need to know 12 Git High Command (Linux)

- Binding unofficial Google Drive and Ubuntu 14.04 LTS (Linux)

- Getting CentOS Learning Notes (Linux)

- Deepin Tutorial: Depth Description Installer expert mode (Linux)

- MySQL Parameter Tuning Best Practices (Database)

- Kickstart automated installation and deployment RHEL 7.0 (Linux)

- CentOS 6.5 using Virtualenv under development environment to build Python3 (Linux)

- Install the open source database PostgreSQL 9.4 and phpMyAdmin on Ubuntu (Database)

- JavaScript function definition mode (Programming)

  OpenSUSE / Linux network configuration
  Add Date : 2017-08-31      
  Because of their work, come into contact with Linu server an OpenSUSE system, I began to think and CentOS as only need to configure a ifcfg-ethx file can be, but after the configuration found no network, then to query the network settings information, OpenSUSE system as follows:

First, modify the ifcfg-eth0 file (parameters can be modified as follows)
# Vi / etc / sysconfig / network / ifcfg-eth0
BOOTPROTO = static

Second, configure the gateway (route)
# Vi / etc / sysconfig / network / routes

Third, configure DNS
# Vi /etc/resolv.conf

Fourth, restart the network card
# /etc/init.d/network Restart

========================= Documents described ====================== ===
1: / etc / sysconfig / network / config
In this file, you can select the card management mode, as follows
NETWORKMANAGER = "yes" set by the user of the method networkmanage
NETWORKMANAGER = "no" by ipfu conventional Sets (recommended to choose this)

2: / etc / sysconfig / network / ifcfg-eth0
In this file, you can configure the IP address acquisition mode, IP address, subnet mask and other parameters, as follows
BOOTPROTO = 'static'
NAME = 'RTL-8139 / 8139C / 8139C +'
STARTMODE = 'auto'


3, / etc / sysconfig / network / routes
        In this file, you can default route (gateway) configuration, and thereby set the default gateway to route to a specific network or host. This file will be loaded when the network start

Configure the following format:

Example 1:

Add the Gateway:

The above command can also add:
# Route add default gw

The same instructions above can also be deleted:
# Route del -net

Example 2:
Configuring network from to port out of the net:

Use the command to add:
# Route add -net netmask gw

Use Delete command:
# Route del -net netmask

4, / etc / resolv.conf
In this file, you can configure DNS name resolution. Mainly has the following four parameters:
nameserver # defined DNS server IP address (required)
domain # define local domain name (optional)
search # custom domain search list (optional)
sortlist # sort the returned domain name (optional)

Examples are as follows:
domain linuxidc.com
search www.linuxidc.com linuxidc.com
- PPA on Ubuntu Linux installation Plank 0.8.0 (Linux)
- C ++ pointer two third memory model (Programming)
- Experience RHEL7 new features (Linux)
- OpenJDK 7 compiled under Ubuntu 14.04.3 64-bit (Linux)
- Installation of Python2.7.8 and iPython under CentOS6.5 (Linux)
- To establish a secure and reliable Linux operating system (Linux)
- Linux shell in back quotes (`) Application (Linux)
- Ubuntu how to install and use Objective-C (Linux)
- Linux environment to configure Apache + Django + wsgi (Server)
- Oracle Shared Server Configuration (Database)
- NIC configuration parameters under Linux (Linux)
- Linux dd command make U disk boot disk (Linux)
- Under CentOS yum install Nginx smooth switch mounted to Tengine (Server)
- ORA-00600 error solve one case (Database)
- Vim configuration instructions (Linux)
- EChart simple and practical control on chart (Programming)
- SQL MySQL query table duplicate data (Database)
- Android webView URL redirects affect goBack () (Programming)
- Linux operating system log system (Linux)
- Windows Ubuntu dual system a key Ghost, grub rescue prompt solution (Linux)
  CopyRight 2002-2016 newfreesoft.com, All Rights Reserved.