limesurvey的安装
安装lamp服务器环境
- 服务器ip:xxx.xxx.xx.xxx
- 安装apache
- sudo apt-get update
sudo apt-get install apache2 - 安装mysql
- sudo apt-get install mysql-server php5-mysql
username:root
pwd:lollicup_limesurvey
sudo mysql_install_db
sudo mysql_secure_installation - 安装php
- sudo apt-get install php5 libapache2-mod-php5 php5-mcrypt
- 配置
- sudo vim /etc/apache2/mods-enabled/dir.conf
修改 :<IfModule mod_dir.c>
DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.htm
成: <IfModule mod_dir.c>
DirectoryIndex index.php index.html index.cgi index.pl index.xhtml index.htm
sudo apt-get install php5-cli
sudo service apache2 restart