Database master and slave under Linux

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/

Linux Endpoints and command additions

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

Linux Server set time limit for remote connections

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 programming

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

Install SVN and configuration via Yum under Linux

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

Common commands for tracing online problems under Linux

(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

Cobbler automate batch installation of Linux Systems Series II: Issues found when modifying cobbler check

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

Dynamic libraries and static libraries for Linux

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 Disk quota Management

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

Socket communication under Linux (next)

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

Linux User Directory

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)

Linux LVS load Balancing NAT mode

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

Linux Learning notes one of the 10--file I/O

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

Linux view the number of slots in memory

[email protected] ~]# dmidecode|grep-p-a5 "Memory\s+device" | grep Size | grep-v Range #linux查看内存的插槽数以及每条内存有多大    size:1024 MBSize:no Module InstalledYou have new mail in/var/spool/mail/root[email protected] ~]# Dmidecode | grep-p '

CentOS server cluster automatic synchronization time Method

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.

Six small steps to simplify and optimize the CentOS System Environment

Six small steps to simplify and optimize the CentOS System Environment Step 1: Delete unnecessary built-in software packages yum remove Deployment_Guide-en-US finger cups-libs cups ypbindyum remove bluez-libs desktop-file-utils ppp rp-pppoe wireless-

RedHat Linux 6 desktop Installation

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

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 chown

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 Centos7

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

Total Pages: 5467 1 .... 2292 2293 2294 2295 2296 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.