La lista de instrucciones que se utilizaron para montar son las siguientes:
- sudo apt update && sudo apt upgrade -y
- sudo apt install apache2 -y
- sudo systemctl start apache2
- sudo systemctl enable apache2
- sudo apt install mysql-server -y
- sudo systemctl start mysql
- sudo systemctl enable mysql
- sudo mysql
- alter user 'root'@'localhost' identified with mysql_native_password by '0wnC10ud';
- quit
- sudo mysql_secure_installation
- sudo add-apt-repository ppa:ondrej/php
- sudo apt update
- sudo apt install php7.4 php7.4-{opcache,gd,curl,mysqlnd,intl,json,ldap,mbstring,mysqlnd,xml,zip}
- sudo mysql -u root -p
- create database db_owncloud;
- create user 'usr_owncloud'@'localhost' identified by 'U5r_0WnCl0ud';
- grant all on db_owncloud.* to 'usr_owncloud'@'localhost';
- flush privileges;
- exit
- wget https://download.owncloud.com/server/stable/owncloud-complete-latest.zip
- sudo apt-get install zip -y
- unzip owncloud-complete-latest.zip
- sudo mv owncloud /var/www/html/
- sudo chown -R www-data: /var/www/html/owncloud
- sudo nano /etc/apache2/sites-available/owncloud.conf
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName owncloud.soluciones-dc.com
ErrorLog ${APACHE_LOG_DIR}/owncloud_error.log
CustomLog ${APACHE_LOG_DIR}/owncloud_access.log combined
<Directory /var/www/html/owncloud>
Options FollowSymLinks
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
- sudo a2enmod rewrite mime unique_id
- sudo systemctl restart apache2
- sudo reboot
En el siguiente link encontraras la lista completa de videos:
