我正在尝试重新启动 Apache 2:
sudo service apache2 restart
Run Code Online (Sandbox Code Playgroud)
但得到以下错误:
* Restarting web server apache2
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1.
Set the 'ServerName' directive globally to suppress this message
Run Code Online (Sandbox Code Playgroud)
我试图改变
sudo gedit /etc/apache2/httpd.conf
Run Code Online (Sandbox Code Playgroud)
出现一个空白文件,我添加了这个:
ServerName localhost
Run Code Online (Sandbox Code Playgroud)
但是那个错误并没有消失!
我该如何解决这个问题?
我有 Ubuntu-Gnome 14.04(Gnome 3.12.2)。
当我尝试gnome-terminal
通过以下命令运行时:
$ gnome-terminal
Error constructing proxy for org.gnome.Terminal: /org/gnome/Terminal/Factory0:
Error calling StartServiceByName for org.gnome.Terminal:
GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited:
Process /usr/lib/gnome-terminal/gnome-terminal-server exited with status 8
Run Code Online (Sandbox Code Playgroud) 我知道如何向 Ubuntu 添加 PPA。但是不知道这个ppa:x/y
PPA格式是什么意思!
例如 :
# (VLC PPA)
sudo add-apt-repository -y ppa:videolan/stable-daily
Run Code Online (Sandbox Code Playgroud)
什么是videolan
什么stable-daily
?
我想用Gnome 3 中的Nemo文件管理器替换 Nautilus(默认 gnome shell 文件管理器)。
我怎样才能做到这一点 ?
我已经安装了 Ubuntu Gnome 14.04
问题是 :
Nautilus(我认为它在 gnome-shell 中称为“文件”)没有最小化/最大化按钮!
我已启用gnome-tweak-tool -> Windows -> Maximized/Minimized
,但 Nautilus 没有最小化/最大化按钮!
有任何想法吗?
我正在尝试通过以下方式启动 XAMPP 服务器:
$ sudo /opt/lampp/lampp start
Run Code Online (Sandbox Code Playgroud)
找我:
Starting XAMPP for Linux 1.8.3-0...
XAMPP: Starting Apache...fail.
XAMPP: Another web server is already running.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.
Run Code Online (Sandbox Code Playgroud)
正如您在上面看到的,除 Apache 外,所有软件包都成功运行。
请告诉我该怎么办 ?
编辑:
该netstat -a -no
输出是一个长期的文件,我保存它在第三方网站。
我已经通过tasksel
. PHP目录在哪里?
php-cgi
如果我在 PHP 目录中没有它,如何安装和使用它(我需要php-cgi
从那里复制文件)
提前致谢。
我已经从这里成功安装了 phpmyadmin 。
在重新启动机器之前,我可以毫无问题地登录。
重新启动机器后,当我要localhost/phpmyadmin
输入用户(root
)及其密码(123456
)时,它让我:
500 Internal Server Error
我不知道这有什么问题!
任何帮助,将不胜感激。
编辑: {添加更多信息}
var/log/Apache2/error.log
[Sun Jul 28 11:41:50 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.3.10-1ubuntu3.7 with Suhosin-Patch configured -- resuming normal operations
[Sun Jul 28 12:53:22 2013] [error] [client 127.0.0.1] (2)No such file or directory: Could not open password file: /path/to/passwords/.htpasswd
[Sun Jul 28 12:53:22 2013] [error] [client 127.0.0.1] File does not exist: /home/hamed/public_html/favicon.ico
[Sun Jul 28 12:53:26 2013] [error] [client 127.0.0.1] (2)No such …
Run Code Online (Sandbox Code Playgroud) 1-如何在Wget中创建下载列表队列?
2-有没有办法在 Wget 中安排队列?