ubuntu 기준..
php 버전을 따진다 5.6 버전으로 설치를 하자
# add-apt-repository ppa:ondrej/php5-5.6
# apt-get update
# apt-get upgrade
# apt-get install php5 php-gd
# apt-get install apache2
# apt-get install mysql-server
https://elgg.org/download.php
위에서 파일 다운로드
# unzip elgg-2.0.3.zip
# mv elgg-2.0.3 /var/www/html/elgg
# chown -R www-data:www-data elgg/
DB 생성
# mysql -u root -p
CREATE DATABASE elgg;
CREATE USER 'elgguser'@'localhost' IDENTIFIED BY 'PASSWORD';
GRANT ALL PRIVILEGES ON `elgg`.* TO 'elgguser'@'localhost';
FLUSH PRIVILEGES;
http://localhost/elgg/
접속
web server 에 에러 뜬다면
# a2enmod rewrite
# service apache2 restart
Fatal error: Class 'DOMDocument' not found in /var/www/html/elgg/vendor/elgg/elgg/engine/classes/ElggAutoP.php on line 89
php-xml 누락되어서 그렇다 php-xml 설치하자
Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /var/www/html/elgg/vendor/elgg/elgg/engine/classes/Elgg/Di/ServiceProvider.php on line 99
php 버전이 낮아서 그렇다 버전을 올려서 설치
Your server does not support automatic testing of the rewrite rules and your browser does not support checking via JavaScript. You can continue the installation, but you may experience problems with your site. You can manually test the rewrite rules by clicking this link: test. You will see the word success if the rules are working.
'Ubuntu' 카테고리의 다른 글
eXo Platform 설치 (0) | 2016.03.16 |
---|---|
oxwall 설치 (0) | 2016.03.15 |
bigbluebutton 화상회의 오픈소스 (0) | 2015.03.25 |
W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY (0) | 2014.12.04 |
국내 우분투 미러 사이트 목록 (0) | 2014.12.03 |