Method One:Command: Uname-aFunction: View system kernel version number and system nameMethod Two:Command: Cat/proc/versionFunction: View the directory "/proc" under the version of the information, you can also get the current system's kernel
GCC = GNU C Compiler, the following is a brief introduction to its use.1 pretreatment (pre-processing)$ gcc- e- o hello.i hello.c-E Stop after preprocessing2 Compiling (compiling)$ gcc- s- o hello.s hello.i-S post-compilation stop3
Video information is provided by the front end data acquisition-->isp image processing-->scaler to the target image size-->encode--> sent to the user (e.g. TV can be displayed)Large amount of video data, more processing of image links. If each link
RCP stands for "Remote file copy". This command is used to copy files between computers. The RCP command has two forms. The first format is used for file-to-file copies, and the second format is used to copy files or directories to another directory.
The basic monitoring scripts that I used to write when I started to learn the shell, but now we monitor them directly using Nagios's plugins and send them to you.
1 monitoring disks:
#!/bin/shused_disk= ' Df-h|grep/dev/sda2|awk '
about hard drives:When the head is reading and writing data, it does not touch the disk surface, but is suspended in a very close proximity to the surface of the disc. If, for some reason, the head touches the disc, it can have devastating
Linux supports standard I/O functions in the C language, and it also provides a set of SUS standard I/O library functions. Unlike standard I/O, Unix I/O functions are unbuffered, meaning that each read and write calls a system call in the kernel.
two, how the operating system works 1. Function Call StackThree magic weapons: Stored program computer function call stack break mechanismStack: is a space that the C language program must run with a record call path and parameters. It is a
Trace analysis of the boot process of the Linux kernelWriter: Yang Guangxu No.: 20135233(* Original works reproduced please specify the source *)(Study course: "Linux kernel Analysis" MOOC course
1
2
3
4
Step through ReadingThe company is using Linux to build servers, Linux installation software can use Yum to install a dependency package is a very simple and happy thing, so here is a brief introduction to Linux installation
Windows and Linux file sharingSamba Server
Installing the Samba Server
rpm–ivh/mnt/packages/samba-3.5.10-125.el6.i686.rpm
Add Users and modify passwords
Useradd winpasswd ******
Set the password for the user to
Whereis usage in linux, linuxwhereis
The whereis command can only be used for searching program names, and only binary files (parameter-B), man description files (parameter-m), and source code files (parameter-s) can be searched ). If the parameter
View the centos version.
-- Write at the beginning --
Different Versions of Linux have some minor differences;
So, you often need to check the server version number;
-- Body --
Run the following command to view the linux Server version:#
CentOS Virtual Machine enters rescue mode
Right-click the VM and selectPower supply-Enter the Bios when the power is turned on.
After entering the BiosUnder BootCD-ROM Drive moves to the top, and then pressPress F10 to save and restart
Enter
16 pieces of knowledge about CentOS basic optimization
1. Do not use root management, and use sudo authorization management in the name of common users;
2. Change the default remote connection to the server, disable remote connection from the root
Clone centos and change Nic
1. Back up etc/udev/rules. d/70-persistent-net.rules
[Root @ SRD999/] # cd etc/udev/rules. d/
[Root @ SRD999 rules. d] # ls
60-fprint-autosuspend.rules 70-persistent-net.rules 98-kexec.rules
60-pcmcia.rules 90-alsa.rules 9
The CentOS virtual machine needs to access the Internet to quickly configure IP addresses.If only virtual machines need to access the Internet, it is very simple.1. Go to the Centos system and view the network configuration.Run ifconfig-.2. Enter
The simple principle of sudo commands in CentOS
① Knowledge from the principle of minimal security for Linux optimization: grant the minimum permissions to common users, that is, grant only necessary management system commands.
Therefore, the
Solution to the Read-only file system error in Linux
Most of the reasons for this problem are caused by damage to the file system after an abnormal shutdown. After the system is restarted, the damaged partition will be automatically mounted as read-
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