imoega ix2-200 安装OpenMediaVault(二)
- 该话题有11条回复(11参与),最后更新 2021年2月1日-下午11:41。
-
第二部分的安装:OpenMediaVault 篇
基础你已经安装了Debian 7.x (Wheezy),如果没有请下载该文件(Debian Wheezy 7.6 netinst image),进行网络安装。安装到此步只选择ssh server 截图如下:[]Debiandesktopenvironment
[]Webserver
[]Printserver
[]SQLdatabase
[]DNSServer
[]Fileserver
[]Mailserver
[*]SSHserver
[]Laptop
[]Standardsystemutilities安装完成后使用ROOT账户登录到系统根目录等待安装OMV.
在线安装OMV(1.x代号:kralizec )or ( 2.x代号:stoneburner)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(aliyuan:none)
aptitude update
#cd /bin
#sh
aptitude install openmediavault
omv-initsystem
shutdown -r now
you should be able to login to OMV via you Browser with(User: admin PW: openmediavault).安装过程中的选项应答
- When the ‘Postfix Configuration’ dialogue is displayed choose No configuration.
- When the ‘Configuring mdadm’ dialogue is displayed enter none.(键盘输入)
- Do you want to start MD arrays automatically? YES
- When the ‘ProFTPD configuration’ dialogue is displayed choosestandalone.
分割线
错误处理: 提示update-initramfs 失败
update-initramfs: Generating /boot/initrd.img-3.2.0-4-kirkwood
Unsupported platform.
run-parts: /etc/initramfs/post-update.d//flash-kernel exited with return code 1
dpkg: error processing initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
initramfs-tools
处理方法: 编辑文件:/etc/initramfs-tools/update-initramfs.conf 红色部分”YES”改成 “NO”, 就可以顺利安装了update_initramfs = no
常用命令:
1: apt-get update 更新源命令
2: apt-get upgrade 更新命令
3: omv-release-upgrade 发行版升级命令
4: apt-get install XXX 软件安装命令
5: apt-get --purge remove XXX.deb 删除XXX软件包和配置
6: omv-firstaid OMV紧急工具启动
7:omv-update 一条命令更新,相当于执行1、2两条命令的结果
8:apt-get install -f 安装修复命令,如果安装软件意外中断可用该命令修复