Although Linux has always been playing, but the hard disk operation is not very familiar with today's free, just finishing the next.1, create a partitionCheck to see if there are no partitions on the disk[HTML]View Plaincopy
Fdisk-l
The first box and the second box are the disks that have been partitioned, and the third hard disk has no partitions.Start partition[HTML]View Plaincopy
Fdisk/dev/sdc
Enter m to see what actions
Uninstalling NFS, resulting in a situation where the uninstallation could not occur[Email protected]/]# umount/mnt/Umount:/mnt:device is busyUmount:/mnt:device is busyUsing Umount-f, the problem remains[Email protected]/]# umount-f/mnt/Umount2:device or resource busyUmount:/mnt:device is busyUmount2:device or resource busyUmount:/mnt:device is busyUsing the Fuser command, first confirm that there are processes that need to be killed[Email protected]/]# fuser-cu/mnt/mnt:15060c (Root)Second, send
There are many ways to mount a remote directory, so here's a SSHFS to record the memo. Linux mounts remote directory to local using SSHFS Installing SSHFSUnder Ubuntu, you only need to use the$ sudo apt-get install SSHFSIt's only 140kB. Mount remote Directory to local$ SSHFS [email protected]:p ath MountDirFor example$ SSHFS [email protected]:/home/suzzz ~/tmp/This will mount the remote directory/home/suzzz to the local ~/tmp. Such mounts are also
need to mount to use. But before it is mounted, it must be formatted before it can be done.2. Formatting partitions1) fdisk-l |grep SD View partition statusor fdisk-l.2) Create data store directory, store path customizationMkdir-p/openstack/glanceMkdir-p/openstack/mysqlMkdir-p/openstack/data......3) format the disk that you just partitionedMKFS.XFS/DEV/SDB1 Formatting SDB1 disksMKFS.XFS/DEV/SDB2 Formatting SDB2 disksMkfs.xfs/dev/sdb3......4) Vim/etc/fstab/DEV/SDB1/OPENSTACK/GLANCE/XFS Defaults
1. After inserting the USB drive, enter the Fdisk-l command under Linux, as shown belowIndicates that the device has been identified and that the name of the device is SDB1.2. Set up a mounted USB mount directory (can be customized directory)#mkdir/mnt/usb3. Mount the USB stick in the/mnt/usb directoryMount command format: Mount [-parameters] [device name] [mount Point] [other parameters]Mount-t vfat/dev/sdb1//mnt/usb-o iocharset=gb2312-t specifies th
Although Linux has always been playing, but the hard disk operation is not very familiar with today's free, just finishing the next.1, create a partitionCheck to see if there are no partitions on the diskThe first box and the second box are the disks that have been partitioned, and the third hard disk has no partitions.Start partitionEnter m to see what actions are availableEnter P to view the current hard disk partition, no partitions currently avail
First, installation
If you have installed Apache or Tomcat and other 80-port services can be stopped first, or just start nginx will be used in the opening of the error, or you can modify the nginx.conf listen other ports first.sudo apt-get update: Update
Apt-get-y Install Nginx: Installation, configuration file is/etc/nginx/nginx.conf
Service Nginx Start: Open Services two, uninstall
sudo apt-get–purge remove Nginx Third, to see if a service is o
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.