1. install gmond apt-get install ganglia-monitor
2.install gmetad apt-get install gmetad
3. install gweb 首先 执行apt-get install apache2 php5 php5-json
-
root@MyUbuntu:~# apt-get install apache2 php5 php5-json
-
Reading package lists... Done
-
Building dependency tree
-
Reading state information... Done
-
The following extra packages will be installed:
-
apache2-bin apache2-data libapache2-mod-php5 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap php5-cli php5-common php5-readline
-
Suggested packages:
-
apache2-doc apache2-suexec-pristine apache2-suexec-custom apache2-utils php-pear php5-user-cache
-
The following NEW packages will be installed:
-
apache2 apache2-bin apache2-data libapache2-mod-php5 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap php5 php5-cli php5-common php5-json php5-readline
-
0 upgraded, 12 newly installed, 0 to remove and 268 not upgraded.
-
Need to get 7,427 kB of archives.
-
After this operation, 25.3 MB of additional disk space will be used.
-
Do you want to continue [Y/n]? Y
-
Get:1 saucy-updates/main php5-common amd64 5.5.3+dfsg-1ubuntu2.3 [496 kB]
-
Get:2 saucy-updates/main php5-cli amd64 5.5.3+dfsg-1ubuntu2.3 [2,803 kB]
-
Get:3 saucy-updates/main php5-readline amd64 5.5.3+dfsg-1ubuntu2.3 [14.0 kB]
-
Get:4 saucy/main libaprutil1 amd64 1.5.2-1 [92.0 kB]
-
Get:5 saucy/main libaprutil1-dbd-sqlite3 amd64 1.5.2-1 [12.0 kB]
-
Get:6 saucy/main libaprutil1-ldap amd64 1.5.2-1 [9,556 B]
-
Get:7 saucy-updates/main apache2-bin amd64 2.4.6-2ubuntu2.2 [842 kB]
-
Get:8 saucy-updates/main apache2-data all 2.4.6-2ubuntu2.2 [149 kB]
-
Get:9 saucy-updates/main apache2 amd64 2.4.6-2ubuntu2.2 [86.5 kB]
-
Get:10 saucy-updates/main libapache2-mod-php5 amd64 5.5.3+dfsg-1ubuntu2.3 [2,902 kB]
-
Get:11 saucy-updates/main php5 all 5.5.3+dfsg-1ubuntu2.3 [1,256 B]
-
Get:12 saucy/universe php5-json amd64 1.3.1+dfsg-2 [19.8 kB]
-
Fetched 7,427 kB in 28s (259 kB/s)
-
Selecting previously unselected package php5-common.
-
(Reading database ... 183602 files and directories currently installed.)
-
Unpacking php5-common (from .../php5-common_5.5.3+dfsg-1ubuntu2.3_amd64.deb) ...
-
Selecting previously unselected package php5-cli.
-
Unpacking php5-cli (from .../php5-cli_5.5.3+dfsg-1ubuntu2.3_amd64.deb) ...
-
Selecting previously unselected package php5-readline.
-
Unpacking php5-readline (from .../php5-readline_5.5.3+dfsg-1ubuntu2.3_amd64.deb) ...
-
Selecting previously unselected package libaprutil1.
-
Unpacking libaprutil1 (from .../libaprutil1_1.5.2-1_amd64.deb) ...
-
Selecting previously unselected package libaprutil1-dbd-sqlite3.
-
Unpacking libaprutil1-dbd-sqlite3 (from .../libaprutil1-dbd-sqlite3_1.5.2-1_amd64.deb) ...
-
Selecting previously unselected package libaprutil1-ldap.
-
Unpacking libaprutil1-ldap (from .../libaprutil1-ldap_1.5.2-1_amd64.deb) ...
-
Selecting previously unselected package apache2-bin.
-
Unpacking apache2-bin (from .../apache2-bin_2.4.6-2ubuntu2.2_amd64.deb) ...
-
Selecting previously unselected package apache2-data.
-
Unpacking apache2-data (from .../apache2-data_2.4.6-2ubuntu2.2_all.deb) ...
-
Selecting previously unselected package apache2.
-
Unpacking apache2 (from .../apache2_2.4.6-2ubuntu2.2_amd64.deb) ...
-
Selecting previously unselected package libapache2-mod-php5.
-
Unpacking libapache2-mod-php5 (from .../libapache2-mod-php5_5.5.3+dfsg-1ubuntu2.3_amd64.deb) ...
-
Selecting previously unselected package php5.
-
Unpacking php5 (from .../php5_5.5.3+dfsg-1ubuntu2.3_all.deb) ...
-
Selecting previously unselected package php5-json.
-
Unpacking php5-json (from .../php5-json_1.3.1+dfsg-2_amd64.deb) ...
-
Processing triggers for man-db ...
-
Processing triggers for ureadahead ...
-
Processing triggers for ufw ...
-
Setting up php5-common (5.5.3+dfsg-1ubuntu2.3) ...
-
-
Creating config file /etc/php5/mods-available/pdo.ini with new version
-
php5_invoke: Enable module pdo for cli SAPI
-
php5_invoke: Enable module pdo for apache2 SAPI
-
-
Creating config file /etc/php5/mods-available/opcache.ini with new version
-
php5_invoke: Enable module opcache for cli SAPI
-
php5_invoke: Enable module opcache for apache2 SAPI
-
Setting up php5-cli (5.5.3+dfsg-1ubuntu2.3) ...
-
update-alternatives: using /usr/bin/php5 to provide /usr/bin/php (php) in auto mode
-
-
Creating config file /etc/php5/cli/php.ini with new version
-
php5_invoke opcache: already enabled for cli SAPI
-
php5_invoke pdo: already enabled for cli SAPI
-
Setting up php5-readline (5.5.3+dfsg-1ubuntu2.3) ...
-
-
Creating config file /etc/php5/mods-available/readline.ini with new version
-
php5_invoke: Enable module readline for cli SAPI
-
php5_invoke: Enable module readline for apache2 SAPI
-
Setting up libaprutil1 (1.5.2-1) ...
-
Setting up libaprutil1-dbd-sqlite3 (1.5.2-1) ...
-
Setting up libaprutil1-ldap (1.5.2-1) ...
-
Setting up apache2-bin (2.4.6-2ubuntu2.2) ...
-
Setting up apache2-data (2.4.6-2ubuntu2.2) ...
-
Setting up apache2 (2.4.6-2ubuntu2.2) ...
-
Enabling module mpm_event.
-
Enabling module authz_core.
-
Enabling module authz_host.
-
Enabling module authn_core.
-
Enabling module auth_basic.
-
Enabling module access_compat.
-
Enabling module authn_file.
-
Enabling module authz_user.
-
Enabling module alias.
-
Enabling module dir.
-
Enabling module autoindex.
-
Enabling module env.
-
Enabling module mime.
-
Enabling module negotiation.
-
Enabling module setenvif.
-
Enabling module filter.
-
Enabling module deflate.
-
Enabling module status.
-
Enabling conf charset.
-
Enabling conf localized-error-pages.
-
Enabling conf other-vhosts-access-log.
-
Enabling conf security.
-
Enabling conf serve-cgi-bin.
-
Enabling site 000-default.
-
* Starting 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
-
*
-
Setting up php5-json (1.3.1+dfsg-2) ...
-
php5_invoke: Enable module json for cli SAPI
-
php5_invoke: Enable module json for apache2 SAPI
-
Processing triggers for ureadahead ...
-
Processing triggers for ufw ...
-
Setting up libapache2-mod-php5 (5.5.3+dfsg-1ubuntu2.3) ...
-
-
Creating config file /etc/php5/apache2/php.ini with new version
-
php5_invoke readline: already enabled for apache2 SAPI
-
php5_invoke json: already enabled for apache2 SAPI
-
php5_invoke opcache: already enabled for apache2 SAPI
-
php5_invoke pdo: already enabled for apache2 SAPI
-
Module mpm_event disabled.
-
Enabling module mpm_prefork.
-
apache2_switch_mpm Switch to prefork
-
* 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
-
...done.
-
apache2_invoke: Enable module php5
-
* 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
-
...done.
-
Setting up php5 (5.5.3+dfsg-1ubuntu2.3) ...
-
Processing triggers for libc-bin ...
接着安装gweb,到这里下载。
然后直接tar xzf 进入web目录进行 make install.
注:安装的过程可参考:
阅读(1537) | 评论(0) | 转发(0) |