18/10/2021

Debian10 install openmediavault私云服务器

Read Time:1 Minute, 12 Second

IP修改

如果为离线安装Debian则要设置IP

#先查看网卡名
ip link 
#设置
nano /etc/network/interfaces
添加
auto eth0
#DHCP设置
#iface eth0 inet dhcp
#静态IP
iface eth0 inet static
address 192.168.2.147
netmask 255.255.255.0
gateway 192.168.2.1

开启SSH

在选择功能时,只选SSH server,
完成安装后,要修改SSH登陆配置vi /etc/ssh/sshd_config
修改PermitRootLogin yes
重启SSHservice ssh restart

备份源cp /etc/apt/soures.list /etc/apt/soures.list.bak

安装前准备

#更新源与系统
apt update
apt upgrade
#下载安装工具与key
apt-get install -y wget gnupg2
wget -O archive.key http://packages.openmediavault.org/public/archive.key
apt-key add archive.key
#设置环境变量
export LANG=C.UTF-8
export DEBIAN_FRONTEND=noninteractive
export APT_LISTCHANGES_FRONTEND=none
#修改添加OMV源
nano /etc/apt/sources.list
deb http://packages.openmediavault.org/public arrakis main
apt update

安装基础依赖

#Debian10提供的软件包
apt install php-fpm php-json php-cgi php-cli php-mbstring ethtool python3-dialog acl xfsprogs jfsutils ntfs-3g sdparm postfix bsd-mailx cpufrequtils smartmontools uuid nfs-kernel-server proftpd-basic sshpass samba samba-common-bin rsync avahi-daemon libnss-mdns beep php-bcmath gdisk rrdtool collectd anacron cron-apt quota php-xml quotatool lvm2 watchdog libjson-perl liblocale-po-perl proftpd-mod-vroot libjavascript-minifier-xs-perl xmlstarlet socat rrdcached nginx wpasupplicant btrfs-progs samba-vfs-modules python3-pyudev python3-natsort jq chrony python3-netifaces python3-lxml salt-minion php-yaml python-click python3-click
#在OMV源中提供的基础依赖
apt install monit php-pam libjs-extjs6 wsdd

安装OMV

apt install postfix openmediavault
omv-run

打开网页输入服务地址用户名:admin密码:openmediavault

About Post Author

Hye

天法道,道法自然。 闲逸庭前,花开花落。
administrator
Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

发表评论

Previous post 在 Debian 10 上安装 MariaDB
Next post Debian10更换国内源