[Asustor教學] ipkg 安裝 webmin


Klook.com

asustor 買到還蠻滿意的,不過裡面的系統實在是太基本了。

想要安裝個webmin,卻找不到gcc,下載gcc安裝包後,又找不到perl。

最近在asustor 2.1韌體上面,發現ipkg這個好用app,發現時感覺真的如虎添翼阿。


如果你的asustor 還沒有更新到韌體2.1版本,可以先更新。

更新完後,去app central 搜索ipkg,點選安裝。

[Asustor教學] ipkg 安裝 webmin

安裝好後,整個管理介面並沒有改變,必須要ssh nas 才可以安裝。

如果你的ssh還沒打開,可以去 服務 >> 終端機 把啟動ssh服務勾選。

[Asustor教學] ipkg 安裝 webmin-斯麥樂三號旅遊趴趴走

那登入到nas 的軟體很多,我用的是pietty。

打上自己nas ip後,輸入port,點選連線就可以登入到nas

[Asustor教學] ipkg 安裝 webmin-斯麥樂三號旅遊趴趴走

[Asustor教學] ipkg 安裝 webmin-斯麥樂三號旅遊趴趴走

登入後,請輸入 root 按 enter

後會要求輸入密碼,就請輸入你的nas 登入密碼。

請依序輸入

ipkg install gcc

ipkg install perl

wget http://prdownloads.sourceforge.net/webadmin/webmin-1.670.tar.gz

tar tar zxvf webmin-1.670.tar.gz

cd webmin-1.670/

./setup.sh

就會開始webmin 安裝

***********************************************************************
* Welcome to the Webmin setup script, version 1.670 *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.

Installing Webmin in /volume1/.@root/webmin-1.670 …

***********************************************************************
Webmin uses separate directories for configuration files and log files.
Unless you want to run multiple versions of Webmin at the same time
you can just accept the defaults.

Config file directory [/etc/webmin]: 按enter

Log file directory [/var/webmin]: 按enter

***********************************************************************
Webmin is written entirely in Perl. Please enter the full path to the
Perl 5 interpreter on your system.

 

Full path to perl (default /usr/bin/perl): 請輸入 /volume1/.@plugins/AppCentral/optware/opt/bin/perl

 

Web server port (default 10000): 按enter 或是更改

Login name (default admin):按enter 或是更改

Login password: 按enter 或是更改

Password again: 按enter 或是更改

Start Webmin at boot time (y/n): y

 

最後打上 http://你的ip:你剛剛設定的port 就可以登入。

 

移除 webmin 方法 /etc/webmin/uninstall.sh