2014年6月16日 星期一

Install OpenMediaVault (kralizec0.6.11) on Debian wheezy (7.5)


network install the Debain Wheezy 7.5
aptitude update
aptitude upgrade

echo "deb http://packages.openmediavault.org/public kralizec main" > /etc/apt/sources.list.d/openmediavault.list
wget -O - http://packages.openmediavault.org/public/archive.key | apt-key add -
aptitude update

aptitude install openmediavault-keyring postfix libapache2-mod-php5


It will Remove the following packages of message transfer agent (MTA):
1)     exim4
2)     exim4-base
3)     exim4-config
4)     exim4-daemon-light


aptitude install openmediavault locales


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-2_i386.deb
dpkg -i php5-pam_1.0.3-2_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


apt-get install openmediavault-keyring openmediavault
/etc/init.d/apache2 reload

browers login the webgui id/pw: admin/openmediavault

重新安裝在 ACER FT100無法開啟登入網頁,另台AOPEN的準系統則是先安裝0.5.49後,修改sources.list.d裡openmediavault.list的版本名稱後,更新及升級後,順利完成,速度及設定版面改善06/16.

2014年6月13日 星期五

Install OpenMediaVault 0.5.48 (Sardaukar) on Debian wheezy

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


2014年6月11日 星期三

Debian simplify installation

$ vi /etc/apt/sources.list

deb http://ftp.debian.org/debian testing main non-free contrib
deb http://ftp.debian.org/debian testing-proposed-updates main non-free contrib
deb http://security.debian.org/ testing/updates main non-free contrib

deb-src http://ftp.debian.org/debian testing main non-free contrib
deb-src http://ftp.debian.org/debian testing-proposed-updates main non-free contrib
deb-src http://security.debian.org/ testing/updates main non-free contrib

$ apt-get update

$ apt-get upgrade

$ apt-get dist-upgrade

$ dpkg-reconfigure locales

en_US.UTF-8 (default)
zh_TW.UTF-8

$ apt-get install ttf-wqy-zenhei ttf-arphic-ukai ttf-arphic-uming

$ apt-get install gdm3

$ apt-get install gnome-terminal

$ /etc/init.d/gdm3 start

$ apt-get install gnome-themes gnome-themes-extra

(http://wiki.debian.org/iwlwifi)

$ apt-get install firmware-iwlwifi wireless-tools
$ ifconfig wlan0 up

$ apt-get install network-manager-gnome
$ apt-get install network-manager-pptp

$ apt-get install gcin

$ wget http://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
$ dpkg -i google*.deb

$ apt-get install gedit
$ apt-get install vim gvim
$ apt-get install eog
$ apt-get install mplayer gnome-mplayer
$ apt-get install stardict

2014年6月7日 星期六

ON/OFF Switching by Data register (D0~D7) of lpt port

Handmade Two channel DO Relay device for arduino or labview