Tags: des style blog HTTP Io color OS ar usage Introduction
Ramfs and tmpfs are file systems established in memory ). The advantage is that the read/write speed is fast, but there is a risk of power loss. If the performance bottleneck of a process is hard disk read/write, you can consider reading and writing large files on ramfs or tmpfs.
What is the difference between ramfs and tmpfs:
What is the difference between ramfs and tmpfs?
Features
Tmpfs
Ramfs
Tags: des Io ar SP on, problem, amp, AD BS#! /Bin/bash
Apppath = "$ PWD" reads the current directory
Echo "arbiter is installing ..."
Sudo apt-Get install qt3-dev-tools libqt3-compat-headers libqt3-headers this one can be manually installed separately, a higher version is not required
Sudo mkdir-P/usr/bin/filter/create the evaluation plug-in Directory
Sudo CP-r $ apppath/bin // usr/
Sudo chmod 755/usr/bin/filter/* grant anyone the permission to exec
the owner of file aa to user1 at the same time.★Chgrp -- modify the file group chgrp user1 aa % change the file aa group to user1★Chmod -- modify the File Permission chmod 755 aa % set the file aa permission to 755 (rwxr-xr-x) 2, umask permission 1), umask is the command to set the file default permission. The usage is as follows: [root @ localhost/] # umask-S % displays the default permissions for new fil
The chmod command -- chmod755 differs from chmod4755. The difference between 755 and 4755 is that chmod is a command for setting file permissions in Linux. the following number indicates permissions of different users or user groups. Generally, there are three numbers: the first number represents the difference between 755 and 4755 in all files.
Chmod is a command for setting file permissions in Linux. the
libaio7. Copy the configuration file to the/etc directory to overwrite my. cnf:[Root @ centos74 mysql] # cp support-files/my-large.cnf/etc/my. cnfCp: overwrite "/etc/my. cnf "? Y8. Copy the mysql STARTUP script file to the/etc/init. d directory and rename it mysqld:[Root @ centos74 mysql] # cp support-files/mysql. server/etc/init. d/mysqldAt the same time, the permission to modify the startup script is 755:[Root @ centos74 mysql] # chmod
Pssh This tool, written in Python, Python version greater than 2.4 can be downloaded 1wget http://parallel-ssh.googlecode.com/files/pssh-2.3.1.tar.gzDownload2 installationTARZXVF pssh-2.3.1. tar.gzcdpssh-2.3.1/python setup.py installInstallchanging mode of/usr/local/bin/pnuketo 755/usr/local/bin/pscpto 755/usr/local/bin/pslurpto 755 /usr/local/bin/psshto
Installcpu () { TODO auto-generated Method Stub SYSTEM.OUT.PRINTLN ("AMD Motherboard CPU Socket hole number is:" + cpuholes); }}CPU and Motherboard factory classpublic class Cpufactory { public static CPU createcpu (int type) { CPU CPU = NULL; if (type = = 1) { CPU = new INTELCPU (755); }else if (type = = 2) { CPU = new AMDCPU (938); } return CPU; }}public class Mainboard
the/etc directory to overwrite my. cnf:[Root @ centos74 mysql] # cp support-files/my-large.cnf/etc/my. cnfCp: overwrite "/etc/my. cnf "? Y8. copy the mysql startup script file to the/etc/init. d Directory and rename it mysqld:[Root @ centos74 mysql] # cp support-files/mysql. server/etc/init. d/mysqldAt the same time, the permission to modify the startup script is 755:[Root @ centos74 mysql] # chmod 755! $C
/local/mysql/data
-- Disable-maintainer-mode? With-mysqld-user = mysql -- enable-large-files-without-debug
# Make
# Make install
Add a mysql User
#/Usr/sbin/groupadd mysql
Then we create a user called mysql which belongs to the mysql group;
#/Usr/sbin/useradd-g mysql
Install the database file:
#./Scripts/mysql_install_db
Set file permissions:
# Chown-R root: mysql/usr/local/mysql
# Chown-R mysql: mysql/usr/local/mysql/data
Configure ld. so. conf
# Vi/etc/ld. so.
The difference between 755 and 4755 is that chmod is a command for setting file permissions in Linux. the following number indicates permissions of different users or user groups. Generally, there are three numbers: the first number indicates the permissions of the file owner. The second number indicates the permissions of other users in the same user group as the file owner... "/> Differences between 755 a
User 9-bit permissions can be described by using the RWX keyword or by means of a number650) this.width=650; "src=" Https://s1.51cto.com/wyfs02/M02/97/D8/wKioL1kzzuKzmaQyAAAQm12FqnI952.png "title=" 1010rxw.png "alt=" Wkiol1kzzukzmaqyaaaqm12fqni952.png "/>, on the one has the permission to be 1 (Ture), the no permission is 0, according to 3 grouping to say the binary conversion is 755.Using chmod to modify file permissions, you can use numbers or desc
chmod: Changing PermissionsMethod 1: use a number to change the permissions of a file or pathThe permission scores are as follows:R:4W:2X:1Identities include:User:u, Group:g, Other:oFor example:-rwxrwx---The permissions on behalf of the file are:User:4+2+1=7Group:4+2+1=7Other:0+0+0=0 Note: If this drwxrwx---, the first letter is D, which means the path, and the permissions are the same as abovechange file permissions to-RWXR -xr-xchmod 755 FileNote: I
-1.9.3.tar.gz to server directory:/USR/LOCAL/SRCInstalling a dependency package with YumYum install gcc zlib zlib-devel OpenSSL openssl-devel pcre pcre-develncurse -y(Note: Yum installation package on the way, if the error said that the package did not go to the Internet server to access the following address, Ctrl+f search error packet name, missing the package to find that, download and upload to the server directory:/data/yumserver/packagesThen continue with the installation. Installing PHP a
Production principle:Packaging: QT-produced source program (not compiled) with Debian compression packaging (here is the script to the source program againCompilerInstall: Unzip the source program in the Deb package (by default, unzip to the root directory) into the specified system file and compile (postinstScriptUninstall: Delete all extracted files (POSTRM script)Example:1. New Deb Package file myded|--mydeb| ———— Application|--addressbook (this directory contains QT source and configure scri
/mysql.server/etc/init.d/mysqldThe permission to modify the startup script at the same time is 755:[Email protected] mysql]# chmod 755!$chmod 755/etc/init.d/mysqld9. Edit the startup script to define the DataDir path:[Email protected] mysql]# Vim/etc/init.d/mysqldDefine the data storage path:Datadir=/data/mysql10, put mariadb command into the $path[Email protecte
Installcpu () { TODO auto-generated Method Stub SYSTEM.OUT.PRINTLN ("AMD Motherboard CPU Socket hole number is:" + cpuholes); }}CPU and Motherboard factory classpublic class Cpufactory { public static CPU createcpu (int type) { CPU CPU = NULL; if (type = = 1) { CPU = new INTELCPU (755); }else if (type = = 2) { CPU = new AMDCPU (938); } return CPU; }}public class Mainboard
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.