Questions tagged «ubuntu-14.04»

Ubuntu 14.04(名为“ Trusty Tahr”)是Ubuntu Linux的长期支持版本(于2014年4月发布)。请注意,http://askubuntu.com专用于Ubuntu问题。

2
getent passwd不会显示LDAP服务器的用户
我已经进行了LDAP身份验证配置,并尝试在Ubuntu 14.04 TLS上对LDAP服务器进行身份验证。这是文件nsswitch.conf: # /etc/nsswitch.conf # # Example configuration of GNU Name Service Switch functionality. # If you have the `glibc-doc-reference' and `info' packages installed, try: # `info libc "Name Service Switch"' for information about this file. # pre_auth-client-config # passwd: compat ldap passwd: files ldap # pre_auth-client-config # group: …

4
从PPA安装PHP5.6时在Ubuntu中出现UnicodeDecodeError
我有一个干净的VPS,使用Ubuntu 14.04 LTS x64。并尝试了以下内容: # Upgrade The Base Packages apt-get update apt-get upgrade -y # Add A Few PPAs To Stay Current apt-get install -y software-properties-common apt-add-repository ppa:nginx/stable -y apt-add-repository ppa:rwky/redis -y apt-add-repository ppa:chris-lea/node.js -y apt-add-repository ppa:ondrej/php5-5.6 -y 但随后在最后一个失败: root@xxx:~# apt-add-repository ppa:ondrej/php5-5.6 -y gpg: keyring `/tmp/tmp9jdzm9kw/secring.gpg' created gpg: keyring `/tmp/tmp9jdzm9kw/pubring.gpg' …

1
如何设置具有特定域的本地网站[关闭]
关闭。这个问题是题外话。它当前不接受答案。 想改善这个问题吗? 更新问题,以使其成为服务器故障的主题。 3年前关闭。 在旧PC上,我安装了Ubuntu server 14.04并且想要使用此服务器来托管一些网络中将可用的网站和Web应用程序。我安装了Apache,当我在浏览器中单击服务器的IP时,我成功地看到了Apache的网页。 可以说,我有一个可以从访问的静态网站192.168.0.10/mysite.html。是否可以从只能在我的网络下工作的某个域(例如mydomain.mycompany.gr)访问此站点? 我尝试使用此指南创建了一个虚拟主机,但没有成功。

3
如何将MySQL 5.7.9安装到Ubuntu 14.04?
我尝试使用这些指示进行安装,但是安装安装的版本为5.5。 $ sudo apt-get install software-properties-common $ sudo add-apt-repository -y ppa:ondrej/mysql-5.7 $ sudo apt-get update $ sudo apt-get install mysql-server http://tecadmin.net/install-mysql-5-on-ubuntu/

2
如何使用Icinga版本2监视远程“ https”?
我在VirtualBox的ubuntu 14.04.3上有icinga 2.3.11。我试图在此处监视“ https”端口443,例如“ https://mail.google.com ”。以下是我的默认host.conf文件片段 object Host "mailserver-01" { import "generic-host" address = "74.125.136.17" /* ip for mail.google.com */ vars.os = "Linux" vars.http_vhosts["http"] = { http_uri = "/" } vars.http_ssl = "1" vars.http_warn_time = "5" vars.http_critical_time = "10" vars.notification["mail"] = { groups = [ "icingaadmins" ] } } 以下是默认services.conf文件的摘录 …

2
即使服务器仍处于活动状态,nginx proxy_pass最终也会返回GATEWAY_TIMEOUT
我已经设置了一个nginx代理传递,当nginx最初加载时它可以正常工作,但是最终(也许是一天后?还是不太确定),作为代理传递的位置只会返回504 GATEWAY_TIMEOUT响应。奇怪的是,我已经设置了多个proxy_pass位置,出现下降和保持上升是随机的。 这是nginx配置文件: server { listen 80; server_name example.com; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; root /srv/www/frontend/current/; location / { try_files $uri $uri/ /index.html; } # Block all svn access if ($request_uri ~* ^.*\.svn.*$) { return 404; } # Block all git access if ($request_uri ~* ^.*\.git.*$) { return 404; } location …

8
如何自动启动非特权Lxc容器?
在Ubuntu 14.04上,我创建了一个无特权的容器,可以手动启动和停止该容器。 但是,我希望这与系统一起启动和停止。 我在容器的配置中添加了以下内容: lxc.start.auto = 1 lxc.start.delay = 5 但是,系统脚本似乎没有选择非特权容器。 linuxcontainers.org上有与此相关的线程,但是该解决方案似乎仅限于root用户。 有没有针对非root用户(经root用户同意)执行此操作的干净方法?

2
如何在Ubuntu 14.04 LTS中使用realmd加入Active Directory域?
我想用来realmd从Ubuntu 14.04 LTS加入Active Directory域。 要做到这一点我刚安装realmd和一些依赖使用此命令:aptitude install realmd sssd sssd-tools samba-common krb5-user。 安装后,我尝试使用命令realm --verbose join ad.example.com -U Administrator输入管理员密码的域来加入我的域,但是它们崩溃并显示以下输出: * Resolving: _ldap._tcp.ad.example.com * Performing LDAP DSE lookup on: 10.7.0.2 * Successfully discovered: ad.example.com Password for Administrator: * Unconditionally checking packages * Resolving required packages * Installing necessary packages: samba-common-bin * LANG=C LOGNAME=root …

6
如何为鱿鱼透明代理设置客户端?
服务器详细信息 Squid Transparent Proxy Version: 3.3.8 OS: Ubuntu Server 14.04 Server IP: 192.168.1.3 鱿鱼配置文件 (不包括使用grep的评论) root@ubuntu:~# grep -v '^$\|^\s*\#' /etc/squid3/squid.conf acl SSL_ports port 443 acl Safe_ports port 80 # http acl Safe_ports port 21 # ftp acl Safe_ports port 443 # https acl Safe_ports port 70 # gopher acl Safe_ports …

1
GitLab Active Directory身份验证:无结果且无身份验证
我正在尝试使用GitLab设置LDAP身份验证(在VM的Ubuntu 14.04 amd64上安装的7.12.2版本,已设置Omnibus)。我已经编辑了gitlab.rb文件,如下所示: gitlab_rails['ldap_enabled'] = true gitlab_rails['ldap_servers'] = YAML.load <<-'EOS' # remember to close this block with 'EOS' below main: # 'main' is the GitLab 'provider ID' of this LDAP server label: 'LDAP' host: '********' port: 389 uid: 'sAMAccountName' method: 'plain' # "tls" or "ssl" or "plain" bind_dn: 'CN=********,OU=********,OU=********,DC=********,DC=***' password: …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.