A MariaDB MariaDB is a compatible open source version of MySQL.
Simple use of two MARIADB 1. Installing the MARIADB
Yum insatll mariadb Mariadb-server
Systemctl Start mariadb
Systemctl Enable MARIADB
2. Firewall turned on
Firewall-cmd--permanent--add-service=mysql
Firewall-cmd--reload
3. Initialization of the database (execution after installation is complete)
Mysql_secure_installation Database Initialization Command Step 1th: Set the root user password. 2nd Step: Delete the anonymous account.
3
Linuxcommon file system Operations management directives are as follows1.CommandMkfs:Create a new file system for a partition, which is the advanced format partitioncommand format: MKFS [-v] [-t fstype] [fs-options] filesys [blocks]Common Options explained:[-T Fstype] : Specifies the type of file system to create , default is ext2Mkfs-t ext3 =mkfs.ext3 = mke2fs-jMkfs-t ext2 =mkfs.ext2 = mke2fsMkfs-t VFAT =m
recognition and management, Start with a soft link to/etc/rc.d/init.d/ , and then add the #chkconfig at the beginning of the startup script : Run-level start order shutdown order,# Description: Content customization, also perform #chkconfig--add service name. Example:#ln-S/usr/local/apache2/bin/apachectl/etc/rc.d/init.d/ (can be identified and managed by service commands#vi/etc/rc.d/init.d/apachectl#chkconfig: 35 86 76#description: Source Package Apa
Gpt/mkpart/mkfs/resize/rm ( Common Interactive commands )#parted-L ( view partition )Note: Multiple partitions when end is -1 represents to the end of the diskvii. allocation of swap partitions#fdisk/DEV/SDCCommand (M for help) T ( Modify the partition system ID)(In the region of the swap partition, which is Linux)#mkswap/DEV/SDC1 ( formatted )#swapon/DEV/SDC1 ( activates the swap function for this partition ) #swapoff/DEV/SDC1 ( turn off the swap function for this partition ) #free ( view mem
creation, but also to specify thread creation policies and, more often, to use Std::async to create threads and become the first choice for asynchronous operations.The Std::async prototype is Std::async (Std::launch::async | std::launch::d eferred,f,args ...), the first parameter is the thread's creation policy, the second is the thread function, and the other is the parameter of the thread function.There are two ways to create a policy:Std::launch::async: Start creating threads when Async is c
Terminator must be nilPuts output one line to standard outputFread reads a block parameter is the buffer pointer data chunk size data block quantity fileFwrite writes a parameter similar to the one, except that the action becomes a writeFile locationThe fseek parameter locates the offset start point for the file pointerSeek_cur Current Location seek_end file end Seek_set file startFtell This function is also a file location, just rely on the data in the parameters to locateRewind set the file t
-organizationalunit "Contoso.com/contoso"-resultsize Unlimited | %{new-mailboxexportrequest-mailbox $_.name-filepath ("\\localhost\c$\export\" + ($_.name) + ". pst")-baditemlimit 50}We can see that the. pst file for each account is generated under the C:\export folder650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/76/04/wKioL1ZIgaeDKzJ0AAIXalVSY4w429.png "title=" QQ picture 20151115165015.png "alt=" Wkiol1zigaedkzj0aaixalvsy4w429.png "/>3, Batch import PST file to the destination emai
binary data in this page
Pte_mkread
Set Read permissions
Pte_mkwrite
Set Write permissions
Pte_mkexec
Allow page content to be executed
Pte_mkdirty
Mark a page as dirty
Pte_mkclean
The purge page, often referred to as eliminating _page_dirty bits
Pte_mkyoung
Set access bits, which are _page_accessed on most architectures
Pte_mkold
Clear Access Bit
These f
Fdisk-cu Creating a partition-------------After adding the entry, then follow the steps, first add a hard disk, size yourself, then enter the command, choose N to create the partition, then select the primary partition (P) or the extended partition (e) You want to create, then enter, then select how large the partition you want to create, p view, t Modify, and then select the parameters inside, Then enter P to view or save W directly.Pvcreate--------------convert partitions into physical volumes
partition (we are formatting the entire virtual disk image file or disk), but before formatting, we also have to establish a virtual device mapping for each partition, using the kpartx tool, we need to first install:$ sudo apt-get install kpartx$ sudo kpart kpartx -av /dev/loop0# 取消映射$ sudo kpart kpartx -dv /dev/loop0And then it's formatted, and we'll format all of it as EXT4:$ sudo mkfs.ext4 -q /dev/mapper/loop0p1$ sudo mkfs.ext4 -q /dev/mapper/loop0p5$ sudo mkfs.ext4 -q /dev/mapper/loop0p6Aft
When the Linux host being configured needs to be used as a router, the computer on the subnet can access the extranet after the following steps are configured:1. Edit the/etc/sysctl.conf file and add the Net.ipv4_ip_forward = 1 statement, which allows the server to use the Linux kernel forwarding function, configure the DHCP service, and use the firewall's address to disguise the NAT function; Net.ipv6.conf.all.disable_ipv6=1 and net.ipv6.conf.default.disable_ipv6=1 Two statements disable the se
Displays disk space usage for all mounted file systemsDf-a displaying information for all file systemsThe Df-h is displayed in the most appropriate capacity unitDf-i showing the number of nodes in a file inode usageDf-l only shows the usage of the local file system4.partprobe re-initializing partition table information for in-memory kernel5.MKFS Format partition / Create file systemCommon parameters:mkfs-t ext3/dev/sda2 formatted partitionmkfs. Ext3/dev/sda2Mkfs-b ( chunk size ) 4096-i ( numbe
name instead of the content.
-D: Lists the time that the file or directory was changed.
-F: Displays the full relative path name before each file or directory.
-F: In the execution of files, directories, sockets, symbolic connections, pipe name names, respectively plus "*", "/", "=", "@", "|" No.
-G: Lists the name of the group to which the file or directory belongs, and when there is no corresponding name, the group identifier is displayed.
-I: Do not list file or directory names in
securityIv. Licensing and system installation minimizationFive, fingerprint information to the system important files encrypted processingSix, the use of System Key file lock function to improve security5, SSH based on the key authentication process6. SSH remote copy function-SCP Knowledge summary①SCP is an encrypted remote copy, and CP is a local copy only② can push or pull data from one server to another server③ is a full-volume full copy every time, not high efficiency, suitable for the firs
This article summarizes the creation, copying, moving, and renaming of files and directories in Linux systems, including the removal of these most commonly used operations.Create1, create a directoryUse command: mkdirPractice: Create a directory under the root directory named McGrady2, create fileUse the command: TouchPractice: Create two files in the McGrady directory, named: AAA and BBBCopyCommand: CP, which is the abbreviation for copy, can copy files and directories.Practice:Move or renameTh
]::utf8)3, we can convert this password to ciphertext password to save, for PowerShell direct call, the command is as follows:$UserName = "[email protected]" #定义管理员账户名称$Password = convertto-securestring Aa543cd-asplaintext–force$cred = New-object System.Management.Automation.PSCredential ($UserName, $Password)Send-mailmessage-from [email protected]-to "[email protected]"-subject "test"-credential $cred-smtpserver MAIL.YUNTCL Oud.com-port 587-encoding ([System.text.encoding]::utf8)4. Send an e-ma
-usedatabasequotadefaults $falseSet-user-identity $_.upn-company $_.company-department $_.dept}650) this.width=650; "Width=" "height=" title= "qq picture 20160513001036.png" style= "width:720px;height:619px" alt= "Wkiol1c0rzswc4nlaaer4ogdu1e156.png" src= "Http://s1.51cto.com/wyfs02/M00/80/05/wKioL1c0rZSwC4NlAAEr4oGDU1E156.png"/>Step 2, we check, you can see the mailbox and AD accounts have been batch built650) this.width=650; "Width=" 686 "height=" 461 "title=" QQ picture 20160513001036.png "sty
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.