ROCKOA办公系统是适用于中小型企业的通用型协同OA管理软件,融合了长期从事管理软件开发的丰富经验与先进技术,该系统采用领先的B/S(浏览器/服务器)操作方式,使得网络办公不受地域限制。
实验环境
centos6.5_x64
实验软件
rockoa_utf8_2.3.2.rar
软件安装
yum install -y mysql mysql-devel mysql-server httpd* php-mysql php-gd php-imap php-ldap php-odbc php-pear php-xml php-xmlrpc php-eaccelerator php-magickwand php-magpierss php-mbstring php-mcrypt php-mssql php-shout php-snmp php-soap php-tidy unzip*
vim /etc/httpd/conf/httpd.conf
#ServerName www.example.com:80
ServerName *:80
#AddType application/x-tar .tgz
#AddType application/x-tar .tgz
AddType application/x-tar .tgz
AddType application/x-httpd-php .php
chmod -R 777 /var/www/html/rockoa/webrock/
service mysqld restart
service httpd restart
chkconfig --level 35 httpd on
chkconfig --level 35 mysqld on
mysqladmin -uroot password 数据库密码
mysql -uroot -p
Enter password:
mysql> create database rockoa;
Query OK, 1 row affected (0.00 sec)
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| rockoa |
| test |
+--------------------+
4 rows in set (0.09 sec)
mysql -uroot -p rockoa < rainrock.sql
touch /var/www/html/test.php
vim /var/www/html/test.php
<?php
phpinfo();
?>
ps -ef | grep mysqld
root 3010 1 0 07:55 pts/0 00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --socket=/var/lib/mysql/mysql.sock --pid-file=/var/run/mysqld/mysqld.pid --basedir=/usr --user=mysql
mysql 3112 3010 0 07:55 pts/0 00:00:00 /usr/libexec/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --log-error=/var/log/mysqld.log --pid-
file=/var/run/mysqld/mysqld.pid --socket=/var/lib/mysql/mysql.sock
root 3161 2740 0 07:56 pts/0 00:00:00 grep mysqld
ps -ef | grep httpd
root 3146 1 0 07:55 ? 00:00:00 /usr/sbin/httpd
apache 3148 3146 0 07:55 ? 00:00:00 /usr/sbin/httpd
apache 3149 3146 0 07:55 ? 00:00:00 /usr/sbin/httpd
apache 3150 3146 0 07:55 ? 00:00:00 /usr/sbin/httpd
apache 3151 3146 0 07:55 ? 00:00:00 /usr/sbin/httpd
apache 3152 3146 0 07:55 ? 00:00:00 /usr/sbin/httpd
apache 3153 3146 0 07:55 ? 00:00:00 /usr/sbin/httpd
apache 3154 3146 0 07:55 ? 00:00:00 /usr/sbin/httpd
apache 3155 3146 0 07:55 ? 00:00:00 /usr/sbin/httpd
root 3163 2740 0 07:56 pts/0 00:00:00 grep httpd
netstat -tuplna | grep httpd
tcp 0 0 :::80 :::* LISTEN 3146/httpd
netstat -tuplna | grep mysqld
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 3112/mysqld
mv rockoa_utf8_2.3.2 /var/www/html/
mv rockoa_utf8_2.3.2 rockoa
cd /var/www/html/rockoa/webrock/install/
本文出自 “mailfile” 博客,谢绝转载!
原文地址:http://mailfile.blog.51cto.com/6133205/1856009