8/5/2023 0 Comments Build owncloud serverHere we installed the database in the same server, so we leave the database host as “localhost”. No need to modify Data Folder.įill out the details of the database name, database username, and database password. or IP Owncloud Web InterfaceĬreate an admin account by choosing a username and a password. Open a web browser and navigate to the following address to access the ownCloud web interface. flush privileges Step 7 – Configure ownCloud create user identified BY 'QB35JaFV6A9=BJRiT90' grant all privileges on fosslinuxowncloud.* to privileges. create database fosslinuxowncloud Ĭreate a DB user and grant privileges. sudo mysql -u root -pĬreate a database, and name it as you want. sudo systemctl restart apache2 Step 6 – Configuring the MySQL Database for OwncloudĪccess MySQL using the root account. The following commands should enable new virtual hosts. If you get a “Syntax OK” message, use this command line to disable the default, virtual host. ![]() SSLCertificateChainFile /etc/apache2/ssl/chain-certificate-name.caĬheck the syntax of the configuration file. ![]() SSLCertificateKeyFile /etc/apache2/ssl/certificate-key-name.key SSLCertificateFile /etc/apache2/ssl/certificatefile-name.cer You can give whatever name to your SSL certificate files. ![]() SSLCertificateChainFile /etc/apache2/ssl/fosslinuxowncloud.ca SSLCertificateKeyFile /etc/apache2/ssl/fosslinuxowncloud.key SSLCertificateFile /etc/apache2/ssl/fosslinuxowncloud.cer sudo wget -nv -O Release.key sudo apt-key add. sudo apt-get install php php-cgi libapache2-mod-php php-common php-pear php-mbstring php-mysql php-curl php-json Step 4 – Install ownCloud We should first check for available PHP versions and then install it. sudo mysql -u root -p MySQL Root Login Step 3 – Install PHP You can access MySQL server using the root login and password. Reload privilege tables now? (Press y|Y for Yes, any other key for No) : Yīy now you should have installed MySQL and also securely configured it. Remove test database and access to it? (Press y|Y for Yes, any other key for No) : Y Remove anonymous users? (Press y|Y for Yes, any other key for No) : Yĭisallow root login remotely? (Press y|Y for Yes, any other key for No) : Y You should see a series of questions - type “Y” for each one of them. It should ask “Do you wish to continue with the password provided?”. Go ahead and provide a password for MySQL root user. Then you should see a prompt to select a level of password validation. Type “Y” to yes and hit Enter to continue. You should see a prompt if you want to configure the VALIDATE PASSWORD PLUGIN. Securing MySQL installation sudo mysql_secure_installation We shall install using the command as follows: sudo apt-get install mysql-server mysql-client sudo apt-cache policy mysql-serverĪs you see there is a new version available. Let’s start with checking for available MySQL version. Apache Default Page Step 2 – Install MySQL If you see the Apache default page, it means everything went well. To check the Apache installation running status, launch the browser using hostname or server IP address. Reload firewall and check the Firewall status. sudo ufw allow 80/tcp sudo ufw allow 443/tcp sudo systemctl enable apache2Īllow Apache ports from the Ubuntu Firewall. sudo systemctl start apache2Įnable Apache On system boot. If you see the service has not started, you can start it manually using the following command. Check the status using the command: sudo systemctl status rvice Generally, the Apache service starts automatically. Install Apache: sudo apt-get install apache2 ![]() Launch the Terminal and enter the following command: sudo apt-get update Let’s start with updating the system repositories.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |