CentOS 6.5 Mini Firewall NAT configuration after installation

Configuration information:External Network network card: Eth0 1.1.1.1Intranet network card: Eth1 192.168.10.1Configuration steps:1. Turn on the system default Ip_forward forwarding.Echo 1 Or: vi/etc/sysctl.confModify Net.ipv4.ip_forward = 1Save exit,

CentOS Set PATH environment variable some methods summary

. set a permanent PATH environment variable. All Users The code is as follows Copy Code #打开文件Vi/etc/profile# Add at the end, exitExport path= $PATH:/usr/local/go/bin#立即生效Source/etc/profile Multiple between we

CentOS set user for Apache httpd

First, create a user www in CentOS. The code is as follows Copy Code Groupadd wwwUseradd--shell/sbin/nologin-g www www Second, set up User,group in the Apache configuration file httpd.conf. The

CentOS 6.4 git Chinese display garbled problem solving method

System version: CentOS 6.4Git version: 1.7.1, installed directly using Yum. When you use Git status to view, if the filename is in Chinese, then the garbled (literally escaped character) is displayed, as shown in the following figure: Chinese

The common commands/concepts used by mark in learning and using CentOS

Network configuration After installing the minimal version system, the CentOS system's NIC is not enabled by default, and we can edit the network configuration with the following command: Vi/etc/sysconfig/network-scripts/ifcfg-eth0 If you use

Just 6 steps to make your CentOS system environment more streamlined and optimized

The first step is to remove the unwanted self-carrying packages Yum Remove deployment_guide-en-us finger cups-libs cups ypbind yum remove bluez-libs desktop-file-utils PPP Rp-pppoe Wirel Ess-tools irda-utils Yum Remove sendmail* samba*

CentOS Linux Server iptables firewall simple configuration template

On-line Linux servers are basically configured to iptables to enhance security. *filter: INPUT DROP [0:0]: FORWARD ACCEPT [0:0]: OUTPUT DROP [0:0]-A input-m state--state related,established-j ACCEPT-A input-i lo-j ACCEPT-A input-i eth0-j ACCEPT-A

Example of installing Erlang on CentOS 7

Compiling source code Download source code from Erlang website $ wget http://erlang.org/download/otp_src_19.1.tar.gzInstallation dependencies $ sudo yum install gcc gcc-c++ glibc-devel make ncurses-devel openssl-devel autoconf gitUnzip the first

CentOS 7.2.1511 System installation Configuration Diagram tutorial

Description As of the current CentOS 7.x latest version of CentOS 7.2.1511, the following describes the CentOS 7.2.1511 specific installation configuration process Server-related settings are as follows: Operating system: CentOS 7.2.1511 IP Address:

Tutorial on configuring Nginx Reverse proxy server load balancer in centos

Preparation:Proxy-Server: 1.1.1.22 (Server load balancer)Nginx-Server23: 1.1.1.23 (web23)Nginx-Server24: 1.1.1.24 (web24)Environment version:Linux Nginx-Proxy 2.6.32-358. el6.x86 _ 64 #1 SMP Fri Feb 22 00:31:26 UTC 2013 x86_64 x86_64 x86_64

How to install Docker in CentOS 6.8

[Root @ DS-VM-Node211 ~] # Curl-Lks https://yum.spaceduck.org/kernel-ml-aufs/kernel-ml-aufs.repo>/etc/yum. repos. d/kernel-ml-aufs.repo[Root @ DS-VM-Node211 ~] # Yum remove kernel-headers-y[Root @ DS-VM-Node211 ~] # Yum install kernel-ml-aufs-devel

Error reported after sysctl. conf is modified in Centos 6

Modification cannot be completed normallySysctl. conf involves important linux kernel optimization and VPN construction.Therefore, this problem must be solved.XEN architectureI first encountered this problem in the Hong Kong VPS of my XEN

How to modify the host name hostname of CentOS

Change host name permanentlyOpen/etc/sysconfig/networkHOSTNAME = localhost. localdomain modify localhost. localdomain to your host name.The code is as follows:/Etc/hosts127.0.0.1 localhost. localdomain localhost. Here, 127.0.0.1 is the local loop

Steps for upgrading to Git2.1.2 from Centos 6.5

Installation Requirements# Yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel# Yum install gcc perl-ExtUtils-MakeMakerUninstall git1.7.1 from CentosUse git-version to view the version of the system. Cento6.5 should contain the

Example of setting static IP addresses for vmware bridging in centos

Use bridge ModeSelect the bridging network card when bridgingSet centos static IP addressTwo configuration files are involved:/etc/sysconfig/network-scripts/ifcfg-eth1First, modify/etc/sysconfig/network as follows: add GATEWAY = 192.168.0.1. Gateway

Upgrade yum in Centos 6.5 and fix OpenSSL heartbleed vulnerability

The OpenSSL Heart Bleed vulnerability has been confusing for the past two days. Please read this article to analyze and diagnose the OpenSSL Heartbleed Bug. Currently, we can see that the versions that can exploit this vulnerability are:OpenSSL 1.0.1

How to install CentOS 7.0 on VMware 10

To set up a server load balancer, Centos system and local testing are required. Therefore, you have to use VMware10 as the virtual machine to install CentOS7.0 for testing. To install CentOS7.0, follow these steps:Step 1: Download the ISO package

How to configure SUBVERSION of SVN server in CENTOS

Configuration is a little complicated, but it is not very difficult, mainly involves several configuration files.Let's take a look at the subversion configuration file.1. svnserve. confThis is the configuration file for each version Library.The

Ip address restrictions for memcache in centos 5.9

System: centos 5.9Required software: iptablesMemcache limits ip access: The code is as follows:Copy code Iptables-a input-p tcp-s 192.168.10.5 -- dport 11211-j ACCEPTIptables-a input-p tcp-s 192.168.10.24 -- dport 11211-j ACCEPTIptables-a

How to set static IP addresses in Centos 6.4 and eth1

1. Modify Nic configuration Edit: vi/etc/sysconfig/network-scripts/ifcfg-eth0DEVICE = eth0 # describe the DEVICE alias for the NIC, for example, it is eth0 in the ifcfg-eth0 fileBOOTPROTO = static # set the way for the NIC to obtain the IP address.

Total Pages: 394 1 .... 255 256 257 258 259 .... 394 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.