Basic knowledge of Linux and related conceptsOne, the distribution version of LinuxThe so-called release version is the Linux kernel + open source program
Debain,ubuntu Ubantu is a derivative version of Debain, desktop system is better,
File format:Windows:peLinux:elfFile system:RootfsFHS: Specify which directories Linux should create/Down directory structure:/boot: System boot related files, such as kernel, INITRD, and Grub (bootloader)/dev: Device Files (ex: CD, CDROM)Type:Block
UNIX is a set of specific specifications that a computer operating system should follow (defining the name, interface, and behavior of all required operating system functions), and operating systems that fully conform to the specification allow the
Variables: Memory space (allocating a space in memory (memory space that can be introduced), storing data)Variable name: The storage address of the variable in memory (the variable name can introduce the value of the storage space)such as: Name=alex
This is a script file that controls Nginx services, including the control of Nginx startup, restart, stop, smooth restart, and the amount of configuration file checks.[email protected] ~]# cat nginx.sh#!/bin/env Bash# Description:nginx Server # #
First articlereprinted from Csdn VIPCLXEight steps to writing Linux driversI. Build Linux driver framework (load, unload Linux drivers)The Linux kernel uses the driver to load the driver, perform some initialization actions during the loading
When Linux compiles gcc, it encounters a compilation error because of insufficient memory, which solves the problem by modifying the swap sizeThe following actions are relevant:1. View current partition statusFree-m2. Increase swap size, around 2GDD
1. In general, dependencies can make the software smaller and all dependent software will benefit from a Lib bug fix.
dependency, for maintenance is also pros and cons, first, if a dependent software bug or vulnerability, this time only
The initialization of a Linux system can be divided into two parts: kernel initialization and system initialization. The operating system is a bridge between the user and the computer hardware. The operating system manages all the hardware resources
Library: A set of pre-compiled functions that are typically stored in the/lib and/usr/lib directories in Linux standard system library filesStatic Library: In the process of compiling the program, it is linked to the source code written by the
Env:CentOS 6.5 x64Hyper-V virtual machinesThis method can extend the root disk in the currently running systemDetailed stepsThe disk space for a virtual machine that you wanted to create was not enough, so you want to expand the disk.It is the LVM
In fact, in Ubuntu, the root account is present, just need us to set a password, and then use the root user name login, and then enter the corresponding password to the root user login, so open the root account, is actually to the root user to set a
/bin binary, executable commands/sbin executable commands, usually administrators have permission to use/boot booting, the files that the operating system uses to boot the system such as: Kernel GrupThe directory where the/dev device file resides,
Yesterday the company a server suddenly can not ping,ssh, from the IDC feedback said the server outsourcing, the number of large, CPU status display 200%. Viewing the following process files via PS aux is an exception
Reference:openstack Grizzly Install Guide1 ubuntu How to add a virtual network card sometimes, a server needs to set up multiple IPs, but does not want to add multiple network cards, Then you need to set up the virtual network card. Here are two
due to the majority of distributed computing frameworks, distributed storage systems, distributed platforms are supported in the UNIX-like environment, so to do distributed experiments and learning, or recommend to install a Linux system, I
Nginx is a common server developed by Russians. Its biggest feature is load balancing and smooth startup. This blog explains how to install Nginx.
Step 1: download and install pcre. Find and download the latest pcreinstallation package from the ftp:
(1) view the usage of each CPU Core
Sudo top-d 1
After entering, press 1, the following CPU usage will appear, the us column reflects the usage of each CPU core, the percentage is large, it indicates that the core is running a tight task.
(2)
In linux, UTF-8 is generally used, while in windows, gb2312 is used for file editing. Therefore, Chinese encoding is garbled. To correct this problem, it is actually very easy to convert the file into UTF-8 encoding format and then import it
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