1. Download the CentOS system Image:A lot of information is CentOS6, 7 less, so I decided to use CentOS6 to learn.Address: http://vault.centos.org/6.8/isos/x86_64/Centos-6.8-x86_64-bin-dvd1.iso and Centos-6.8-x86_64-bin-dvd2.iso were found during
All Users:/etc/profileThis file sets the environment information for each user for the system, which is executed when the user logs on for the first time.and collect the shell settings from the configuration file of the /etc/profile.d
3.4 usermod CommandChange user Properties Usermod,Change uid, command is #usermod-u number;Change GID, command for #usermod-g number;change The user home directory, the command is #usermod-d number;change The user shell, the command is #usermod-s
Run{crosscheck Archivelog all;allocate Channel C1 device type disk connect Sys/[email protected] Maxpiecessize = 200000m;a Llocate Channel C2 device type disk connect Sys/[email protected] maxpiecessize = 200000m;sql ' alter system archive log CU
environment variable settings under Linux 1) environment variables that work for the current specific user
vi ~/.bashrcexport PATH="$PATH:/NEW_PATH"
2) Linux system environment variable configuration file2.1) /etc/profile : The first file
1.Linux TerminalThe terminal essentially corresponds to the Linux/dev/tty device, Linux multi-user login is done by different/dev/tty devices, Linux default provides 6 pure command line Interface "Terminal" (it should be accurate that this is 6
First, the command line base 1. Command format基本用法命令字 [选项] … [参数1] [参数2]…[ ] 表示里面的内容可有可无在执行一个命令的时候,命令字必须存在,选项和参数可有可无命令字 选项 参数之间必须有空格各组件解析选项:用来调控执行方式 单个字符一般用- 单词一般用--eg:# ls -l# ls --help参数:命令的操作对象,如文档的存放路径、用户名等2. Command-line editing
Classification of Linux ServicesIndependent serviceRPM Package default installation of services Linux Services Source Package Installation ServicesQuerying for Installed servicesRPM Package Installation Services: Chkconfig--listSource Package
1, how to filter out the known current directory in the Oldboy of all the first-level directory (does not contain subdirectories, that is, only a level of directory)Method 1:find./-type d-maxdepth 1Method 2:ls-fMethod 3:ls-l | grep ^dMethod 4:ls-f |
Startup process:After the host is booted and the hardware self-test is performed, the boot loader in the hard disk MBR is read and loaded.The boot loader is responsible for booting the operating system on the hard drive, and depending on the startup
See: http://cn.linux.vbird.org/linux_basic/0410accountmanager.php1. User and passwd files1) Master the function of the/etc/passwd file: Store all user related information, this file is also called the user information database.2) The specific
Network environment configuration under LinuxYou must be a root user before you configure the network environment:root@localhost ~# su - root@localhost ~# su root
1
2
You can switch to the root user by using the above two
experiment purpose: Hack linux CentOS7 passwordThe first step:When you start, start the interface and press "E"Step Two:After entering, find the place where the Linux16 begins, press "End" key to the last, enter Rd.break, press Ctrl+x to enterStep
Disk partitioningFdisk-l List of disksNow I add a piecen Re-create new partitionP list toW SaveD DeleteThese are some of the more common2 options appear after entering n p is the primary partition E is the extended partitionUsing an MBR partition,
Mount the new hard disk after the input fdisk-l command to see the current disk information can be seen in addition to the current first hard disk and a second hard disk SDB, and then partition into the Fdisk command with FDISK/DEV/SDB, enter H can
Shell1. Special variables such as $# and $*
List of special variables
Variable
Meaning
$
File name of the current script
$n
Arguments passed to the script or function. N is
Linux pthread compilation details, linuxpthread details
When I write a multi-threaded program in linux today, the header file is included in the. c file, but the following error is reported during compilation: Undefined reference to 'pthread _
Linux nginx installation and reverse proxy configuration tutorial, linuxnginx1. Install nginx2. configure the direction proxy
Enter nginx. conf under/usr/locl/nginx/conf. The configuration information is as follows:
#user nobody;worker_processes 1;
Spark cluster running process
1. Spark on Standalone
1. After the spark cluster is started, Worker registers information with the Master
2. After the spark-submit command submits a program, the driver and application will also register information
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