1. Modify the startup mode:Enter command line terminal to use this command[Email protected] ~]# Vi/etc/inittabId:5:initdefault:5 for graphical interface mode3 for multi-user developer modeTap I into edit mode, change 5 to 3Executive
Fdisk operation of the hard disk and partition, enter FDISK on the hard drive operation phaseWe can partition the hard drive, if you understand the fdisk-l; through fdisk-l, we can find out the number of drives and the name of the device, such as
How do I install the. deb file under the Linux system?Deb is the Ubuntu, Debian format.RPM is the format of Redhat, Fedora, and SuSE.They are not universal (though they can be converted).Deb is a Debian-released packageUbuntu is based on all the
command to enter VIVI FileName: Opens or creates a new file and places the cursor at the beginning of the firstVI +n FileName: Opens the file and places the cursor at the beginning of nthVI + FileName: Opens the file and places the cursor at the
1. View Network configuration:Command: Ifconfig2. Configure the network:Vi/etc/sysconfig/network-scripts/ifcfg-eth0(This is a different Linux system, some of which are ifcfg-em0, note)Device="Eth0"//network card file nameBootproto="None"//none means
1. Type [-TPA] name: see if the name command is a bash built-in command.Parameters:Type: Without any arguments, type shows the built-in commands for external commands or bash;-T: When the-t parameter is added, the type shows its meaning by the
Process Scheduling SchedProcess scheduling refers to a system's policy of transitioning between multiple states of a process. respectively: Sched_other, Sched_fifo, SCHED_RR.
Memory Management MMUMemory management is a memory sharing policy
Interrupt mechanismWhy do I need to interrupt?If you let the kernel periodically poll the device for processing the device, it will do a lot of work, because the peripherals are generally slower than CPU , while CPU cannot wait for an external event.
_ATTRIBUTE__ (Error ("message" ))
Declare that calling the marked function was an error.
__ATTRIBUTE__ ((Warning ("message" )))
Declare that calling the marked function is suspect and should emit a warning.
Centos6.5 (linux) to disable the module IPV6 module, centos6.5ipv6
After installing centos, some modules are enabled by default, but some modules are not required. For example, IPV6 is not yet popular in China
How can I disable IPV6?
The method
Add a static route table in linux and restart it to take effect.In daily use, or on the server, two NICs are configured with two addresses to access different network segments. This is a very common phenomenon, however, we need to add a route table
Makefile pseudo-Command Parsing and makefile pseudo-Parsing
This article was found in my blog and I think the pseudo commands for makefile are very detailed! I also mentioned why to use. PHONY: To declare a pseudo command! I hope this article will
Linux program transplantation for windows and linux
1. The path name must use the forward slash "/". (Both forward and backward slashes are recognized in windows. In linux, only forward slashes are recognized .)
2. If you cannot save Chinese
[Docker] learning notes -- building gitlab and dockergitlab
Gitlab is an open-source project used for warehouse management systems. A web service built on Git as a code management tool.
Detailed introduction can refer to the official website, https:/
Check precautions for C Programming in Linux
I. Usage of tools: Http://www.eepw.com.cn/article/249694.htm
1. Learn to use vim/emacs. vim/emacs is the most common source code editing tool in linux. You should not only use them to edit the source
Linux Advanced Skills: heartbeat + lvs (1)
1. Introduction to heartbeat:
The Heartbeat project is an integral part of the Linux-HA project, which implements a high-availability cluster system. Heartbeat service and cluster communication are two key
Linux Token Auth one-time password authentication
1. What is Token?
A Token is an identity authentication identifier. A token also has an expiration time. That is, the token is not valid for a long time.2. Why do we usually need temporary or
Install and configure bochs in ubuntu14.04 (1)
After a long time, I feel like I am on the road... Hey
First let me talk about their own configuration: The system is ubuntu14.04LTS64-bit, the installation is: bochs-2.4.5, using the source code
CentOS6.x upgraded to CentOS7
In just a few weeks after the release of Red Hat Enterprise 7, centos7 was also released, and included the equally exciting features as red hat. In addition to the long-awaited systemd and popular Docker, this release
Centos5. install GUI
By default, Centos does not have a GUI installed. It is just a command line interface. If you are not familiar with command line operations, you may not be familiar with it. Therefore, you can install the GUI for centos, the
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