Chinaunix首页 | 论坛 | 博客
  • 博客访问: 461010
  • 博文数量: 108
  • 博客积分: 25
  • 博客等级: 民兵
  • 技术积分: 1134
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-29 19:43
文章分类

全部博文(108)

文章存档

2016年(10)

2015年(9)

2014年(73)

2013年(16)

我的朋友

分类: LINUX

2014-04-28 21:42:55

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

点击(此处)折叠或打开

  1. root@MyUbuntu:~# apt-get install apache2 php5 php5-json
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. The following extra packages will be installed:
  6. apache2-bin apache2-data libapache2-mod-php5 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap php5-cli php5-common php5-readline
  7. Suggested packages:
  8. apache2-doc apache2-suexec-pristine apache2-suexec-custom apache2-utils php-pear php5-user-cache
  9. The following NEW packages will be installed:
  10. apache2 apache2-bin apache2-data libapache2-mod-php5 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap php5 php5-cli php5-common php5-json php5-readline
  11. 0 upgraded, 12 newly installed, 0 to remove and 268 not upgraded.
  12. Need to get 7,427 kB of archives.
  13. After this operation, 25.3 MB of additional disk space will be used.
  14. Do you want to continue [Y/n]? Y
  15. Get:1 saucy-updates/main php5-common amd64 5.5.3+dfsg-1ubuntu2.3 [496 kB]
  16. Get:2 saucy-updates/main php5-cli amd64 5.5.3+dfsg-1ubuntu2.3 [2,803 kB]
  17. Get:3 saucy-updates/main php5-readline amd64 5.5.3+dfsg-1ubuntu2.3 [14.0 kB]
  18. Get:4 saucy/main libaprutil1 amd64 1.5.2-1 [92.0 kB]
  19. Get:5 saucy/main libaprutil1-dbd-sqlite3 amd64 1.5.2-1 [12.0 kB]
  20. Get:6 saucy/main libaprutil1-ldap amd64 1.5.2-1 [9,556 B]
  21. Get:7 saucy-updates/main apache2-bin amd64 2.4.6-2ubuntu2.2 [842 kB]
  22. Get:8 saucy-updates/main apache2-data all 2.4.6-2ubuntu2.2 [149 kB]
  23. Get:9 saucy-updates/main apache2 amd64 2.4.6-2ubuntu2.2 [86.5 kB]
  24. Get:10 saucy-updates/main libapache2-mod-php5 amd64 5.5.3+dfsg-1ubuntu2.3 [2,902 kB]
  25. Get:11 saucy-updates/main php5 all 5.5.3+dfsg-1ubuntu2.3 [1,256 B]
  26. Get:12 saucy/universe php5-json amd64 1.3.1+dfsg-2 [19.8 kB]
  27. Fetched 7,427 kB in 28s (259 kB/s)
  28. Selecting previously unselected package php5-common.
  29. (Reading database ... 183602 files and directories currently installed.)
  30. Unpacking php5-common (from .../php5-common_5.5.3+dfsg-1ubuntu2.3_amd64.deb) ...
  31. Selecting previously unselected package php5-cli.
  32. Unpacking php5-cli (from .../php5-cli_5.5.3+dfsg-1ubuntu2.3_amd64.deb) ...
  33. Selecting previously unselected package php5-readline.
  34. Unpacking php5-readline (from .../php5-readline_5.5.3+dfsg-1ubuntu2.3_amd64.deb) ...
  35. Selecting previously unselected package libaprutil1.
  36. Unpacking libaprutil1 (from .../libaprutil1_1.5.2-1_amd64.deb) ...
  37. Selecting previously unselected package libaprutil1-dbd-sqlite3.
  38. Unpacking libaprutil1-dbd-sqlite3 (from .../libaprutil1-dbd-sqlite3_1.5.2-1_amd64.deb) ...
  39. Selecting previously unselected package libaprutil1-ldap.
  40. Unpacking libaprutil1-ldap (from .../libaprutil1-ldap_1.5.2-1_amd64.deb) ...
  41. Selecting previously unselected package apache2-bin.
  42. Unpacking apache2-bin (from .../apache2-bin_2.4.6-2ubuntu2.2_amd64.deb) ...
  43. Selecting previously unselected package apache2-data.
  44. Unpacking apache2-data (from .../apache2-data_2.4.6-2ubuntu2.2_all.deb) ...
  45. Selecting previously unselected package apache2.
  46. Unpacking apache2 (from .../apache2_2.4.6-2ubuntu2.2_amd64.deb) ...
  47. Selecting previously unselected package libapache2-mod-php5.
  48. Unpacking libapache2-mod-php5 (from .../libapache2-mod-php5_5.5.3+dfsg-1ubuntu2.3_amd64.deb) ...
  49. Selecting previously unselected package php5.
  50. Unpacking php5 (from .../php5_5.5.3+dfsg-1ubuntu2.3_all.deb) ...
  51. Selecting previously unselected package php5-json.
  52. Unpacking php5-json (from .../php5-json_1.3.1+dfsg-2_amd64.deb) ...
  53. Processing triggers for man-db ...
  54. Processing triggers for ureadahead ...
  55. Processing triggers for ufw ...
  56. Setting up php5-common (5.5.3+dfsg-1ubuntu2.3) ...
  57. Creating config file /etc/php5/mods-available/pdo.ini with new version
  58. php5_invoke: Enable module pdo for cli SAPI
  59. php5_invoke: Enable module pdo for apache2 SAPI
  60. Creating config file /etc/php5/mods-available/opcache.ini with new version
  61. php5_invoke: Enable module opcache for cli SAPI
  62. php5_invoke: Enable module opcache for apache2 SAPI
  63. Setting up php5-cli (5.5.3+dfsg-1ubuntu2.3) ...
  64. update-alternatives: using /usr/bin/php5 to provide /usr/bin/php (php) in auto mode
  65. Creating config file /etc/php5/cli/php.ini with new version
  66. php5_invoke opcache: already enabled for cli SAPI
  67. php5_invoke pdo: already enabled for cli SAPI
  68. Setting up php5-readline (5.5.3+dfsg-1ubuntu2.3) ...
  69. Creating config file /etc/php5/mods-available/readline.ini with new version
  70. php5_invoke: Enable module readline for cli SAPI
  71. php5_invoke: Enable module readline for apache2 SAPI
  72. Setting up libaprutil1 (1.5.2-1) ...
  73. Setting up libaprutil1-dbd-sqlite3 (1.5.2-1) ...
  74. Setting up libaprutil1-ldap (1.5.2-1) ...
  75. Setting up apache2-bin (2.4.6-2ubuntu2.2) ...
  76. Setting up apache2-data (2.4.6-2ubuntu2.2) ...
  77. Setting up apache2 (2.4.6-2ubuntu2.2) ...
  78. Enabling module mpm_event.
  79. Enabling module authz_core.
  80. Enabling module authz_host.
  81. Enabling module authn_core.
  82. Enabling module auth_basic.
  83. Enabling module access_compat.
  84. Enabling module authn_file.
  85. Enabling module authz_user.
  86. Enabling module alias.
  87. Enabling module dir.
  88. Enabling module autoindex.
  89. Enabling module env.
  90. Enabling module mime.
  91. Enabling module negotiation.
  92. Enabling module setenvif.
  93. Enabling module filter.
  94. Enabling module deflate.
  95. Enabling module status.
  96. Enabling conf charset.
  97. Enabling conf localized-error-pages.
  98. Enabling conf other-vhosts-access-log.
  99. Enabling conf security.
  100. Enabling conf serve-cgi-bin.
  101. Enabling site 000-default.
  102. * Starting web server apache2
  103. 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
  104. *
  105. Setting up php5-json (1.3.1+dfsg-2) ...
  106. php5_invoke: Enable module json for cli SAPI
  107. php5_invoke: Enable module json for apache2 SAPI
  108. Processing triggers for ureadahead ...
  109. Processing triggers for ufw ...
  110. Setting up libapache2-mod-php5 (5.5.3+dfsg-1ubuntu2.3) ...
  111. Creating config file /etc/php5/apache2/php.ini with new version
  112. php5_invoke readline: already enabled for apache2 SAPI
  113. php5_invoke json: already enabled for apache2 SAPI
  114. php5_invoke opcache: already enabled for apache2 SAPI
  115. php5_invoke pdo: already enabled for apache2 SAPI
  116. Module mpm_event disabled.
  117. Enabling module mpm_prefork.
  118. apache2_switch_mpm Switch to prefork
  119. * Restarting web server apache2
  120. 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
  121. ...done.
  122. apache2_invoke: Enable module php5
  123. * Restarting web server apache2
  124. 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
  125. ...done.
  126. Setting up php5 (5.5.3+dfsg-1ubuntu2.3) ...
  127. Processing triggers for libc-bin ...

  接着安装gweb,到这里下载。
然后直接tar xzf 进入web目录进行 make install.

注:安装的过程可参考:


阅读(1465) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~