1. Create Postgres Users and Groups101501 -G dba-g root-d/usr/local/pgsql Postgres2. Add Postgres User Environment variablescat ~/. bash_profile#. bash_profile# Get the aliases and functionsifthen ~/. BASHRCfi# User specific environment and
There are several ways to get help with the use of commands:1.man: Help manual for external commands;Man Nine chapters:1. User commands (commands that all users can execute)2. System calls3.C Library Call4. Equipment and special documents5.
1.1 Creating a directory/data[[Email protected] ~] # Mkdir/data1.2 To see if the directory was created successfully "data can be found to create success"[[Email protected] ~] # ls/bin boot data dev etc Home Lib lib64 lost+found Media MNT
Linux file systemFiles and directories are organized into a single inverted tree structureThe file system starts from the root directory, denoted by "/"Root file System (ROOTFS): root filesystemFile names are case sensitiveFiles with a. Start as
First, Shell historyThe role of the shell is to explain the execution of the user's commands, the user enters a command, the shell interprets the execution of one, which is called Interactive (Interactive), and the shell has a way of executing the
The Relink method is used to ensure the normal use of Oracle software when the operating system is upgraded, after the operating system finishes patching, after the Oracle patch is installed, and when problems occur in the relink process.This
Linux as a basic operating system, it should have a lot of functions, here we simply talk about the function of file management.1. The meaning of the file directory:/boot: Boot file directory, kernel file (vmlinuz), boot loader (bootloader,grub) are
File Management file system and directory structureFiles and directories are formed into a single inverted tree structure. Root file system Rootfs root filesystemRootfs:/etc/,/usr,/var,/root,/home,/devFile system hierarchy LSB Linux standard BaseFhs:
Parentheses ():1. The commands in parentheses will be executed in a new sub-shell order, so the variables in parentheses cannot be used by the rest of the script. Multiple commands in parentheses are separated by semicolons, and the last command can
Root directory/: It differs from Windows C, D, E, F, in Linux, all file systems (optical drives, USB drives, hard disks) are mounted to a folder in the root directory bin: Store binary executable sbin: binary executable file, only root can access,
1, root directory/(root user's home directory)Each file and directory is started from the root directory.Only the root user has write access to the directory.It is important to note that/root is the home directory of the root user, while the user's
2.1/2.2 System directory StructureTree structure, showing the directory structure;Install the tree command #yum install-y tree;2-layer Display tree structure #tree-l 2;Tree common options #tree--hap;Detailed usage of tree #man
1, Linux system different directory can be distributed in different partitions or different hard disk devices, which is difficult for windows to reach. Directory and disk partitions are not associated.2, Mount point is the entry of the system into
directory Structure of Linux systemsroot directory/vertex, all other directories are under the root. The directories and subdirectories below the root are a hierarchical tree structure, much like an upside down tree. The directory structure and disk
The kernel does not provide specific functionality: functions are provided by the programFormat of the program, ABIWindows:exeLinux:elfThe process of compiling the program:SOURCE program---compile----assembly--------------LinkCompile the
Directory structure:/bin: Common command programs for storage systems/boot: Some of the files required by the system to boot or boot/dev: Available device files/etc: System configuration-related things/home: Master directory for all users/LIB,LIB64:
Linux Start-Up flowchart: (in the operating part of the picture see upload attachment)650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/72/EB/wKiom1Xv51SDO1tYAARUl7ILl2w709.jpg "title=" Kaiji.png "alt=" Wkiom1xv51sdo1tyaarul7ill2w709.jpg "/>
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.