Yum Yellowdog updater,modified is an RPM-based management tool written in Python to address the dependencies of RPM packages
To install the compilation tool Yum install GCC
Library functions: Static library functions, dynamic library functions
sudo wget download the address to download the file
TAR-XF filename Extract File
./configure--help
Pre-devel
Make compiles and generates various files, placed in Objs
Make install the compiled files to the prefix specified path
Installed by default in user/local/file name/
Sbin Bin related Executables
NETSATA-TLNP Monitoring Status View
Iptables-f
Yellowdog Updater,modified is an RPM-based management tool written in Python to address the dependencies of RPM packages
How Yum works:
2 parts of the Software warehouse (repository)
Packages:
Various RPM packages
Repodata:
Package related files + Dependency information Database + Package list + Package Group list file
Shared File Protocol
Ftp
http
[name can not have space]
Name= this a local repository
BaseURL =FILE:///MEDIA/CD
Gpgcheck=0 0 is not enabled certificate, enable certificate to configure the next parameter more
Gpgkey= local file:///address or HTTP//address
Enabled=1 default is 1 enabled to turn off if configured to 0
Yum Management software
Query Yum Info/list
Installing yum install plus-y default auto-Confirm installation
Re-install Yum reinstall
Upgrade Yum Update
Uninstalling Yum Remove
Yum Clean all replace the warehouse with
Yum Repolist Cache repository files
Yum groupinfo ' xxx ' package group information view
Yum groupinstall ' xxx ' install package group
Yum groupremove ' xxx ' remove package group
Common package groups: ' X Window System ' graphical framework
' Desktop ' or ' KDE desktop '
' Development Tools ' development package Group
Rpm-q XXX query XX software name
RPM-QA Query all package information information
RPM-QF FILE View Package path
RPM-QL Software Name
Rpm-qpi add p to view not installed
RPM Install XXX equates to rpm-i xxx
-v Verbose Show command execution process information
-H Hash to # Show installation progress
RPM-IVH file/Path Tab completion full file name and dependent package
RPM Update/upgrade RPM-UVH and RPM-UVH
Kernel upgrade is not UVH way, but IVH way to upgrade UVH is to overwrite the installation IVH is to keep the old kernel install another kernel file
RPM-E Software Name Erase
Library functions: Static library functions, dynamic library functions
sudo wget download the address to download the file
TAR-XF filename Extract File
./configure--help
Pre-devel
Make compiles and generates various files, placed in Objs
Make install the compiled files to the prefix specified path
Installed by default in user/local/file name/
Sbin Bin related Executables
NETSATA-TLNP Monitoring Status View
. deb dbkg Command installation (Debian system) apt
. RPM RPM Command Installation (CentOS, Redhat) yum
. EXE installation package double-click to open the installation
Linux Package file Composition: (Installation path is defined when RPM package is made)
*.so.* #share Object (/lib) shared objects
Binary file #binary (BIN)
Configuration file #configration, (/etc)
Hardware (/dev)
FHS File System Standard
Windows package file composition: (C:\Program Files)
DLL #动态链接库
Executable file. exe
Configuration file {ReadME.txt, configuration case}
Management tools:
RPM Package Manager manages RPM-formatted packages for Rhel, CentOS, fedora, etc.
DBKG (Debian package) manages the Deb-formatted packages for Debian, Ubuntu hairstyle versions
The dependencies of the package are present regardless of RPM or dpkg
Different types of files are installed in a specific directory
`
RPM Package Naming rules
wireshark-1.8.10-17.el6.amd64.rpm
Wireshark is the software name
1.8.10 is the software version
17 is the version revision number
EL6 is the applicable system
X86_64 CPU Architecture
32-bit CPU i386 i686
64-bit X86_64/AMD64
ARM Mobile CPU Architecture
The architecture of SPARC Sun's minicomputer
Noarch architecture Independent (32/64 bits can be installed)
RPM Package Creation Instruction Rpmbuild
RPM--import Import Certificate
When the user installs the RPM command to install the RPM package, the system detects the consistency of the system certificate and RPM package certificate, consistent with the official source, not the third party organization
192.168.*.*/* Private Address
172.16.*.*/* Private Address
10.0.0.0/* Private Address
VM Virtual Machine Networking-access the extranet through NAT (Netwwork address transformation) technology to return information because the extranet server does not have the corresponding address routing table information, does not make the conversion packets cannot be returned by the original path will be discarded
VM Virtual machine Networking path--VM host---vmnet8 (VM virtual machine)----The Vmnet8--nat conversion address of the Windows system--extranet router
The bridge mode IP address of the VM virtual machine is the same as the IP of Windows
Configure IP Address Example: 192.168.1.1 server IP address automatically assigns 192.168.1.2 to the address after the gateway is assigned to the required machine
Route-n Viewing routing table information
CAT/ETC/RESOLV.CONF viewing network card configuration information
Bootproto=static in eth0 config file is static address DHCP is dynamic address auto-assignment
ipaddr=172.15.15.186 Strictly case-sensitive
netmask=255.255.0.0 Subnet Mask
gateway=172.15.15.195 Gateway
SSH [email protected] SSH login user @ host/server IP address for session connection
Linux Essentials Books recommended:
"Brother Bird's Linux private dish"
"Linux command line and Shell scripting Encyclopedia"
Python:
"Python Core Programming (second edition)"
Website structure:
"Large Web site technology architecture"
Mysql:
"In layman's MySQL"
"MySQL Technology insider: inndb Storage Engine"
Linux kernel (c language):
"The Art of Linux kernel design"
Deep understanding of the Linux kernel
Redis database:
"Redis Development and operations"
Linux Basic command and NAT technology