Install the bind package with Yum First (this package is the installation package for DNS)Then close SELinuxSetenforce 0After emptying the firewallIptables-fAfter the installation is complete onlyVim to/etc/named.conf650) this.width=650; "src=" http:
1 query for script file namesWhich (look for "Execute file") # which [-a] command option or parameter:-A: Lists all the commands that can be found in the path directory, not just the first found command name NOTE: This command is based on the path
The article was excerpted from several netizens. Thank them very much.Http://blog.sina.com.cn/s/blog_57330c3401011cq3.htmlThe Linux kernel defines the structure of a timer:#include struct timer_list{struct List_head list;unsigned long expires; Timer
Environment variables in Linux include system-level and user-level, system-level environment variables are the system variables to be read by every user logged into the system, and the user-level environment variable is the environment variable that
ObjectiveI believe that everyone to change their own laptop memory must be handy, even a novice can be very easy to implement, in fact, the server memory replacement is also very simple, shut down and remove the lid, in accordance with the specified
1. Disk Management#提示没有partprobeYum-y Install parted#新硬盘新建分区 and change the type to Linux Raid AutoDetect#非交互方式, note that there is a enter key between 1 and TFDISK/DEV/SDE Fdisk.txt:NP11TFdW#新建分区, note that there is a return enter between 1 and
Server for NFSFirst, Ann and start NFS1. Install NFSYum-y Install nfs-utils-*_64 nfs4-acl-tools*.642. Start NFS#启动nfs要先启动rpc服务, after 6.0 rpcbind and Rpcidmap are the default RPC services#如果没有启动rpc则会报错, resulting in a user Rights mapping
Add sudo permission method: You need to add the desired entry in the/etc/sudoers file to implement the permissions. There are two ways to add it: (running in the root user environment) 1: Using Visudo directly (in root), vim/etc/sudoers (first to
An asterisk (*) character indicates that the regular expression preceding it can occur 0 or more times. That is, if it modifies a single character, the character can be there or not, and if it is there, it may not appear more than one. You can use
First, the simple operation of the file system1, DF: Disk and directory capacity DF [-ahikhtm] directory or file name-H: Display in GB, MB, KB and other formats that are easier for people to read-I: No hard disk capacity, and the number of Inode is
P4 Workspace cross-platform Sharing (Linux and window sharing)The directory used to store the code:Linux Storage code directory:/home/username/On Windows Map Network device (via Samba), map/home/username/to Z:, Z: for storing code.That is, both the
In Linux, how does one modify the password of the root user?
In Linux, the root account is a very important account and the account with the highest permissions. But what if I forget the root password? You cannot reinstall the system. This is the
CentOS network settings in VMwareCentOS network settings in VMware
Background:The laptop has two NICs:1. The wired network adapter connects to the company's intranet and only configures the Intranet ip address and subnet mask;2. Wireless Network
Linux regular expression-repeated characters
The asterisk (*) metacharacters indicate that the regular expression before it can appear zero or multiple times. That is to say, if it modifies a single character, it can be there or not, and if it is
View multi-core loads on CentOS
How can I view multi-core loads in Linux?
#top
# Press the number 1 to display multiple CPUs
top
-18:05:48up1day,2:05,1user,loadaverage:0.00,0.00,0.00
Tasks:174total,1running,173sleeping,0stopped,0zombie
Cpu0:0.0%us,0.
Install vncserver on CentOS6 for graphical access
1. Configure 163 yum Source
1. Import the gpg certificate for the CentOS-6
# Rpm -- import http://mirrors.163.com/centos/RPM-GPG-KEY-CentOS-6
2. Enable yum to use Netease's source:
# Cd/etc/yum.
Use the linuxps command
The ps command in Linux is short for Process Status. The ps command is used to list the processes currently running in the system. The ps command lists the snapshots of the current processes, that is, those processes that run
Recommended package group installation when installing Centos 6.5
When installing Centos 6.5, whether it is used as a learning server or as a server in a production scenario, we generally only need to install the following suggested package groups,
Install nginx on CentOS1) download nginxJava code
Wgethttp: // nginx.org/download/nginx-0.8.54.tar.gz
By default, it is downloaded to the current directory, that is, the pwd directory.
2) decompress
Java code
Tarzxvfnginx-0.8.54.tar.gz
Go to
Use yum to install mysql in centos7
By default, mysql does not exist in the yum source of CentOS7. To solve this problem, we need to download the mysql repo source first.
1. Download the mysql repo
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