美好的一天。 虽然这篇文章讨论了一个类似的设置,在成功安装之后,偶尔会发布空白页面,但我无法提供除空白页面以外的所有内容。 /var/log/php-fpm.log或/var/log/nginx/us/sharonrhodes/blog/error.log中没有错误。 我的设置: WordPress的3.0.4 nginx 0.8.54 php-fpm 5.3.5(fpm-fcgi) Arch Linux configuration文件 PHP-fpm.conf: [全球] pid = run / php-fpm / php-fpm.pid error_log = log / php-fpm.log log_level =通知 [万维网] listen = 127.0.0.1:9000 listen.owner = www listen.group = www listen.mode = 0660 用户= www 组= www 下午=dynamic pm.max_children = 50 pm.start_servers = 20 pm.min_spare_servers = 5 […]
我试图看看我是否可以在docker容器(在容器中运行arch linux)中运行systemd。 我使用所有function启动docker,并在cgroup中绑定mount: docker run -it –rm –privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro .. 但是,如果我尝试运行systemd二进制文件: Trying to run as user instance, but the system has not been booted with systemd. 试图找出如何正确启动systemd启动的东西。
我试图让Google的Dart语言启动并运行,但运行dart2js时出错。 我正在运行Arch linux,并安装了AUR的dart-sdk 。 下面有一些相关的terminal输出。 % dart2js main.dart /usr/local/bin/dart2js: line 7: /usr/local/bin/dart: No such file or directory % cat /usr/local/bin/dart2js #!/bin/sh # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file # for details. All rights reserved. Use of this source code is governed by a # BSD-style license that can be […]
我试图在journalctl上使用journalctl的模式匹配。 举个例子,我有很多标签为sshd的消息: $ journalctl -t sshd | wc -l 987 但如果我尝试使用模式匹配来find它们: $ journalctl -t 'ssh*' — No Entries — $ journalctl -t 'ssh.*' — No Entries — journalctl手册页说模式应该工作,但我无法find任何有关如何在systemd中使用/定义模式。 $ man journalctl …. -t, –identifier=SYSLOG_IDENTIFIER|PATTERN Show messages for the specified syslog identifier SYSLOG_IDENTIFIER, or for any of the messages with a "SYSLOG_IDENTIFIER" matched by PATTERN. 我正在运行ArchLinux: […]
在NFS上安装/迁移时,如果大小不变,主机上的已更改文件不会刷新。 快速更新/错字不会立即反映,除非我做了足够大小的修改是不同的。 我试图设置lookupcache = none,但是除了让一切变慢,没有任何改变。 我使用OSX ML作为主机,Arch Linux作为guest。 NFS是v3(由于OSX)。
我试图在新的干净的服务器上安装gitlab(6.5.1)。 一切似乎工作,但混帐无法推到任何项目。 按照新创build的项目页面的命令并通过ssh推送到远程: $ git push -u origin master fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 这似乎是一个相当普遍的问题。 不幸的是,它似乎有一些潜在的原因,并没有一个似乎匹配。 从旧版本和其他各种来源的在线问题3424上,我已经看到并检查了以下build议: 剩余的ssh密钥 这是一个干净的设置,没有剩菜。 我的密钥已正确添加到授权密钥文件中,并且是唯一一个列出的密钥。 使用debugging日志logging运行ssh显示与Ruby环境variables相关的错误。 矿井干净。 SSHdebugging显示连接成功。 关于authentication握手的一切都是正常的,那么这就是输出的结尾: debug1: Sending command: git-receive-pack 'username/reponame.git' debug1: client_input_channel_req: channel 0 rtype exit-status reply 0 debug1: client_input_channel_req: channel […]
我不知道为什么不开始或为什么它阻止我连接,我得到这个错误: sshd.service – OpenSSH Daemon Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled) Active: failed (Result: start-limit) since Wed 2013-09-11 08:45:13 BST; 1min 21s ago Process: 701 ExecStart=/usr/bin/sshd -D (code=exited, status=1/FAILURE) Sep 11 08:45:13 alarmpi systemd[1]: sshd.service: main process exited, code=exited, status=1/FAILURE Sep 11 08:45:13 alarmpi systemd[1]: Unit sshd.service entered failed state. Sep 11 08:45:13 alarmpi systemd[1]: sshd.service holdoff […]
你认为Arch Linux适合服务器环境吗? 它的滚动发布模式和简单性似乎是一件好事,因为一旦你安装了它,你不需要像其他发行版本的发布模型那样重新安装。 但是,不断的升级并不会导致稳定性问题? 虽然Arch Linux使用的是最新的STABLE版本的软件,
我有一个与systemd Arch Linux系统,我已经创build了我自己的服务。 /etc/systemd/system/myservice.service的configuration服务如下所示: [Unit] Description=My Daemon [Service] ExecStart=/bin/myforegroundcmd [Install] WantedBy=multi-user.target 现在我想为/bin/myforegroundcmd设置一个环境variables。 我怎么做?