A new HOSTNAMECTL directive is added to the CENTOS7 on the host name change, which is more convenient both in terms of output and change. Take a look at hostname help information:
The code is as follows
Copy Code
[Root@361
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
Check to see if the system is 64-bit or 32-bit:
The code is as follows
Copy Code
1, getconf long_bit or getconf word_bit[Root@localhost ~]# getconf Long_bit64
List all version information,
The code
Crontab Introduction
The crontab command is common in UNIX and unix-based operating systems, and is used to set periodically executed instructions. This command reads the instruction from the standard input device and stores it in a "crontab" file
Here are two ways of doing this.
Release Warehouse
Execute Yum Info Elixir, we get:
Available PackagesName:elixirArch:noarchversion:0.12.5Release:2.el7size:2.7 MRepo:epel/x86_64SUMMARY:A modern approach to programming for the Erlang
After CentOS6.5 installs the Cassandra, start the interactive mode:192.168. 10.154When the errorNo appropriate Python interpreter foundThis error is due to the fact that the CentOS system is installed by default of 2.6, and Cassandra needs to Python2
Method 1: A small number of IPs are manually bound:(here to bind IP to eth0 for example, the other network adapter words to modify the corresponding file name can be)1. Copy the Ifcfg-eth0 network adapter profile and rename it to ifcfg-eth0:0[[email
Suppose we want to set the proxy to Ip:port1. Web surfingWeb Settings agent is very simple, in the Firefox browser under Edit-->>preferences-->>advanced-->>networkUnder Connection Click Settings, inside the manual proxy configuration set IP and port
1. Installing the SNMP Service[[email protected]] Yum install-y net-snmp net-snmp-utils2. Configuring the SNMP ServiceThe first step:(Yum installs SNMPD configuration file for/etc/snmp/snmpd.conf, a very detailed document, first back up a copy of
To view the system version:[Email protected] ~]# cat/etc/redhat-release CentOS Linux release 7.2.1511 (Core)Official Document Description:
Https://www.zabbix.com/documentation/3.2/manual/installation/install_from_packages
1, the system comes withBaseExtrasUpdates2, EpelYum Install Epel-releaseHttps://fedoraproject.org/wiki/EPEL3, El (for upgrading the kernel)RPM--import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org-UVH http://
Cloudera Hadoop CDH 5.2.3 and Cent OS 6.6 are used for this installation. The installation process is very unprofessional. For record only, do not refer.I. Preparations before installation1. Update the systemYum update2. Install JDKA. Download and
Perform the following steps to synchronize time in the CentOS system:The newly installed CentOS system server may be set incorrectly. You need to adjust the time zone and time.The following is how the CentOS system uses NTP to synchronize data from
Lab environmentFront-end nginx: ip address 192.168.6.242, reverse proxy for the back-end wordpress website to achieve load balancingBackend nginx: wordpress is deployed at ip 192.168.6.36 and 192.168.6.205, and the same database is used.1. Install
NameVirtualHost *: 80Note 1: NameVirtualHost specifies the IP address or domain name used by the VM, but preferably the IP address. When using a domain name-based VM, NameVirtualHost is a required command. Multiple NameVirtualHost can be
Iptables is one of the commonly used firewall software in Linux. After LNMP is installed. After you restart the machine, you will find that the Web site cannot be opened, which is largely caused by iptable. Below are some common settings for
Step 1: Download and install MariaDBThe installation slave database MariaDB is run as a CentOS 7 repo in CentOS. Any lower requirements require you to add additional repository servers. Run the following command on your server:Yum update-yYum
Because the program running environment is required, you have to use PHP5.2 or earlier versions.The following two methods are provided to install PHP5.2:Operating system: CentOS 5.8 64-bit (Alibaba cloud space)1. Download the source code from the
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