The server‑tuserver and UbuntuDesktop kernels are different. They are specially optimized for the server: the kernel uses Deadine for "input/output scheduling"; the kernel disables Preemption; the kernel clock is interrupted by 100Hz; the kernel is optimized for i686 processors. It better supports virtualization and Multiple Route tables supporting IPv6 protocol. 32-bit supports 64 GB memory and 64-bit unlimited file directory structure directory.
Use Server
Ubuntu Server and Ubuntu Desktop kernel are different. They are specially optimized for the Server:
- The kernel uses Deadine for "input/output scheduling;
- Preemption is disabled in the kernel;
- Kernel clock interruption 100Hz;
- The kernel is optimized for i686 processors;
- Better support for Virtualization
- Supports multiple route tables of the IPv6 protocol;
- 32-bit support for 64 GB memory, 64-bit Unlimited
File directory structure
Directory |
English name |
Purpose |
/ |
/ |
The starting point of the entire directory structure. All other files and directories are under this directory. |
/Bin |
Binaries |
Used to store the most common binary commands |
/Boot |
Boot |
Contains important Linux boot files: kernel, grub, etc. |
/Dev |
Devices |
Device directory: hard disk, display, etc. |
/Etc |
Etc |
System configuration file directory |
/Home |
Home |
User directory to store user files and configurations |
/Lib |
Libraries |
System Library File |
/Lost + found |
Lost + found |
Files lost in case of system exception |
/Media |
Media |
Media loading directory |
/Mnt |
Mount |
File System Load directory |
/Opt |
Optionally |
Stores installed programs, optional optionally |
/Proc |
Processes |
Process Information Directory, non-real directory, memory ing |
/Root |
Root |
Root User directory |
/Sbin |
System-only binaries |
Directory for storing system binary commands |
/Sys |
System |
System Information Directory |
/Tmp |
Temporary files |
Temporary File directory |
/Usr |
User |
User applications, library files, and program document storage Directories |
/Var |
Variable files |
Runtime directory, such as running logs and printing queues |
Hard Disk partitioning
/Dev/hda first IDE Hard Disk
/Dev/hdb second IDE Hard Disk
/Dev/hda1 first IDE Hard Disk first partition
/Dev/hda2 first IDE Hard Disk second partition
/Dev/sda first SCSI hard disk
/Dev/sdb second SCSI hard disk
/Dev/sda1 first SCSI hard disk first partition
Note: the PATA driver is provided from kernel Kernel2.6.19, regardless of whether the IDE hard disk or SATA hard disk is/dev/sd (x)
Linux partition
Required partition:
/ |
Root Partition |
Mount the root of the entire linux |
Swap |
Swap Partition |
Linux uses it as virtual memory, and the size is 1 ~ of the actual memory ~ 2x |
Recommended partition:
/Boot |
Pilot Partition |
Enhanced stability, with a size of MB |
/Home |
User Partition |
Improve user file security |
/Var |
Default database and Web storage location |
Improve Operation Efficiency and Security |
/Tmp |
Temporary directory |
Improves stability and will be cleared after Ubuntu is restarted. |