Note: Basic operation commands for firewalls:
code is as follows
copy code
query Firewall status: [root@localhost ~]# service Status To stop the firewall: [root@localhost ~]# service
1. Create a new Folder
mkdir file name
Create a new folder named Test under Home
1 mkdir/home/test
2. New text
Create a new test.sh script at home
1 vi/home/test.sh
3. delete files or folders
Delete the test directory in the home directory
1
Recently because of using CAs to do single sign-on, you need to configure SSL, the process is relatively simple, record the meaning of each step, so as not to forget later.Requirements Scenario: CAs single sign-on requires SSL and the server
1, check whether the System kernel support MPPE patch
The code is as follows
Copy Code
Modprobe ppp-compress-18 &&echo SuccessDisplay Success Description system support MPPE patch, if not supported, you need to install
Golang is installed in a variety of ways, today the new one [Www.111cn.net] uses its own standard installation method.
First go to the official download address to download their corresponding installation package go download address: URL
A new
1, Vi/etc/sysconfig/clock #编辑文件Zone= "Asia/shanghai"Utc=false #设置为false, hardware clock is not consistent with UTC timeArc=false
2, Ln-sf/usr/share/zoneinfo/asia/shanghai/etc/localtime #linux的时区设置为上海
3, Ntpdate asia.pool.ntp.org #对准时间, you need to
Preparatory work1, CentOS system upgrade Python to 2.7.32, Python 2.7.3 installation bz2 expansion
Please be sure to complete the above operation before you do the following, otherwise please come back, and you will encounter the following error
Linux kernel compilation is a simple but cumbersome thing. But a standalone build Linux kernel will help you understand the Linux kernel's working mechanism well.First compile the Linux kernel we need to install the GCC compiler under the current
Do not need any professional software, use CentOS's own commands and services to complete the daily automatic backup.Here's a common backup method:
1. File backup
Compress files for backup using the TAR command:#tar-ZCVF backup.tar.gz Dir1Dir1 for
Some of the previous time in accordance with the company requirements of the security of some servers to strengthen the content of the reinforcement is to set the user password cycle time. It turns out that this wood is of a mission use. Below is a
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
The method is very simple. Thanks to the tutorials provided by the N16 group of friends!1. Make necessary preparations first!#! /Bin/shYum install-y gcc automake autoconf libtool make build-essential autoconf libtool curl-devel zlib-devel
In Alibaba Cloud CentOS, you need to import an SQL file to the database, use wget to download the SQL file, and use the source command to import the SQL file.① First, log on to the database:[Root @ iZ94r80gdghZ tanteng. me] # mysql-u root-pEnter
Solve the problem of garbled Chinese characters when using CRT links in CentOS 7:[Root @ hz/] # export LC_ALL = en_US.UTF-8Ideas:[Root @ hz/] # locale # default current language environmentLANG = en_US.UTF-8LC_CTYPE = "C"LC_NUMERIC = "C"LC_TIME = "C"
CPanel is one of the most prestigious commercial software in the web hosting industry. It is based on Linux and BSD systems and is developed based on PHP and its nature is closed source software; provides powerful and complete host management
1. Install lnmp first. I will not talk about it here.2. Install necessary componentsYum-y install mysql-devel libcurl-devel net-snmp-devel3. Add a userGroupadd zabbixUseradd zabbix-g zabbix4. Create a databaseCreate database zabbix character set utf8
First, install the LAMP one-click package environmentCurrently, this environment package is based on CENTOS 5 or 6 32 or 64-bit systems. The code is as follows:Copy code Wget http://soft.laozuo.org/lamp/lamp_centos1.0.tar.gzTar zxvf lamp_centos1.
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.