webmin&virtualmin 安装时出现问题的解决方法
全局语言设置:webmin -> webmin Configuration -> Language
全局界面设置:webmin -> webmin Configuration -> Webmin Themes
个人语言及界面设置:webmin -> Change Language and Theme
设置https访问: webmin -> Webmin Configuration -> SSL Encryption -> Enable
检查Virtualmin环境:Server-> Virtualmin Virtual Servers (GPL)
The BIND DNS server version 8 or 9 does not appear to be installed on your system, or has not yet been set up properly in Webmin’s BIND DNS Server module. If your system does not use BIND, it should be disabled in Virtualmin’s module configuration page.
————————–
安装以下包:
bind-libs–6.P1.el5.i386.rpm
bind–6.P1.el5.i386.rpm
bind-chroot–6.P1.el5.i386.rpm
bind-devel–6.P1.el5.i386.rpm
bind-libbind-devel–6.P1.el5.i386.rpm
bind-utils–6.P1.el5.i386.rpm
postgresql-libs–1. el5_1.1.i386.rpm
bind-sdb–6.P1.el5.i386.rpm
caching-nameserver–6.P1.el5.i386.rpm
安装完成后点击” BIND DNS Server”链接
选择第一个选项
” Setup nameserver for internal non-internet use only”
然后点击”Create Primary Configuration File and Start Nameserver”按钮。
Virtualmin is configured to setup DNS zones, but this system is not setup to use itself as a DNS server. Either add 127.0.0.1 to the list of DNS servers, or turn off the BIND feature on the module config page.
—————————-
点击” list of DNS servers”链接,在” DNS servers”项中填入本机的IP地址,然后点击”save”按钮。
None of the supported mail servers (Sendmail, Postfix and Qmail) were detected on your system. Maybe they are not installed, or their Webmin modules have not been set up properly.
——————————-
安装以下包: cyrus-sasl-2.1.22-4.i386.rpm postfix-2.3.3-2.i386.rpm
A problem was found with your Postfix virtual maps : No map sources were found in the Postfix configuration
————————-
点击” Postfix configuration”链接,然后点击” Virtual Domains”链接,在” Domain mapping lookup table”选项里选择” Map specifications”一项,在后面的文本框里输入” hash:/etc/postfix/virtual”,然后点击”Save and Apply”按钮。
The Apache webserver does not appear to be installed on your system, or has not yet been set up properly in Webmin’s Apache Webserver module. If your system does not use Apache, it should be disabled in Virtualmin’s module configuration page.
—————————-
安装以下包: apr-1.2.7-11.i386.rpm apr-util-1.2.7-7.el5.i386.rpm mailcap-2.1.23-1.fc6.noarch.rpm
The Suexec command on your system is configured to only run scripts under /var/www, but the Virtualmin base directory is /home. CGI and PHP scripts run as domain owners will not be executed. —————————-
点击” Virtualmin Virtual Servers (GPL)”,然后点击”Edit Server Templates”,点击”Default Settings”在” Edit template section”选项后面选择”Apache website”,在Automatically add appropriate SuExec directive?后面选择“No”,然后点击”Save”按钮。
Webalizer does not appear to be installed on your system, or has not yet been set up properly in Webmin’s Webalizer Logfile Analysis module. If your system does not use Webalizer, it should be disabled in Virtualmin’s module configuration page.
—————————–
安装以下包: freetype-2.2.1-19.el5.i386.rpm fontconfig-2.4.1-7.el5.i386.rpm libXau-1.0.1-3.1.i386.rpm libXdmcp-1.0.1-2.1.i386.rpm xorg-x11-filesystem-7.1-2.fc6.noarch.rpm libX11-1.0.3-9.el5.i386.rpm libXpm-3.5.5-3.i386.rpm libjpeg-6b-37.i386.rpm libpng-1.2.10-7.1.el5_0.1.i386.rpm pkgconfig-0.21-2.el5.i386.rpm gd-2.0.33-9.4.el5_1.1.i386.rpm webalizer-2.01_10-30.1.i386.rpm
MySQL does not appear to be installed and running on your system, or has not yet been set up properly in Webmin’s MySQL Database module. If your system does not use MySQL, it should be disabled in Virtualmin’s module configuration page.
—————————-
perl-DBI-1.52-1.fc6.i386.rpm mysql-5.0.45-7.el5.i386.rpm perl-DBD-MySql-3.007-1.fc6.ie85.rpm mysql-server-5.0.45-7.el5.i386.rpm (需要启动mysql数据库,最好设置root用户密码)
The Logrotate program does not appear to be installed on your system, or has not yet been set up properly in Webmin’s Log File Rotation module. If your system does not use Logrotate, it should be disabled in Virtualmin’s module configuration page.
——————
安装以下包: logrotate-3.7.4-8.i386.rpm
Quotas are not enabled on the filesystem / which contains home directories under /home and email files under /var/spool/mail. Quota editing has been disabled. ————————-
此项可以跳过,如需解决,方式如下: 安装以下包: quota-3.13-1.2.3.2.el5.i386.rpm vim /etc/fstab 修改第一行为以下格式 /dev/VolGroup00/LogVol00 / ext3 defaults,noatime,usrquota,grpquota 1 0 保存文件,退出。 重新mount mount -o remount / 检测整个系统 quotacheck -acguvm quotaon -avug 看看结果 repquota -a
Shell /bin/false for FTP users is not included in /etc/shells, which may prevent FTP access.
———————
此项可以跳过,但为了提供FTP服务,先安装以下包: vsftpd-2.0.5-12.el5.i386.rpm 在/etc/shells文件末尾处添加/bin/false |