Update installer.sh
This commit is contained in:
parent
f4421ab5ce
commit
78a8607e99
@ -21,9 +21,9 @@ sudo sed -i 's/max_execution_time = 30/max_execution_time = 30000/' /etc/php/7.3
|
||||
sudo sed -i 's/memory_limit = 128M/memory_limit = 1024M/' /etc/php/7.3/apache2/php.ini && \
|
||||
sudo sed -i 's/post_max_size = 8M/post_max_size = 200M/' /etc/php/7.3/apache2/php.ini && \
|
||||
sudo sed -i 's/upload_max_filesize = 2M/upload_max_filesize = 200M/' /etc/php/7.3/apache2/php.ini && \
|
||||
sudo service apache2 restart && \
|
||||
sudo sed -i '/\[mysqld]/a innodb_file_per_table=1' /etc/mysql/mariadb.conf.d/50-server.cnf
|
||||
service mysql restart
|
||||
sudo systemctl restart apache2 && \
|
||||
sudo sed -i '/\[mysqld]/a innodb_file_per_table=1' /etc/mysql/mariadb.conf.d/50-server.cnf && \
|
||||
service mysql restart && \
|
||||
mysql -uroot -e "SET GLOBAL innodb_file_format=Barracuda" && \
|
||||
mysql -uroot -e "CREATE DATABASE nextcloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci" && \
|
||||
mysql -uroot -e "GRANT ALL PRIVILEGES ON nextcloud.* TO nextcloud@localhost IDENTIFIED BY 'nextcloud'" && \
|
||||
|
Loading…
x
Reference in New Issue
Block a user