WebGUI

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
第6行: 第6行:
  
 
WebGUI是[http://www.plainblack.com/ Plain Black]开发的界面非常友好的网站内容管理系统。它使用简单,非常适合普通的商业用户,它也非常强大,足以满足大型企业的任何建站要求。  
 
WebGUI是[http://www.plainblack.com/ Plain Black]开发的界面非常友好的网站内容管理系统。它使用简单,非常适合普通的商业用户,它也非常强大,足以满足大型企业的任何建站要求。  
 +
 +
==安装指南==
 +
获得  WebGUI Runtime Environment  http://sourceforge.net/project/showfiles.php?group_id=51417&package_id=148913
 +
1. Unpack the archive.
 +
mkdir /data
 +
cd /data
 +
tar xvfz /path/to/wre-x.x.x-osname.tar.gz
 +
2. Add a "mysql" user to the system. On most systems you run a command similar to the following as the root user:
 +
adduser -s /sbin/nologin mysql
 +
or
 +
useradd -s /sbin/nologin mysql
 +
 +
3. If you have an existing Apache or MySQL running please shut them down now. On most systems you can shut them down hard by running
 +
commands like this:
 +
killall mysqld
 +
killall httpd
 +
 +
4. If you have a MySQL config file at /etc/my.cnf please remove or rename it so that it doesn't interfere with the WRE MySQL.
 +
mv /etc/my.cnf /etc/my.cnf.old
 +
 +
5. Create your DNS entries (or add to /etc/hosts) for the sites you will be using, including the AWStats site.
 +
 +
6. Run the setup program which will initialize the WRE for your system and download and install WebGUI.
 +
cd /data/wre/sbin
 +
./setup
 +
7. Start the WRE
 +
cd /data/wre/sbin
 +
./rc.webgui start
 +
8. Add the following cron jobs to your server's cron tab.
 +
0 1 * * * /data/wre/sbin/logrotate
 +
*/3 * * * * /data/wre/sbin/wremonitor
 +
0 3 * * * /data/wre/sbin/backup
 +
 +
If you want AWStats to be compiled nightly add this:
 +
 +
0 2 * * * /data/wre/prereqs/awstats/tools/awstats_updateall.pl now -awstatsprog=/data/wre/prereqs/awstats/wwwroot/awstats.pl -configdir=/data/wre/etc
 +
 +
If you are using the demo system then add this:
 +
 +
0 0 * * * /data/wre/sbin/democleanup
 +
 +
9. Add a site.
 +
cd /data/wre/sbin
 +
./addsite --admin-db-pass=YOURPASSWORD --sitename=www.example.com
 +
 +
PLATFORM SPECIFIC NOTES
 +
-----------------------
 +
 +
Red Hat Linux
 +
 +
This note applies to all linux' that use chkconfig to setup services. These
 +
include RHEL, Fedora, Mandrake, SuSE, CentOS, and others. You can set up the
 +
WRE to start automatically at system boot by running the following commands
 +
after the WRE is installed:
 +
 +
ln -s /data/wre/sbin/rc.webgui /etc/init.d/webgui
 +
chkconfig --add webgui
 +
chkconfig webgui on
 +
Mac OSX
 +
 +
There is no command line user add script on Mac OSX. This means you have to
 +
use the really horrible netinfo interface to add a user. Instead, we recommend
 +
downloading the user utilities from this site:
 +
 +
http://www.osxgnu.org/software/pkgdetail.html?project_id=231#4095
  
 
==相关链接==
 
==相关链接==

2006年10月6日 (五) 11:21的版本

Webgui 468x60.gif

A perl-based web application and web site framework designed to let the people who create the content manage it, and let the technical folks get back to tech stuff.

WebGUI是当前最为流行的公开源码的管理系统之一,作为互联网的应用软件,她每个月以5000次下载次数深受用户的欢迎。WebGUI能让每一个用户建立和维护复杂的网站。她具有标准组件,独立平台,能在线地使用,管理等。你可以轻松地建立网站,而无需花太多时间去维护她,别人可以方便地浏览你的网页。

WebGUI是Plain Black开发的界面非常友好的网站内容管理系统。它使用简单,非常适合普通的商业用户,它也非常强大,足以满足大型企业的任何建站要求。

安装指南

获得  WebGUI Runtime Environment  http://sourceforge.net/project/showfiles.php?group_id=51417&package_id=148913

1. Unpack the archive.

mkdir /data
cd /data
tar xvfz /path/to/wre-x.x.x-osname.tar.gz

2. Add a "mysql" user to the system. On most systems you run a command similar to the following as the root user:

adduser -s /sbin/nologin mysql
or
useradd -s /sbin/nologin mysql

3. If you have an existing Apache or MySQL running please shut them down now. On most systems you can shut them down hard by running commands like this:

killall mysqld
killall httpd

4. If you have a MySQL config file at /etc/my.cnf please remove or rename it so that it doesn't interfere with the WRE MySQL.

mv /etc/my.cnf /etc/my.cnf.old

5. Create your DNS entries (or add to /etc/hosts) for the sites you will be using, including the AWStats site.

6. Run the setup program which will initialize the WRE for your system and download and install WebGUI.

cd /data/wre/sbin
./setup

7. Start the WRE

cd /data/wre/sbin
./rc.webgui start

8. Add the following cron jobs to your server's cron tab.

0 1 * * * /data/wre/sbin/logrotate
*/3 * * * * /data/wre/sbin/wremonitor
0 3 * * * /data/wre/sbin/backup

If you want AWStats to be compiled nightly add this:

0 2 * * * /data/wre/prereqs/awstats/tools/awstats_updateall.pl now -awstatsprog=/data/wre/prereqs/awstats/wwwroot/awstats.pl -configdir=/data/wre/etc

If you are using the demo system then add this:

0 0 * * * /data/wre/sbin/democleanup

9. Add a site.

cd /data/wre/sbin
./addsite --admin-db-pass=YOURPASSWORD --sitename=www.example.com

PLATFORM SPECIFIC NOTES


Red Hat Linux

This note applies to all linux' that use chkconfig to setup services. These include RHEL, Fedora, Mandrake, SuSE, CentOS, and others. You can set up the WRE to start automatically at system boot by running the following commands after the WRE is installed:

ln -s /data/wre/sbin/rc.webgui /etc/init.d/webgui
chkconfig --add webgui
chkconfig webgui on

Mac OSX

There is no command line user add script on Mac OSX. This means you have to use the really horrible netinfo interface to add a user. Instead, we recommend downloading the user utilities from this site:

http://www.osxgnu.org/software/pkgdetail.html?project_id=231#4095

相关链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱