Skip to content

Commit cd7e57f

Browse files
committed
Documentation: Simplify the packaged installation documentation in README with example Apache vhost file
1 parent e26a601 commit cd7e57f

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

README.md

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -64,23 +64,8 @@ mysql -e "GRANT ALL PRIVILEGES ON chamilo2.* TO chamilo2@localhost IDENTIFIED BY
6464
cd /var/www && wget https://github.com/chamilo/chamilo-lms/releases/download/v2.0.0-alpha.2/chamilo-2.0.0-alpha.2.tar.gz
6565
tar zxf chamilo-2.0.0-alpha.2.tar.gz
6666
mv chamilo-2.0.0-alpha.2 chamilo
67-
vim /etc/apache2/sites-available/my.chamilo.net.conf
68-
# copy-paste the following into the config file
69-
<VirtualHost *:80>
70-
ServerName my.chamilo.net
71-
DocumentRoot /var/www/chamilo/public/
72-
RewriteEngine On
73-
<Directory /var/www/chamilo/public>
74-
AllowOverride All
75-
Require all granted
76-
</Directory>
77-
php_value session.cookie_httponly 1
78-
php_admin_value session.save_handler "redis"
79-
php_admin_value session.save_path "tcp://127.0.0.1:6379"
80-
php_admin_value upload_max_filesize 256M
81-
php_admin_value post_max_size 256M
82-
</VirtualHost>
83-
# exit with "escape, :, wq"
67+
cd chamilo
68+
cp public/main/install/apache.dist.conf /etc/apache2/sites-available/my.chamilo.net.conf
8469
a2ensite my.chamilo.net
8570
a2enmod rewrite ssl headers expires
8671
systemctl restart apache2

0 commit comments

Comments
 (0)