desktop:~/XML-Entities/OCSNG_UNIX_SERVER-2.0rc4$ sudo sh ./setup.sh
+----------------------------------------------------------+
| |
| Welcome to OCS Inventory NG Management server setup ! |
| |
+----------------------------------------------------------+
Trying to determine whitch OS or Linux distribution you use
+----------------------------------------------------------+
| Checking for Apache web server binaries ! |
+----------------------------------------------------------+
CAUTION: If upgrading Communication server from OCS Inventory NG 1.0 RC2 and
previous, please remove any Apache configuration for Communication Server!
Do you wish to continue ([y]/n)?y
Assuming Communication server 1.0 RC2 or previous is not installed
on this computer.
Starting OCS Inventory NG Management server setup from folder /home/ywz/XML-Entities/OCSNG_UNIX_SERVER-2.0rc4
Storing log in file /home/ywz/XML-Entities/OCSNG_UNIX_SERVER-2.0rc4/ocs_server_setup.log
#1、做安装前的准备,包括数据库等
+----------------------------------------------------------+
| Checking for database server properties... |
+----------------------------------------------------------+
Your MySQL client seems to be part of MySQL version 5.1.
Your computer seems to be running MySQL 4.1 or higher, good ;-)
#要安装mysql5.1
Which host is running database server [localhost] ?
OK, database server is running on host localhost ;-)
#因为是本机安装,所以就写localhost
On which port is running database server [3306] ?
OK, database server is running on port 3306 ;-)
#mysql服务端口:3306
+----------------------------------------------------------+
| Checking for Apache web server daemon... |
+----------------------------------------------------------+
Where is Apache daemon binary [/usr/sbin/apache2] ?
OK, using Apache daemon /usr/sbin/apache2 ;-)
#要安装aphche2
+----------------------------------------------------------+
| Checking for Apache main configuration file... |
+----------------------------------------------------------+
Where is Apache main configuration file [/etc/apache2/apache2.conf] ?
OK, using Apache main configuration file /etc/apache2/apache2.conf ;-)
#apache2的配置文件在/etc/apache2/apache2.conf
+----------------------------------------------------------+
| Checking for Apache user account... |
+----------------------------------------------------------+
Which user account is running Apache web server [www-data] ?
OK, Apache is running under user account www-data ;-)
#apache的用户名为:www-data
+----------------------------------------------------------+
| Checking for Apache group... |
+----------------------------------------------------------+
Which user group is running Apache web server [www-data] ?
OK, Apache is running under users group www-data ;-)
#apache的用户组为&#