File tree Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Expand file tree Collapse file tree 1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -64,23 +64,8 @@ mysql -e "GRANT ALL PRIVILEGES ON chamilo2.* TO chamilo2@localhost IDENTIFIED BY
6464cd /var/www && wget https://github.com/chamilo/chamilo-lms/releases/download/v2.0.0-alpha.2/chamilo-2.0.0-alpha.2.tar.gz
6565tar zxf chamilo-2.0.0-alpha.2.tar.gz
6666mv 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
8469a2ensite my.chamilo.net
8570a2enmod rewrite ssl headers expires
8671systemctl restart apache2
You can’t perform that action at this time.
0 commit comments