我已经下载了 tar.gz 文件。但我不知道如何安装它。我如何安装这种文件?
我迫切希望将 RPM 安装到我的 Ubuntu 安装中 - 这可能吗?我可以使用 Yum - 或其他 RPM 包管理工具吗?
如何在 Ubuntu 12.04 上用 PHP 5.5 替换 PHP 5.3?我用谷歌搜索并没有找到存储库。
我按照这些步骤在 Ubuntu 12.04 中安装了 Apache 2.4.2,但似乎没有安装 Apache,这就是我所做的(我按照这个网站上的步骤http://www.discusswire.com/apache-2-4-安装-ubuntu/ ):
sudo apt-get install build-essential
sudo apt-get build-dep apache2
wget http://apache.mirrors.pair.com/httpd/httpd-2.4.2.tar.gz
tar -xzvf httpd-2.4.2.tar.gz && cd httpd-2.4.2
sudo ./configure --prefix=/usr/local/apache2 --enable-mods-shared=all --enable-deflate --enable-proxy --enable-proxy-balancer --enable-proxy-http --with-mpm=prefork
sudo make
sudo make install
Run Code Online (Sandbox Code Playgroud)
当我尝试通过sudo /usr/local/apache2/bin/apachectl start
在终端发出来开始时,我收到以下警告:
AH00558: httpd: 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" and when I typed **top** at terminal, the apache is not there. I …
Run Code Online (Sandbox Code Playgroud) 我基本上是专业的PHP 开发人员,我在我的机器上使用LAMP。我在我的机器上使用64 位 Ubuntu 14.04 LTS。
我在我的机器上使用 Apache HTTP Server。为了检查它的版本,我执行了以下命令并得到以下结果:
~$ apachectl -V
Run Code Online (Sandbox Code Playgroud)
输出如下:
Server version: Apache/2.4.16 (Ubuntu)
Server built:
Server's Module Magic Number: 20120211:47
Server loaded: APR 1.5.2, APR-UTIL 1.5.4
Compiled using: APR 1.5.2, APR-UTIL 1.5.4
Architecture: 64-bit
Server MPM: prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D …
Run Code Online (Sandbox Code Playgroud)