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
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
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
http://服务端ip
http://服务端ip/test.php
mv rockoa_utf8_2.3.2 /var/www/html/rockoa
chmod -R 777 /var/www/html/rockoa/webrock/
ll /var/www/html/rockoa/webrock/
http://服务端ip/rockoa
本文转自 mailfile 51CTO博客,原文链接:http://blog.51cto.com/mailfile/1856009,如需转载请自行联系原作者