CentOS 安装 LimeSurvey 系统.docx

上传人:b****0 文档编号:18394800 上传时间:2023-08-16 格式:DOCX 页数:12 大小:427.81KB
下载 相关 举报
CentOS 安装 LimeSurvey 系统.docx_第1页
第1页 / 共12页
CentOS 安装 LimeSurvey 系统.docx_第2页
第2页 / 共12页
CentOS 安装 LimeSurvey 系统.docx_第3页
第3页 / 共12页
CentOS 安装 LimeSurvey 系统.docx_第4页
第4页 / 共12页
CentOS 安装 LimeSurvey 系统.docx_第5页
第5页 / 共12页
CentOS 安装 LimeSurvey 系统.docx_第6页
第6页 / 共12页
CentOS 安装 LimeSurvey 系统.docx_第7页
第7页 / 共12页
CentOS 安装 LimeSurvey 系统.docx_第8页
第8页 / 共12页
CentOS 安装 LimeSurvey 系统.docx_第9页
第9页 / 共12页
CentOS 安装 LimeSurvey 系统.docx_第10页
第10页 / 共12页
CentOS 安装 LimeSurvey 系统.docx_第11页
第11页 / 共12页
CentOS 安装 LimeSurvey 系统.docx_第12页
第12页 / 共12页
亲,该文档总共12页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

CentOS 安装 LimeSurvey 系统.docx

《CentOS 安装 LimeSurvey 系统.docx》由会员分享,可在线阅读,更多相关《CentOS 安装 LimeSurvey 系统.docx(12页珍藏版)》请在冰点文库上搜索。

CentOS 安装 LimeSurvey 系统.docx

CentOS安装LimeSurvey系统

CentOS安装LimeSurvey系统

环境介绍

使用CentOS-6.4-x86_64-minimal.iso镜像文件安装操作系统,再安装LimeSurvey问卷投票系统,IP地址设置为192.168.0.2。

vi/etc/sysconfig/network-scripts/ifcfg-eth0

修改为以下字段:

DEVICE=eth0

ONBOOT=yes

BOOTPROTO=static

IPADDR=192.168.0.2

NETMASK=255.255.255.0

GATEWAY=101.4.6.254

DNS1=8.8.8.8

IPV6INIT=yes

IPV6ADDR=2001:

da8:

20d:

31:

:

2/64

IPV6_DEFAULTGW=2001:

da8:

20d:

31:

:

1

servicenetworkrestart

最好先使用date查看下当前时间,如果不准确的话,可以与国际时间做个同步

yum-yinstallntpdate

ntpdatetime.nist.gov

准备工作

1)升级系统,安装相关软件并做配置:

yum-yupdate

yum-yinstallwgetunziphttpdphpmysql-server

servicemysqldrestart

servicehttpdrestart

chkconfigmysqldon

chkconfighttpdon

vi/etc/sysconfig/iptables

在22端口行下面添加如下内容:

-AINPUT-mstate--stateNEW-mtcp-ptcp--dport80-jACCEPT

-AINPUT-mstate--stateNEW-mtcp-ptcp--dport3306-jACCEPT

serviceiptablesrestart

2)配置mysql服务

mysql-uroot(用root用户登录MySQL服务器)

selectuser,host,passwordfrommysql.user;(查看用户信息)

setpasswordforroot@localhost=password('123456');(设置root本地访问密码)或者还可以设置root外地访问密码

GRANTALLON*.*TOroot@'%'IDENTIFIEDBY'123456'WITHGRANTOPTION;

exit

3)下载软件,并解压:

wgethttp:

//download.limesurvey.org/Latest_stable_release/limesurvey200plus-build130923.zip

unziplimesurvey200plus-build130923.zip

mv/var/www/html//var/www/html2

cp-rlimesurvey/var/www/html

chown-Rapache:

apache/var/www/html

安装工作

4)打开网页http:

//192.168.0.2/,开始安装

5)提示有很多插件没有安装

6)安装提示的插件,完成后刷新页面

yum-yinstallphp-pdophp-mysqlphp-mbstringphp-gdphp-ldapphp-imap

servicehttpdrestart

7)设置数据库,填写用户名,密码等信息

8)最好设置系统管理员信息,完成安装

测试使用

9)打开网页http:

//192.168.0.2/admin,,输入用户名密码,开始测试使用该系统

10)比如创建一个《企业信息化系统建设客户需求调查统计》

11)然后添加问题组

12)如:

企业基本信息问题组

13)然后再添加问题

14)如:

公司所属类型,问题类型为列表(单选)

15)然后再为题添加选项

16)如:

合资、独资、国有、私营、全民所有制、集体所有制、股份制、有限责任等等

17)最后启用本调查

18)允许匿名

19)不使用封闭式

20)提示可以通过网页访问该问卷调查

21)如果不想记这么长的链接,需要做相关设定

22)激活公开列出调查

23)这样用户就可以通过打开网页http:

//192.168.0.2/,选择现有的调查,或者打开网页http:

//192.168.0.2/index.php/331862/lang-zh-Hans,参与调查

24)管理员可以查看所有问卷调查结果

25)点击显示反馈即可查看,或者导出为excel等

使用脚本

可以使用脚本,将以上使用到的命令放在一起,然后运行,安装LimeSurvey系统。

viLimeSurvey.sh

输入以下字段:

(-q为安静模式,如果需要看回显,将-q去掉)

yum-q-yupdate

yum-q-yinstallwgetunziphttpdphpmysql-serverphp-pdophp-mysqlphp-mbstringphp-gdphp-ldapphp-imap

servicemysqldrestart

chkconfigmysqldon

mysqladmin-urootpassword123456

wget-qhttp:

//download.limesurvey.org/Latest_stable_release/limesurvey200plus-build130923.zip

#注意版本号的变化,从网站http:

//www.limesurvey.org/en/stable-release上获得最新版

unzip-qlimesurvey200plus-build130923.zip

mv/var/www/html//var/www/html2

cp-rlimesurvey/var/www/html

chown-Rapache:

apache/var/www/html

servicehttpdrestart

chkconfighttpdon

iptables-IINPUT5-mstate--stateNEW-mtcp-ptcp--dport80-jACCEPT

serviceiptablessave

shLimeSurvey.sh

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 工作范文 > 行政公文

copyright@ 2008-2023 冰点文库 网站版权所有

经营许可证编号:鄂ICP备19020893号-2