The Linux cloud Server data disk is not partitioned and formatted, and can be partitioned and formatted according to the following steps. The following operation will divide the data disk into one partition to use. Applicable system: Linux (Redhat,
simple steps to make a Linux system that starts with a U disk:
First, the U disk for processing
1. Partition: (Insert the U disk)
# FDISK/DEV/SDB
D Enter Delete the existing partition
N Enter a new primary partition
W Enter Save Settings
#
One, insert U disk to computer, if currently only inserted a U disk and your hard drive is not a SCSI hard drive interface, then its hardware name is: SDA1.
Second, in the MNT directory first set up a U directory.
Third, then command prompt #
Accustomed to the Windows system under the Plug and Play USB disk, replaced by the Linux system you may not use. Why do you say that? because the Linux USB disk is considered a SCSI device, so it can not be used directly, we also need to manually
In fact, the Linux system input method to switch and Windows system is the same, in English and Chinese switch with CTRL + SPACEBAR, other with Shift+ctrl.
Fcitx Input Method Installation Tutorial:
1. It is recommended to install through
Job One:1) New user Natasha,uid is +, gid is 555, note information is "master" Groupadd-g 555 NatashaUseradd-u 1000-g 555-c ' master ' Natasha2) Modify Natasha user's home directory for /natasha Usermod-d/natasha/natasha3) View the last line of
1. Create a new account to log in with this account
AddUser testuser
Set Password
passwd testuser
Then follow the prompts to enter the password
Modify the sshd configuration to disable root direct login
Nano/etc/ssh/sshd_config
The process of building menuos under Ubuntu 16.04:1. Download kernel source code compile kernel1 # Download kernel source code compile Kernel 2 cd ~/LINUXKERNEL/3 wget https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.18.6.tar.xz 4 xz-d linux- 3.1
LFS is finished.In fact, it is not finished, but also to install some other components, the system is a useful system for humans.Just here is a blfs beyound Linux from Scratch Tutorial.In fact, according to the existing operational LFS system, we
First, open the core file limitA.sudo Vi/etc/profileB. Add Ulimit-c Unlimited at the end of the fileSource/etc/profileReload the file into memory[Email protected]:~/code# ulimit-cUnlimitedIndicates that the core file limit has been taken
1, view firewall health status # Firewall-cmd--stateOr # SYSTEMCTL Status Firewalld.service2, shutting down the firewall # Systemctl Stop Firewalld.service3, turn on the firewall # Systemctl Start Firewalld.service4, restart the
Linus Torvalds announces the first candidate (RC) version of the upcoming Linux Kernel 4.11 Kernel branch, which users can download, compile, and test in their own gnu/linux releases. Linus Torvalds said: "This is a fairly normal version from the
Mkdir/data Creating the Data DirectoryCD/;mkdir/data1 Create data1 DirectoryCD/Entry/root directoryRM-RF data1 Delete data1 directoryCd/data into the Data directoryTouch Ceshi.txt Creating Ceshi.txt DocumentsVI Ceshi.txt into ceshi.txt for
You can press the directory into the directory stack, or you can eject the directory later. In the subsequent example, the following three commands will be used:* dirs: Show directory Stack* pushd: Press directory into the directory stack* POPD:
Program Compilation Method :Dynamic Links:Dynamic linking saves system resourcesStatic compilation:The compiled file volume is larger than the dynamic link and can be ported to any server running, but may have more resourcesType of process:Terminal:
The difference between Yum and RPM in Linux:First, the source code form1. Most open source software is published directly in the form of the original code2. The source code will generally be called. tar.gz Archive Compressed file3. The source code
①cd:change DirectoryCD: The home directory is returned by default without any parameters.CD ~username: Enter the home directory of the specified userCD-: Switch back and forth between the current directory and the previous directoryIi<> must choose[]
After restarting the Linux server, the process of Nginx-s stop after the start of nginx-s Reload, will always report the error nginx: [ERROR] Open () "/alidata/server/nginx/logs/nginx.pid "Failed (2:no such file or directory), this should be because
(1) The IPV4 socket address structure is also commonly referred to as the "Internetwork Sockets address Structure", which is named "Sockaddr_in", and the is defined in the struct sockaddr_in{ uint8_t Sin_len;//Entire
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