Tag: 服务器

升级到11.10时,Update Manager无法找到repos

我似乎无法从11.04升级到Oneiric,因为: Error during update A problem occurred during the update. This is usually some sort of network problem, please check your network connection and retry. W:Failed to fetch http://security.ubuntu.com/ubuntu/dists/oneiric-security/multivers/binary-amd64/Packages 404 Not Found [IP: 91.189.92.167 80], W:Failed to fetch gzip:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_oneiric-security_main_binary-i386_Packages Hash Sum mismatch, W:Failed to fetch gzip:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_oneiric-security_universe_binary-i386_Packages Hash Sum mismatch, E:Some index files failed to download. […]

Ubuntu(桌面+服务器)16.04:添加以太网(LAN)

情况: 我有一台PC和一台服务器(不是虚拟机)。 我对配置硬件完全陌生。 我需要使用LAN电缆设置以太网。 以太网电缆直接从PC连接到服务器(不带以太网交换机)。 电脑资讯: Operating system: Ubuntu Desktop 16.04.4 Architecture: 64位(AMD64) Connected to the Internet (wi-fi):是(Wi-Fi) Network interfaces ($ ipconfig -a): enp4s0 Link encap:Ethernet HWaddr 90:2b:34:18:80:37 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) […]

Firefox无法在启动时找到服务器.ubuntu.com

我有一台安装了Ubuntu 12.04的HP ML310服务器,我设置了静态IP,然后在更新和升级命令后安装了Ubuntu桌面sudo apt-get install ubuntu-desktop 。 重新启动时,我点击启动器上的Firefox,它返回消息服务器未找到Firefox无法在start.ubuntu.com找到服务器。 这是全新安装什么似乎是问题? 我现在回到服务器进行编辑!

KvmWithBridge:主网络接口(wi-fi)

如何建立桥接网络? thufir@dur:~$ thufir@dur:~$ cat /etc/network/interfaces # interfaces(5) file used by ifup(8) and ifdown(8) auto lo iface lo inet loopback thufir@dur:~$ thufir@dur:~$ tree /etc/network /etc/network ├── if-down.d │ ├── avahi-autoipd │ └── wpasupplicant -> ../../wpa_supplicant/ifupdown.sh ├── if-post-down.d │ ├── avahi-daemon -> ../if-up.d/avahi-daemon │ ├── bridge -> /lib/bridge-utils/ifupdown.sh │ ├── wireless-tools │ └── wpasupplicant -> ../../wpa_supplicant/ifupdown.sh ├── […]

已删除的resolvconf无法再安装

正如标题中所述,我删除了resolvconf(重新安装时因为名称解析正在起作用),但现在我无法安装此软件包。 我尝试了两件事: apt-get install –reinstall resolvconf 导致以下错误: 包resolvconf不可用,但由另一个包引用。 这可能意味着包丢失,已被淘汰或仅可从其他来源获得 E:包’resolvconf’没有安装候选者 使用apt-get install resolvconf我得到了同样的错误。

邮件服务器配置Ubuntu Server 16.04

我有一个配置运行的Web服务器(Ubuntu Server 16.04 LTS)。 我的目的是在它上面安装一个Mailserver,让所有人都拥有它。 WebServer正在VM上运行。 我怎样才能干净地安装这些东西,避免意外情况的系统崩溃? 阅读我要安装一些我已经安装的apt-get存储库,但是一旦我开始基于apache2和php5(已经在运行服务上的服务)启动Postfix和Dovecot安装,我不确定这是否会重叠或产生冲突机)。 是否有一个非常好的讲座/论坛谁已经处理这个? 我在askubuntu上找不到合适的搜索关键字。 如果您可能需要更多信息,请告诉我在终端上执行的命令,我将在此处发布。 更新2017/06/30 配置Postfix / Dovecot时遇到一些错误。 这是我上传的错误信息 /var/log/mail.err … Jun 30 15:50:47 node01-mail postmulti[1484]: fata: /etc/postfix/main.cf, line 52: missing `=` afterattribute name: “permix_sasl_authenticated, permit_mynetworks, reject_unauth_destination” Jun 30 15:59:36 node01-mail dovecot: imap(user.name): Error: file_dotlock_create (/var/mail/username) failed: Permission denied (euid=1002(user.name) egid=1002(user.name) missing +w perm: /var/mail, we’re not in […]

landscape alert – 有问题的脚本:update_security_db.sh

我正在运行安装了Landscape On-Premises 16.06的Ubuntu Server 16.04.1并连接了3台计算机。 由于几天后更新安全脚本不再运行,所以其他所有内容都按预期工作。 为了确保我的设置没有任何问题,我从头开始执行新安装。 问题仍然存在,我收到脚本update_security_db.sh未运行的永久警报 – 实际上它从未在全新安装后运行。 这是我从/var/log/landscape-server/update-security-db.log获得的错误信息: Sep 1 19:15:08 update-security-db ERR Unhandled error in Deferred: Sep 1 19:15:08 update-security-db ERR Sep 1 19:15:08 update-security-db ERR Sep 1 19:15:08 update-security-db ERR Traceback (most recent call last): Sep 1 19:15:08 update-security-db ERR Failure: txamqp.client.Closed: [Failure instance: Traceback (failure with no frames): : […]

使用Windows Guest设置LAN连接

我想在My Ubuntu主机上为Virtual Box中的My Windows Guest设置一个samba服务器。 问题是:我怎样才能做到这一点或有可能吗? 注意: 我不是试图使用Virtual Box的共享文件夹function。 我已经使用过这个function了。 请记住 ,我只有一台物理机器。 另一个是虚拟的。

无法在Ubuntu 16.04上正确配置网关

我正在尝试使用Ubuntu 16.04建立网关,我的服务器有以下网络: enp4s0 Link encap:Ethernet HWaddr 00:15:c5:f6:c0:36 inet addr:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::215:c5ff:fef6:c036/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:5118 errors:0 dropped:0 overruns:0 frame:0 TX packets:3065 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:7474529 (7.4 MB) TX bytes:254689 (254.6 KB) Interrupt:16 enp6s0 Link encap:Ethernet HWaddr 00:08:54:31:8f:79 inet addr:172.24.3.19 Bcast:172.24.3.255 Mask:255.255.252.0 inet6 addr: […]

无法使用squid3分配超过128个传出IP

我正在使用squid 3.3.8 。 我正在根据这篇文章设置多个传出IP 代理服务器多个IP 还有这个 Configure Squid Proxy for Multiple Outgoing IP Addresses 但是,问题是我有256个传出IP,但是squid只作为前128个规则生效。 配置很好,因为如果我注释掉前128个规则,那么最后128个规则正常工作。 有任何想法吗? 编辑: 我认为我的问题与本文相同: https : //stackoverflow.com/questions/40102777/squid-max-number-of-ips-limited-to-128