. 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
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
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
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
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:
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
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
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
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
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
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
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
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.
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