1. First close the NetworkManager service[[Email protected] ~]# service NetworkManager stop[[email protected] ~]# chkconfig NetworkManager off2. Configure the NIC One[Email protected] ~]# vi ifcfg-eth0 device=eth0 onboot=yes bootproto=none
Linux system has several running levels:0-shutdown1-single User2-multi User without Internet services3-multi User with Internet services4-unused and Reservered5-gui6-rebootWe can use the ' Init * ' command to change running level of the system.To
There are two clocks of hardware clock and system clock in Linux. The hardware clock is the clock device on the motherboard, which is usually the clock that can be set on the BIOS screen. The system clock refers to the clock in the kernel. All Linux-
Introduction of File Serverftp: Used in intranet and public network. Server: Windows,linux client: Windows,linuxSamba: can only be used in intranet (file sharing service) server: Windows,linux client: Windows (Linux)1 FTP SoftwareLinux:wu-ftp early,
1. File System composition
/usr/bin,/bin--holds commands that all users can execute
/usr/sbin,/sbin--store commands that only root can execute
/home-User default host Directory
/proc--Virtual file system, storing current memory image
#ls命令: The LS command can not only view the files contained in the Linux folder, but also can view the file permissions (including directories, folders, file permissions), view directory information, etc. [Email protected]_168_102_centos/]# lsbin
The file I/O mentioned here refers to the non-cached;1. For IO operations with caching and IO operations without caching, see another article:Detailed with cache IO and without cache IOThe file IO (without the cached IO) in Linux is typically used
CTRL + A
Switch to command line start (Home)
Ctrl+e
Switch to the end of the command line (end)
Ctrl+l
Clear Screen Contents àclear
Ctrl+u
Clear the content before the cut cursor
1. Modify the/etc/profile fileThis approach is recommended if your computer is used only as a development, because all user shells have the right to use these environment variables, which can pose a security issue for the system.(1) Open/etc/profile
1, KobjectThe Linux kernel uses Kobject to represent a kernel object. It is closely linked to the Sysfs file system, and each Kobject object in the kernel that is registered to the system corresponds to a file directory in the Sysfs file system. The
1. Install the standard C development environment, because Ubuntu installation is not installed by default, so you need to install it first:sudo apt-get install gcc g++ libgcc1 libg++ make GDB2. Download the latest version of the cross compiler from
The/usr file system is often large because all programs are installed here. All files in/usr typically come from Linux distribution, locally installed programs and other things under/usr/local. This may not require reinstalling all of the programs
Use the Samba server to upload files from windows to linux, sambalinux1. Configure yum
[Root @ db/] # cd/etc/yum. repos. d/[root @ db yum. repos. d] # vi yum. repo -- modify the disk Mount location and enabled to start
Reference link for configuring
One-click installation of Redmine in RHEL6.4
Install Redmine with one click under RHEL6.4. One-click installation of redmine saves a lot of unnecessary time. Download:
What should I pay attention to when running Linux VM in Hyper-V?
When Red Hat Linux VM dynamic memory is used in the Hyper-V environment, what should I pay attention?
Microsoft's Hyper-V is recognized to support Windows VMS, but Hyper-V also
Modify CentOS5. default system language
The configuration information of the system default language in CentOS is stored in/etc/sysconfig/i18n. Therefore, you need to modify the file from the underlying layer.
1. vi/etc/sysconfig/i18n
Change LANG
CentOS displays the CPU on which each process is running.After running top, press 1 to view the busy status of each CPU and IOWAIT.However, I want to see which process is executed on which CPU, and which process causes high IOWAIT.Check man top
View and set the installation path of the software in linux.
1: You can use the whereis software name to find the file location in the system.
For example, if you want to find the eclipse file, you can:
[Root @ localhost ~] # Whereis eclipse
How can I forget the root password of mysql?Step 1: (stop running mysql) [root @ CentOs5 ~] # Service mysqld stopStopping MySQL: [OK] Step 2: Use the "-- skip-grant-tables" parameter to restart mysql[Root @ CentOs5 ~] # Mysqld_safe --
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