Linux CentOS open SSH grid boot automatically hang the second partition

Source: Internet
Author: User
Tags uuid


sudo apt-get update #升级apt

sudo apt-get install openssh-server #安装openssh

Ps-ef | grep ssh

650) this.width=650; "Src=" http://b263.photo.store.qq.com/psb?/086c6849-4451-4fc6-a587-8355d4617a9b/ qyloukptwxha5x7j9omnd*ecfrtyma3qrb.l7c*uj6a!/b/dacbaaaaaaaa&ek=1&kp=1&pt=0&bo=awjqaaaaaaafaca! &su=055723841&sce=0-12-12&rf=2-9 "alt=" DACBAAAAAAAA&EK=1&KP=1&PT=0&BO=AWJQAAAAA "/ >

Df-h

650) this.width=650; "Src=" http://b262.photo.store.qq.com/psb?/086c6849-4451-4fc6-a587-8355d4617a9b/ ctyowv8xb1vnygvr0qzjxk*gq1q8pgciflldq2yoht0!/b/daybaaaaaaaa&ek=1&kp=1&pt=0&bo=4qgxaaaaaaafahi! &su=09487809&sce=0-12-12&rf=2-9 "alt=" DAYBAAAAAAAA&EK=1&KP=1&PT=0&BO=4QGXAAAAA "/ >

sudo fdisk-l

650) this.width=650; "Src=" http://b263.photo.store.qq.com/psb?/086c6849-4451-4fc6-a587-8355d4617a9b/ satzrfvswblzjr6yrvvxgxo8gflhzutesfyt8thnnrc!/b/dacbaaaaaaaa&ek=1&kp=1&pt=0&bo=yqiiaqaaaaafaek! &su=0189524961&sce=0-12-12&rf=2-9 "alt=" DACBAAAAAAAA&EK=1&KP=1&PT=0&BO=YQIIAQAAA "/ >

sudo m KFS. Ext4 /dev/ sdb

650) this.width=650; "Src=" http://b263.photo.store.qq.com/psb?/086c6849-4451-4fc6-a587-8355d4617a9b/ ic1w7zhvvzolhr0yvyvj7n2okmqt**vu*un4u9hi594!/b/dacbaaaaaaaa&ek=1&kp=1&pt=0&bo=lajqaqaaaaafan4! &su=0145362865&sce=0-12-12&rf=2-9 "alt=" DACBAAAAAAAA&EK=1&KP=1&PT=0&BO=LAJQAQAAA "/ >

Get partition UUID

sudo blkid/dev/sd b

650) this.width=650; "Src=" http://b262.photo.store.qq.com/psb?/086c6849-4451-4fc6-a587-8355d4617a9b/ weqpyscrot7sgy2sse93sn2qiwftx2vzzymz9omledu!/b/daybaaaaaaaa&ek=1&kp=1&pt=0&bo=fwjpaaaaaaafaf8! &su=0160408689&sce=0-12-12&rf=2-9 "alt=" DAYBAAAAAAAA&EK=1&KP=1&PT=0&BO=FWJPAAAAA "/ >

View Permissions

sudo ll Etc/fstab


650) this.width=650; "Src=" http://b261.photo.store.qq.com/psb?/086c6849-4451-4fc6-a587-8355d4617a9b/ eclszl6scsp9dg3egvwcprnzwceth2yzaf8mlp7ovt8!/b/daubaaaaaaaa&ek=1&kp=1&pt=0&bo=mqfhaaaaaaafapw! &su=0161100177&sce=0-12-12&rf=2-9 "alt=" DAUBAAAAAAAA&EK=1&KP=1&PT=0&BO=MQFHAAAAA "/ >


Seize permissions

sudo chmod 775 etc/ Fstab

Change in Permissions

650) this.width=650; "Src=" http://b262.photo.store.qq.com/psb?/086c6849-4451-4fc6-a587-8355d4617a9b/ uuq5qn2pxsuna5iorvlribcfiikldn0mdwv0drvemsa!/b/daybaaaaaaaa&ek=1&kp=1&pt=0&bo=twflaaaaaaafapa! &su=0263576513&sce=0-12-12&rf=2-9 "alt=" DAYBAAAAAAAA&EK=1&KP=1&PT=0&BO=TWFLAAAAA "/ >

Edit hang at point

sudo vi etc/ Fstab

Uuid=caef2e94-b881-4032-a4fd-608c6fcf794d/media Ext4 Defaults 0 2

Restart

sudo init 6

Df-h

650) this.width=650; "Src=" http://b264.photo.store.qq.com/psb?/086c6849-4451-4fc6-a587-8355d4617a9b/aog* cotrvdc2uozduzbevdqu9yijxf*ae6vfc4sey0a!/b/dagbaaaaaaaa&ek=1&kp=1&pt=0&bo=pqilaqaaaaafaby! &su=0247076385&sce=0-12-12&rf=2-9 "alt=" DAGBAAAAAAAA&EK=1&KP=1&PT=0&BO=PQILAQAAA "/ >


This article is from the "12187525" blog, please be sure to keep this source http://12197525.blog.51cto.com/12187525/1901580

Linux CentOS open SSH grid boot automatically hang the second partition

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.