OMV欲配合嵌入式系統之設計,故會將單一資料碟視為系統槽,若只使用單顆硬碟並配合ISO檔安裝的話,將無法載入磁區.裝好後只能乾瞪眼,需另割空間供儲存使用.
目前OMV最新版本為0.5.49,搭配Debain Squeeze,據說0.6版本才會使用最新的Wheezy,因此試著使用netinst最小安裝,來使用OMV.
首先當然要先規劃硬碟空間,我使用320GHG,18G設為系統 槽,2G為SWAP,剩下300G使成兩個partition來使用.
#configure Debain network interface
su root
vi /etc/network/interfaces
auto lo
iface lo inet loopback
auth etho
iface eth0 inet static
address 192.168.0.5
netmask 255.255.255.0
gateway 192.168.0.1
dns-nameservers 168.95.192.1
/etc/init.d/networking restart
#install OpenSSH
apt-get update
apt-get install openssh-server
#date --set 2014-06-12
#date --set 21:45:00
#date -R
#apt-get install ntpdate
#/usr/sbin/ntpdate clock.stdtime.gov.tw
#/sbin/hwclock -w
echo "deb http://packages.openmediavault.org/public Sardaukar main" > /etc/apt/sources.list.d/openmediavault.list
wget -O - http://packages.openmediavault.org/public/archive.key | apt-key add -
apt-get update
aptitude install openmediavault-keyring postfix libapache2-mod-php5
cd /tmp
wget http://ftp.us.debian.org/debian/pool/main/s/scponly/scponly_4.8-4.1_i386.deb
dpkg -i scponly_4.8-4.1_i386.deb
wget http://omv-extras.org/debian/pool/main/p/php-pam/php5-pam_1.0.3-1_i386.deb
dpkg -i php5-pam_1.0.3-1_i386.deb
wget http://packages.openmediavault.org/public/pool/main/p/php5-proctitle/php5-proctitle_0.1.2-2_i386.deb
dpkg -i php5-proctitle_0.1.2-2_i386.deb
aptitude install openmediavault locales
apt-get install openmediavault-keyring openmediavault
/etc/init.d/apache2 reload
browers login the webgui id/pw: admin/openmediavault
reference:
http://forums.openmediavault.org/viewtopic.php?f=12&t=1794&p=9455#p9382
沒有留言:
張貼留言