Useradd testuser; Add user testuser to user name passwd testuser; Modify user password prompt two times enter password give root permission to modify the/etc/sudoers file, locate the following line, and add a row below root, as follows: # # allow
Download the Nginx bundle (package) corresponding to the current system version# wget http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm
Build Nginx's Yum repository# RPM-IVH
View System boot entryChkconfig--listAdd the well-written startup script to the directory/etc/rc.d/init.d/, and then use the command chkconfig to set the boot up.Chkconfig function Description: Check, set the various services of the system.Syntax:
1. Download the JDK for the CentOS version first: Download: jdk-7u75-linux-x64.tar.gz2. Download the JDK locally and upload to the opt temp directory of the CentOS system3. Before installing your own downloaded JDK, take a look at the JDK version of
1. Turn off the firewallService Iptables Stop2. Replace the source, install the Zabbix-agentRPM-IVH http://repo.zabbix.com/zabbix/3.2/rhel/6/x86_64/zabbix-release-3.2-1.el6.noarch.rpmYum Install-y zabbix-agent3. Modify the configuration
Tag: for CentOS User POS system Add user startup code Systems ServiceDo not say the principle, only the steps, with the quickest way to build up the service.1, the system environment used in this article# Uname-r2.6.32-642.11.1.el6.x86_64#
= = = Problem descriptionYesterday in order to test some features, executed a program, causing the CentOS system memory spikes, immediately after the Xshell disconnected, then the port can be accessed, is not connected, free-m memory is almost
1. Download tomcat8.5 and Unzip2. Copy the extracted files to the USR directory3. Execution:/usr/tomcat8.5/bin/startup.sh If the prompt permission is insufficient, execute:chmod +x/usr/tomcat8.5/bin/startup.sh4. Port settings:Firewall-cmd--permanent-
NIC Bonding on CentOS 7 with NMCLI 1. . Strong style= "padding:0px;margin:0px;" > By default, the bonding kernel module is not enabled. Therefore, we will need to load it and make sure it lasts. Using Modprobe--first-time to load the bonding
1. Download the appropriate version of the JDK:wget--no-check-certificate--no-cookie--header "Cookie:oraclelicense=accept-securebackup-cookie;" http:// download.oracle.com/otn-pub/java/jdk/8u45-b14/jdk-8u45-linux-x64.rpmBecause the official website
1. Edit the NIC filevi /etc/sysconfig/network-scripts/ifcfg-eth0 # eth0 for network card numberTo set the IPV4 information for the NIC Eth0, it is important to note that the ipaddr set up needs to be in the same network segment as the other
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://
Centos Configuration 163 Yum Source 1, first back up the current system's Yum source # MV/ETC/YUM.REPO.D/CENTOS-BASE.REPO/ETC/YUM.REPO.D/CENTOS-BASE.REPO.D.BAK2, Download the relative version of the repo file in http://mirrors.centos.com/.html/, and
Centos 6.8 startup damage repair
Two days ago, I encountered a problem. centos had to start with CD to enter the system. At that time, I wanted to perform a test. Now I have time to try it in VMWare.
The idea is this: delete the files in the boot
Solve the Error resolving sysca when running docker containers in centos 7
Docker is being studied recently! Running docker in centos7 of a virtual machine often includes:
[Jm @ localhost docker] $ docker run-it lin/centos6/bin/bash
2016/11/08 19:38
Solve the error of running Elasticsearch by root in centos.
Run Elasticsearch 6.5 on CentOS 2.3. The exception is as follows:
Exception in thread "main" java.lang.RuntimeException: don't run elasticsearch as root. at
Solve the Problem of Adobe Flash Player is out of date in Chrome in CentOS
I have used only two linux releases, Ubuntu and Centos. After Google Chrome is installedAdobe Flash Player is out of date. I have also referred to many methods on 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.