首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Webmin和Virtualmin问题

Webmin和Virtualmin问题
EN

Ask Ubuntu用户
提问于 2016-12-31 21:02:48
回答 1查看 1K关注 0票数 0

首先,我只想说,我对linux相当陌生,在设置服务器方面更新,所以请容忍我。

好的,首先,我在安装webmin时遇到了一个(小的)问题,这里是在ubuntu 16.04上安装webmin时出错,修复后一切正常,我能够登录到webmin,没有问题。登录到webmin之后,我想安装wordpress。在google搜索之后,我发现我可以通过virtualmin安装(我认为这应该是webmin附带的吗?)

我试图使用

代码语言:javascript
复制
sudo /bin/sh install.sh

还了这个

代码语言:javascript
复制
Displaying the last 15 lines of /root/virtualmin-install.log to help    troubleshoot this problem:
mysql-client is already the newest version (5.7.16-0ubuntu0.16.04.1).
mysql-common is already the newest version (5.7.16-0ubuntu0.16.04.1).
mysql-server is already the newest version (5.7.16-0ubuntu0.16.04.1).
ntpdate is already the newest version (1:4.2.8p4+dfsg-3ubuntu5.3).
openssl is already the newest version (1.0.2g-1ubuntu4.5).
apache2-suexec-custom is already the newest version (2.4.18-2ubuntu3.1).
clamav-testfiles is already the newest version (0.99.2+dfsg-    0ubuntu0.16.04.1).
libdbd-mysql-perl is already the newest version (4.033-1ubuntu0.1).
procmail-wrapper is already the newest version (1.0-2).
scponly is already the newest version (4.8-4).
usermin is already the newest version (1.701).
webmin is already the newest version (1.830).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
mysql-server : Depends: mysql-server-5.7 but it is not going to be installed
FATAL - Fatal Error Occurred: Something went wrong during installation: 0
FATAL - Cannot continue installation.
FATAL - Attempting to remove virtualmin repository configuration, so the     installation can be
FATAL - re-attempted after any problems have been resolved.
FATAL - Removing temporary directory and files.
FATAL - If you are unsure of what went wrong, you may wish to review the log
FATAL - in /root/virtualmin-install.log

我尝试过做“apt -f安装”,但它不起作用。

代码语言:javascript
复制
sudo apt-get purge mysql-server mysql-client mysql-common mysql-server-core-5.5 mysql-client-core-5.5

这只是告诉我尝试‘apt-获取-f安装’

谁来帮帮忙!

EN

回答 1

Ask Ubuntu用户

发布于 2017-09-22 21:10:08

从零开始,不要把webmin作为一个单独的东西.

  1. 您希望切换到您的ubuntu根用户( "sudo su“点击enter,然后单击"cd”,再按enter第二次返回根目录)
  2. 确保它的ubuntu 16和apt-get更新和apt-get升级是首先应用的.
  3. 使用其自动安装程序安装"virtualmin“(virtualmin与whmcs完美地工作,您不能添加分销商是主要的restriction...just,以防有人怀疑)
  4. virtualmin安装完成后,您可以在webmin中添加一个新的管理用户,并禁用root用户登录(因此root仍然存在,但无法登录到webmin或virtualmin)。我选择了webmin选项卡并编辑了它的用户。我不知道它使actually...webmin作为根用户运行有什么不同。也许更好的做法是将管理员的访问限制在您的家庭if地址上(如果您已经从您的家庭互联网服务提供商那里购买了一个静态的),...or强制使用ssh隧道进行访问?

我不是专家,但是我发现最好使用root用户来安装cpanels,而不是使用sudoer。一些面板专门告诉您要以根用户(ispconfig,我也认为vestacp )的身份进行安装,....otherwise在安装后会出现特权和权限问题。我对virtualmin安装也这样做了。

Webmin是virtualmin安装程序的一部分。您将在自动安装过程的末尾,除了这两个包之外,还包含了usermin (虽然它不太明显,因为仪表板屏幕上没有明显可见的webmin和virtualmin选项卡)。

确保您只有一个空白操作系统,虚拟机上可用的内存超过500 on (最好是1g)。

确保您的主机名已配置好,然后将外部ip地址添加到/etc/host。在现有本地主机信息下面在线添加以下内容(使用真实的ip地址、主机名、域)()

除此之外,自动安装程序应该为您排序所有的东西。

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/866597

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档