Warning: mktime() [function.mktime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/no DST' instead in /usr/local/www/lifetype/class/data/Date.class.php on line 240
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/no DST' instead in /usr/local/www/lifetype/class/locale/locale.class.php on line 505
十一月
Warning: mktime() [function.mktime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/no DST' instead in /usr/local/www/lifetype/class/data/Date.class.php on line 240
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Asia/Chongqing' for 'CST/8.0/no DST' instead in /usr/local/www/lifetype/class/locale/locale.class.php on line 505
30
在 OpenBSD 安裝 Webmin
Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/local/www/lifetype/class/cache/Cache_Lite/Lite.php on line 717
Deprecated: Function set_magic_quotes_runtime() is deprecated in /usr/local/www/lifetype/class/cache/Cache_Lite/Lite.php on line 727
OpenBSD 引用 (0) 發表迴響
Webmin 是一套圖形化的管理介面,方便管理者可以使用 GUI 介面來管理系統。
Webmin 官方網站:http://www.webmin.com/
目前最新的版本是 1.390 版
- 將壓縮檔複製到/usr/local下並解開
cp webmin-1.390.tar.gz /usr/local
tar -zxvf webmin-1.390.tar.gz - 進入webmin目錄中
mv webmin-1.390 webmin
cd webmin - 執行
./setup.sh - webmin安裝在那一個目錄若在/etc/webmin則直接按Enter鍵
Config file directory [/etc/webmin]:
Log file安裝在那一個目錄若在/var/webmin則直接按Enter鍵
Log file directory [/var/webmin]:
perl的絕對路徑若在/usr/bin/perl則直接按Enter鍵
Full path to perl (default /usr/bin/perl):
預設的埠號為10000則直接按Enter鍵,在browser連結時須http://localhost:10000
若更改埠號為9000則需輸入9000再按Enter鍵,在browser連結時須http://localhost:9000
Web server port (default 10000):
Login name 若為admin直接按Enter鍵
Login name (default admin):
輸入密碼
Login password:
再輸入一次密碼
Password again: - 安裝過程中的一些訊息
***********************************************************************
* Welcome to the Webmin setup script, version 1.390 *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.
Installing Webmin in /usr/local/webmin ...
***********************************************************************
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]:
Log file directory [/var/webmin]:
***********************************************************************
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):
Testing Perl ...
Perl seems to be installed ok
***********************************************************************
Operating system name: OpenBSD
Operating system version: 4.2
***********************************************************************
Webmin uses its own password protected web server to provide access
to the administration programs. The setup script needs to know :
- What port to run the web server on. There must not be another
web server already using this port.
- The login name required to access the web server.
- The password required to access the web server.
- If the webserver should use SSL (if your system supports it).
- Whether to start webmin at boot time.
Web server port (default 10000):
Login name (default admin): root
Login password:
Password again:
The Perl SSLeay library is not installed. SSL not available.
Webmin does not support being started at boot time on your system.
***********************************************************************
Creating web server config files..
..done
Creating access control file..
..done
Inserting path to perl into scripts..
..done
Creating start and stop scripts..
..done
Copying config files..
..done
Creating uninstall script /etc/webmin/uninstall.sh ..
..done
Changing ownership and permissions ..
..done
Running postinstall scripts ..
..done
Attempting to start Webmin mini web server..
Starting Webmin server in /usr/local/webmin
..done
***********************************************************************
Webmin has been installed and started successfully. Use your web
browser to go to
and login with the name and password you entered previously.
6. 如果開機就要啟動 Webmin,可以修改 /etc/rc.local
# vi /etc/rc.local
加入下面一行
/etc/webmin/start
手動啟動 Webmin
# /etc/webmin/start
重新啟動 Webmin
# /etc/webmin/restart