Main Library ip:192.168.1.51From library ip:192.168.1.252Host:1) Create a Slave user, and give permissionGrant Replication Slave,reload,super on * * to ' slave ' @ '% ' identified by ' 123456 ';Flush privileges;2) Change the configuration file (/etc/
WHOAMI: Print a valid user IDWho: Shows who logged on to the systemWho-r Display Run level Who-h Display field namesW: Show who's logged in and what they're doingLast: Displays the/var/log/wtmp file, showing the user login history and System
Modified in the/etc/ssh/ssh_config file: ConnectTimeout 300//is 5 minutes if the login prompt state: logingracetime 300To restart the SSH service after the change: service SSH restart # Ubuntu service sshd Restart # RedhatThe answer on the Internet
Linux Application Development-semaphore mutex programmingA corresponding function1 Create/Open Semaphore collectionFunction name Semgetfunction prototype int semget (key_t key, int nsems, int semflg)function functionGets the identifier of the
1. Environmentcentos6.42. Install SVNYum-y Install Subversion3. ConfigurationBuild the Repository DirectoryMkdir/www/svndataSvnserve-d-r/www/svndata4. Build the RepositoryCreate a new Subversion projectSvnadmin
(1) Check the process that consumes the most CPUMethod One:Core directive: PSActual command:PS H-eo pid,pcpu | Sort-nk2 | TailThe following results are performed:[Email protected] ~]$ PS H-eo pid,pcpu | Sort-nk2 | Tail31396 0.631396 0.631396 0.631396
In a series of introductions, when performing cobbler checks, there are a total of 7 items that do not meet the requirements, and in today's series we will describe how to make configuration adjustments to meet the cobbler requirements."Modify Rsync
A library is essentially a binary format of executable code that can be loaded into memory for execution. Two kinds of library static library and dynamic libraryStatic Library: This type of library name is generally libxxx.a, XXX is the name of the
linux- User disk quotasDisk quotas are where administrators can limit the amount of disk space a user can use, and each user can only use disk space in the maximum quota rangedisk quotas can limit the amount of disk space that a specified account
Write your own client programAlso is to achieve the function of the previous article, the client program is no longer using Telnet, their own code implementation, the server-side program needs to be modified under
Server programs
Linxu Common directory for user informationThis document for manual collation with errors please ask (email:[email protected])User Informationcat/etc/passwdRoot:x:0:0:root:/root:/bin/bashAccount name: Password: uid:gid (Basic Group): (optional)
The Linux LVs load Balancing is mainly used to improve the processing power of the server, improve the corresponding ability of the server, improve the concurrency processing ability, and reasonable resource allocation. Address translation: referred
Most file I/O in Unix systems requires only 5 functions: Open,read,write,lseek and closeThe file descriptor file descriptor is a non-negative integer, and all open files are referenced by the file descriptor to the range of changes in the file
CentOS server cluster automatic synchronization time Method
There was a log that was a http://blog.csdn.net/bhq2010/article/details/8543946 for manual synchronization time
This is because only a part of the LAN in our lab can access the internet.
RedHat Linux 6 desktop Installation
1. Configure the yum LibraryThe virtual optical drive in Virtualbox is located at/dev/sr0. Therefore, after loading the RHEL6.5 image to vmware, you can configure the yum library.1. Mount the image[Root @ db01 ~] #
Getting started with Shell Common commands
This is a series of shell tutorials, including entry, command, and practice.
In this tutorial, we try to minimize the complexity of text descriptions. However, we strive for perfection and focus on
Linux File Permission chmod chown1. Linux File Access Permissions
Chmod is short for change mode. Similarly, chown is the abbreviation of change owner. One is to change the access permission of the file, and the other is to change the owner of the
Install FastDFS + nginx module on Centos71. About FastDFS
From: http://www.oschina.net/p/fastdfsFastDFS is an open-source distributed file system that manages files, including file storage, file synchronization, and file access (File Upload and file
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