(a) Print kernel debug information: PRINTKThe PRINTK function is similar to the printf function, except that the PRINTK function runs in kernel space, and the printf function runs in user space and the PRINTK function is implemented in the Printk.c
Common commands for viewing system information in Linux
Guide
Linux is a magical and efficient operating system, after learning Linux to have a familiar understanding of Linux systems, you need to understand these practical
1. File system/boot: System boot-related files, into kernel, INITRD, and Grub (bootloader)/dev: Device files/etc: Configuration fileHome directory for users, the home directory of each user is usually the default of/home/username/root: Administrator'
http://winnie825.iteye.com/blog/1002305Forwarding Solemn statement: On the network about SECURECRT even VMware Linux blog most of them with misleading meaning, I also suffer from the harm, of course, can not blame others, at least I read the blog
Gui;graphic User Interface GUIWindowsX-windowGnomeKdeXFaceCLI; Command Line InterfaceAhBashCshKahZshTcshThe structure of the operating system is at the bottom of the hardware and then the kernelIde. So shared objectsLoginUser name; user
Send the monitoring log for the day before#!/bin/Bashsource/etc/ Profile Time=`Date-D'-1 Day' "+%y%m%d"' #判断服务是否已经启动ser= '/usr/bin/pgrep SendMail 'if["$ser"!="" ] ThenEcho "The service is running"Else/etc/init.d/SendMail
Use the Gmail SMTP server to send email notifications on LinuxGuideSuppose you want to configure a Linux application to send mail information from your server or Desktop client. Email information may be a briefing, status update (such as Cachet),
Install matplotlib on CentOS7PROBLEM
Install matplotlib in CentOS 7.
pip install matplotlib
The following error is reported:
[root@localhost Desktop]# pip install matplotlibCollecting matplotlib Using cached matplotlib-1.5.1.tar.gz Complete
Install Chrome in CentOS 7PROBLEN
Download the rpm installation package from the official google website. Then install the downloaded Chrome rpm installation package and report an error.
rpm -ivh google-chrome-stable_current_x86_64.rpm
1
2
1
Install and deploy Glassfish in CentOS 7
GlassFish is a robust business-compatible application server that delivers product-level quality and is free for development, deployment, and redistribution.
Environment: CentOS7.2
Steps:
1. Deploy the JDK
Nginx-upload-module implements resumable File TransferGuideEvery time we want to simply implement the file upload function without using other languages (such as PHP and Java), or to implement resumable upload of files. At this time, a module of
CentOS sets various proxy for Internet access
Suppose we want to set the proxy to IP: PORT.1. Web surfing
Setting proxy for Web surfing is simple. In the firefox browser, Edit --> Preferences --> Advanced --> Network
Click Settings under
Switch between centos GUI and command lineThe Linux system runs on a specified running level at any time, and different running-level programs and services are different. The work to be done and the purpose to be achieved are different. Centos sets
Understand the default installation path of Apache, php, and mysql in centos
Apache:
If the RPM package is used for installation, the installation path should be in the/etc/httpd directory.
Apache configuration file:/etc/httpd/conf/httpd.
Detailed explanation of soft links and hard linksGuideIn Linux, the linked files are similar to Windows shortcuts, but they are not exactly the same. There are two types of linked files: hard link and symbolic link ). Let me tell you the difference
Attach the disk to centos7 and set startup.
1. First, check whether you have any partitions that can be mounted.
Fdisk-l
2. separate partitions
Parted/dev/sdb(Parted) mklable gptFormat the MBR disk as GPT(Parted) mkpart primary 0 0 100Divide a
Centos 7 Open Port 80
Enable port 80
Firewall-cmd -- zone = public -- add-port = 80/tcp -- permanent
If success is displayed, the instance is successfully added.
Command description:
-- Zone # Scope
-- Add-port = 80/tcp # add a port in the format
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