[ad_1]

OwnCloud was one of many unique on-premise cloud options and remains to be going robust at this time. This cloud/collaboration platform will be simply deployed to your in-house knowledge middle or a third-party cloud host and might serve a number of use circumstances. It may be used for cloud storage, staff collaboration, file sharing, calendaring, and even a full-blown, cloud-based workplace suite.
SEE: Hiring Package: Cloud Engineer (TechRepublic Premium)
The ownCloud function set contains:
- Information sync
- Information sharing
- Versioning
- Encryption
- Drag and drop add
- Theming
- Teams
- Exercise Stream
- Android, iOS, and desktop apps
- Workplace 365 integration
- Visitor customers
Earlier than you suppose ownCloud is a problem to put in, let me put these fears to relaxation by strolling you thru a deployment on Ubuntu Server 20.04.
What you’ll want
To efficiently deploy ownCloud, you’ll want a working occasion of Ubuntu Server 20.04 and a consumer with sudo privileges. That’s it. Let’s make this occur.
set up the LAMP stack
The very first thing we should do is set up the LAMP stack. Log into your Ubuntu Server occasion and challenge the command:
sudo apt-get set up lamp-server^ -y
As soon as the LAMP server is put in, ensure that to begin and allow the Apache and MySQL servers with the next instructions:
sudo systemctl allow --now apache2sudo systemctl allow --now mysql
Subsequent, we have to safe the MySQL set up with the command:
sudo mysql_secure_installation
You’ll be requested if you wish to allow the VALIDATE PASSWORD COMPONENT. By enabling this function, you require all passwords to be of a sure energy. You’ll be able to bypass this by typing n. For those who do choose to not allow the function, it is best to nonetheless ensure that to make use of very robust passwords on your MySQL admin consumer (and all MySQL customers).
Lastly, reply y to the remaining inquiries to safe the MySQL database.
create the ownCloud database
Subsequent, we’ll create the mandatory database and a consumer for the database. Log in to the MySQL console with:
sudo mysql -u root -p
As soon as within the console, create the database with:
CREATE DATABASE ownclouddb;
Create the brand new ownCloud database consumer with:
CREATE USER 'ownclouduser'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';
Grant the mandatory privileges for the brand new database consumer with:
GRANT ALL PRIVILEGES ON ownclouddb.* TO 'ownclouduser'@'localhost';
Flush the privileges and exit from the MySQL console with:
FLUSH PRIVILEGES;
exit
set up PHP
OwnCloud closely is dependent upon PHP, so we’ll want to put in it and a lot of modules with the command:
sudo apt-get set up php php-opcache php-gd php-curl php-mysqlnd php-intl php-json php-ldap php-mbstring php-mysqlnd php-xml php-zip -y
As soon as the set up completes, restart Apache with:
sudo systemctl restart apache2
obtain and unpack ownCloud
We’ll now obtain the most recent model of ownCloud with the command:
wget https://obtain.owncloud.com/server/steady/owncloud-complete-latest.zip
Unzip the file with:
unzip owncloud-complete-latest.zip
If the unzip command isn’t discovered, set up it with:
sudo apt-get set up unzip -y
Transfer the newly created listing with:
sudo mv owncloud /var/www/html
Change the possession of the listing with the command:
sudo chown -R www-data: /var/www/html/owncloud
create an Apache configuration file
We’ll now create an Apache configuration file for ownCloud. Create the brand new file with the command:
sudo nano /and so on/apache2/sites-available/owncloud.conf
In that file, paste the next (ensure that so as to add your individual admin e mail deal with and ServerName):
   <VirtualHost *:80>
   ServerAdmin admin@your_domain.com
   DocumentRoot /var/www/html/owncloud
   ServerName your-domain.com
<><Listing /var/www/html/owncloud>
   Choices FollowSymlinks
   AllowOverride All
   Require all granted
</Listing>
ErrorLog ${APACHE_LOG_DIR}/your-domain.com_error.logCustomLog ${APACHE_LOG_DIR}/your-domain.com_access.log mixed</VirtualHost>
Restart Apache with:
sudo systemctl restart apache2
full the set up
Open an internet browser and level it to http://SERVER/owncloud (The place SERVER is the IP deal with or area of your server). Within the ensuing window (Determine A), fill out the knowledge for a brand new admin account after which add the main points for the database server.
Determine A

For the database, fill within the following:
- Database consumer–ownclouduser
- Database password–the password you set for the owncloud consumer
- Database–ownclouddb
- Localhost–localhost
After filling in all the mandatory particulars, click on End setup and, in lower than a minute, the set up will full and you may then log in because the admin consumer.
Congratulations, you now have a working ownCloud occasion to make use of as your on-premise cloud server. For those who’ve ever used Nextcloud, you discover some similarities, however much more variations. For instance, out of the field, ownCloud doesn’t embody practically as many pre-installed apps as does Nextcloud. To spherical out your deployment, you’ll need to instantly head to the Market and begin putting in further functions.
Subscribe to TechRepublic’s How To Make Tech Work on YouTube for all the most recent tech recommendation for enterprise professionals from Jack Wallen.
[ad_2]
