中国真实偷乱视频,东京道一本热中文字幕,久久精品国产99国产精品亚洲,欧美激情一区二区三区在线
標(biāo)題:
[求助]
linux掛載分區(qū)成功后,安裝一鍵包時(shí)如何讓根目錄WWW大的分區(qū)中
[打印本頁]
作者:
lxl12happy
時(shí)間:
2015-5-11 00:15
標(biāo)題:
linux掛載分區(qū)成功后,安裝一鍵包時(shí)如何讓根目錄WWW大的分區(qū)中
新買的VPS,剛裝
linux系統(tǒng),接著就是分區(qū),分區(qū)后準(zhǔn)備安裝一鍵包。現(xiàn)在遇到難以下難題。
1:新增分區(qū)80G,已掛載成功,網(wǎng)站內(nèi)容很多,所以我想把WWW放在這個(gè)的分區(qū)中,可以保證數(shù)據(jù)的安全和足夠的使用空間,沒有經(jīng)驗(yàn) 我不清楚該如何操作?
第一次操作分區(qū),按網(wǎng)上的方法進(jìn)行的
新增分區(qū)和掛載分區(qū)的教程方法:
【http://help.aliyun.com/knowledge_detail.htm?spm=5176.7114037.1996646101.11.uZqfJ4&knowledgeId=5974154&pos=6】
已分區(qū),格式化,掛載成功。
2:分區(qū)加載成功后,分區(qū)信息如下
[root@localhost ~]# fdisk -l
Disk /dev/xvde: 96.6 GB, 96636764160 bytes
255 heads, 56 sectors/track, 13217 cylinders
Units = cylinders of 14280 * 512 = 7311360 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x142a828a
Device Boot Start End Blocks Id System
/dev/xvde1 1 11750 83894972 83 Linux
Disk /dev/xvda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000bcfbd
Device Boot Start End Blocks Id System
/dev/xvda1 * 1 64 512000 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/xvda2 64 2611 20458496 8e Linux LVM
Disk /dev/mapper/VolGroup-lv_root: 18.8 GB, 18832424960 bytes
255 heads, 63 sectors/track, 2289 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/mapper/VolGroup-lv_swap: 2113 MB, 2113929216 bytes
255 heads, 63 sectors/track, 257 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
復(fù)制代碼
下載
(521.2 KB)
分區(qū)信息
2015-5-10 23:45
3:下一步,要安裝一鍵安裝包,存放網(wǎng)站的根目錄WWW放到最大的數(shù)據(jù)盤中,請問我該如何操作?
關(guān)鍵1:是安裝一鍵包【后】操作還是 安裝一鍵包【前】操作?
關(guān)鍵2:操作流程和命令或方法?
請教高手和好心人指導(dǎo)指教下,謝謝。
我常用的一鍵安裝包的 安裝方法【http://ahbydz.com/lanmp/install.html】
圖片附件: [分區(qū)信息]
QQ截圖20150510231621.jpg
(2015-5-10 23:45, 521.2 KB) / 下載次數(shù) 10503
http://ahbydz.com/bbs/attachment.php?aid=5349&k=db8e7d854875ff564a362a5a8870c75b&t=1745209011&sid=MHsMKE
作者:
lxl12happy
時(shí)間:
2015-5-11 02:00
如何實(shí)現(xiàn) www目錄 放到/dev/xvde1 ???
作者:
弟子
時(shí)間:
2015-6-9 01:41
回復(fù)
2#
lxl12happy
在 根目錄輸入cd /www
然后直接安裝就好了。
作者:
admin
時(shí)間:
2015-6-9 10:43
把/dev/xvde1加載到www分區(qū)就可以
歡迎光臨 WDlinux官方論壇 (http://ahbydz.com/bbs/)
Powered by Discuz! 7.2