Step by step tutorial to install NextCloud on Rocky Linux 8 for personal cloud storage to store media files and documents using the internet from anywhere; using smartphone or desktop app.
What is Nextcloud?
Nextcloud is a free open source cloud software for the encrypted storage of data in a cloud or on your servers. It is client-server software and forked of another open-source known as OpenCloud. Also, it is a good alternative to cloud storage like Dropbox, Google Drive, and OneDrive, if someone wants a seld-hosted personal cloud solution.
Cloud storage like Dropbox, Google Drive, and OneDrive are very popular nowadays; one of the reasons is the automatic sync of users files to the cloud across different devices, so data is easily accessible and not lost. Well, that facility is also there on Nextcloud.
Although such public cloud storage services are offered by larger companies generally safe and reliable. However, these offers also have disadvantages. They only offer their customers a limited amount of free storage space. If customers need more space to store their data, they have to pay.
NextCloud also offers two-factor authentication to better protect the cloud accounts against unauthorized access. Whereas this personal cloud server can also encrypt data to securely send data remotely, however, to improve the user experience, especially for newcomers, encryption is not enabled by default. Because encryption increases file size by approximately 35%. Further it also comes with Healthcare and HIPAA; GDPR Compliance Kit; Auditing capabilities and File Access Control.
The steps given here will be applicable for other RedHat-based Linux distros such as CentOS, Almalinux, Oracle Linux
Rocky Linux 8 Apache, PHP 7.3, 7.4, 8.0 MySQL 8.0+ or MariaDB 10.2/10.3/10.4/10.5 Non-root sudo user 512MB of RAM
If you have just installed a fresh Rocky Linux server or havent updated it for a while then first run the system update command:
Also, install:
Once the update is completed, also put SELinux in permissive mode, which means disabling it temporarily until the next reboot. This will make sure there will be no unwanted restriction in installing NextCloud.
To check the status:
As one of the requirements of NextCloud is the web server, so for that install Apache, along with that being a PHP based web application also configure the same.
Start and enable Apache services
To check the status:
According to NextCloud, PHP 8.0 is recommended to use. Hence, we go for that because the version via the default repository of Rocky Linux is 7.2. Therefore, we have to add the Remi repo manually to get the latest version.
Install:
Increase PHP Memory limit:
Find memory_limit and set the value to 512M
Save the file: Ctrl+O, hit the Enter key, and then exit: Ctrl+X.
We also need some medium to store the data generated by NextCloud, here we are using MariaDB. However, you can use MySQL, SQLite, Oracle Database, and PostgreSQL as well if you want.
Start and enable the service:
Secure Database:
Follow the text-based wizard.
Create a New Database for NextCloud:
Login:
Create database User:
Create DB:
Give all rights of created DB to use:
Note: Replace yourdb with the database name you want to give, whereas the youruser with the username and yourpasswordwith the password you want to assign.
Visit the official website of NextCloud and then download it. Right-click on the Download button and copy the link address.
paste the link with wget
Example:
unzip the file:
Move the extracted file to /var/www/html/ directory
Create a data folder to store uploaded data in Nextcloud
Now, the give the Nextcloud permission to Apache user:
Lets create an Apache configuration file for NextCloud, to serve the file in case you are using the domain name or multiple websites are running on the same server.
Paste the following lines:
Note: Dont forget to replace cloud.example.com with the domain name you want to use. If you dont have any then leave it as it is.
Restart the Apache web server and set SELinux policies:
Once all the above steps are completed you are ready to access the web interface for setting up NextCloud further on your Rocky Linux 8 system.
Open your browser that can access the domain or IP address of the server where you have installed NextCloud. After that point to the Ip or domain:
Create Admin user and enter Database Details
The first page will ask you to create an Admin user and after that select MySQL/MariaDB as Database. There enter the details of the Database you have created.
After that click on the Finish button.
In the future if you want to upgrade your NextCloud using the command, easily, then here is the command:
Edit php.ini
Scroll to the end of the file:
Save the file using Ctrl+O, hit the Enter key, and then press Ctrl+X
Once you have added
Those who also want to set SSL certificate needto run the following commands:
Note: Make sure in your Domain DNS A record is pointing to the Ip-address where you have installed NextCloud.
Once the SSL certificate has been issued successfully edit your existing Apache Configuration:
Delete existing configuration and add the following one. And dont forget to replace the cloud.example.com with the domain name you want to use access NextCloud.
Save the file by pressing Ctlr+O, hit the Enter key, and then exit the same using Ctrl+X.
In this way, we can install NextCloud on Rocky Linux or in any Redhat-based system such as CentOS, Oracle Linux Although it is a good way to set up your cloud to access files remotely, a few disadvantages are always there. Such as the user will be responsible for maintenance, security, and settings including hardware.
Other Articles:
Enable Minimize & Maximize buttons on Almalinux or Rocky Linux How to install NextCloud on Debian 11 Bullseye Linux Install Nextcloud Client on Debian 11 Bullseye Linux How to Install Cockpit on Ubuntu 22.04 | 20.04 LTS How to install FileZilla client on Rocky Linux
See more here:
How to install NextCloud server on Rocky Linux 8 – Linux Shout
Related Post
- The Best Cloud Storage for Business | Tested & Ranked | 2022 – January 24th, 2022
- Cloud Storage Security: How Secure Is Cloud Storage? – January 24th, 2022
- Hybrid cloud storage: The devils are in the details – ComputerWeekly.com – January 24th, 2022
- The Pros and Cons of Decentralized Data Storage | ENP – EnterpriseNetworkingPlanet – January 24th, 2022
- Lightbits Doubles Install Base YoY on Demand for Cloud Solutions – Business Wire – January 24th, 2022
- Evolving Digital Transformation Implementation with Hybrid Architectures | ITBE – IT Business Edge – January 24th, 2022
- Interview With Manish Soni, CEO Of “Sarvvid” – The Updated Version Of Cloud Storage Companies (an Innovative Way To Decentralize Data… – January 24th, 2022
- Robin.io selected as finalist of the annual Products of the Year Awards by TechTarget’s Storage Magazine and SearchStorage – socPub – January 24th, 2022
- Tesla and Box: Two Focus List Shorts Poised To Payoff – Forbes – January 24th, 2022
- 5 best Procreate alternatives for Android you should try – Phandroid – News for Android – January 24th, 2022
- Flashback: Android 4.4 KitKat optimized the OS for phones with just 512MB of RAM – GSMArena.com news – GSMArena.com – January 24th, 2022
- How to Setup Your Own Personal Cloud Storage – January 20th, 2022
- Microsoft OneDrive has pinched one of the best Google Drive features – TechRadar – January 20th, 2022
- Cloudian Partners with WEKA to Deliver High-Performance, Exabyte-Scalable Storage for AI, Machine Learning and Other Advanced Analytics – Yahoo… – January 20th, 2022
- Archive360 report: IT migration to the Cloud is hitting big obstacles – ZDNet – January 20th, 2022
- Cloud-native security architecture principles and controls – TechTarget – January 20th, 2022
- Cloud Adoption Widens the Cybersecurity Skills Gap – DARKReading – January 20th, 2022
- Get 80% Off Premium Web Hosting With Unlimited Storage and Bandwidth – PCMag.com – January 20th, 2022
- Google’s Gsuite is no longer free here are the best alternatives – The Next Web – January 20th, 2022
- Research Report on Cloud Storage Market Size 2022-2027 Industry Share and Demand Analysis of Key Players LSMedia – LSMedia – January 20th, 2022
- Global Personal Cloud Storage Market 2021 Incredible Possibilities, Recent Trends, Business Opportunities and Forecast to 2027 Discovery Sports… – January 20th, 2022
- Insurity Completed 52 Customer Go-Lives On Its Configurable Cloud-Native Platform in 2021 – Business Wire – January 20th, 2022
- Confluent Releases New Features to Make Data Streaming Simple – Database Trends and Applications – January 20th, 2022
- California Association of REALTORS partners with Lone Wolf to expand leading technology suite for members – PRNewswire – January 20th, 2022
- Exclusive: Has Google won the cloud storage wars? – TechRadar – December 29th, 2021
- How To Recover Deleted Text Messages On Android And IPhone – Tech News Today – December 29th, 2021
- Cybersecurity Issues in the Hybrid Workplace – CIO Applications – December 29th, 2021
- When employees leave, is your data walking out the door? – Help Net Security – December 29th, 2021
- There’s a cheaper Lenovo Duet 5 Chromebook on sale for $399. Should you buy it? – About Chromebooks – December 29th, 2021
- Cell Phone Memory Is Full – These Tips Will Help You – Tech Gaming Report – December 29th, 2021
- The WFH splurge guide: You are probably missing out on this cool tech ensemble – Hindustan Times – December 29th, 2021
- Connectivity is Empowerment: Where are IT Leaders headed in 2022 and beyond? – CRN – India – CRN.in – December 29th, 2021
- What schools need to know about data and the cloud – TES News – December 22nd, 2021
- Storage 2022: Active archiving, ML-enabled volumes on the rise – ZDNet – December 22nd, 2021
- Top 10 cloud storage, DR and datacentre storage stories of 2021 – ComputerWeekly.com – December 22nd, 2021
- Sponsored post: Oracle’s modern take on storage makes cloud more flexible and affordable than ever – TechCrunch – December 22nd, 2021
- Never Lose a File Again With 3 Years of Cloud Backups for $18 – PCMag.com – December 22nd, 2021
- Norton 360 Deluxe is the best way to stay secure this holiday season – Tech Advisor – December 22nd, 2021
- Top 5 Ways to Disable OneDrive in Windows 11 – Guiding Tech – December 22nd, 2021
- Why the serverless office is the next phase of cloud computing for banking and finance – Global Banking And Finance Review – December 22nd, 2021
- The Global Distributed Cloud Storage Summit has officially opened with the presence of Hoo – Gulf News – December 22nd, 2021
- Airbyte: Open-source ETL startup goes from zero to unicorn in 2 years Blocks and Files – Blocks and Files – December 22nd, 2021
- Global Network Attached Storage (NAS) Market Analytics 2021-2026 – Increasing Adoption of the Cloud is Hindering Market Growth -… – December 9th, 2021
- Personal and Entry Level Storage Market Expected to Expand Up to USD 100 Billion by 2028 – GlobeNewswire – December 9th, 2021
- WinZip SafeMedia Gives Organizations the Flexibility to Securely Store, Manage, and Transport Files on Removable Media and Cloud Storage Platforms -… – December 9th, 2021
- What You Need to Know About Cloud Computing and the Available Jobs – Analytics Insight – December 9th, 2021
- Google Drive update will force you to clean up your mess of files and folders – TechRadar – December 9th, 2021
- State, Local, Educational Organizations Turn to Nasuni for Modern Storage Infrastructure with Built-In Rapid Ransomware Recovery – PRNewswire – December 9th, 2021
- Overcoming the challenges that come with cloud-based working – Consultancy.com.au – December 9th, 2021
- NetApp : Google Cloud and NetApp team up to expand Cloud Volumes Service to 8 new regions – marketscreener.com – December 9th, 2021
- How the IoT is Promoting Growth in the Micro Data Center – Techopedia – December 9th, 2021
- Do You Know Who is Responsible for Disaster Recovery in the Cloud? (Hint: It’s Not Your Cloud Provider) – MeriTalk – December 9th, 2021
- Gift guide: These handy gifts appeal to almost anyone – The Dallas Morning News – December 9th, 2021
- Native support for OneDrive sync on Windows on ARM and Apple Silicon is now in preview – Neowin – December 9th, 2021
- Composable Infrastructure Market Estimated to Reach a Valuation of USD 5.80 Billion by 2026 – GlobeNewswire – December 9th, 2021
- Free Cloud Storage Backup for Photos & Videos – Blomp – December 3rd, 2021
- Tap Into the Disruption-Ready Cloud Storage Market With Backblaze – Investorplace.com – December 3rd, 2021
- Data Storage Market to Escalate Swiftly; Adoption of Big Data Analytics and AI to Amplify Revenue, states Fortune Business Insights – GlobeNewswire – December 3rd, 2021
- Five worthy reads: HIPAA compliance in the age of cybersecurity – Security Boulevard – December 3rd, 2021
- The Boston Globe Names Wasabi Technologies a Top Place to Work for 2021 – Yahoo Finance – December 3rd, 2021
- Microsoft Targets Small Businesses With New ‘Teams Essentials’ Standalone Edition – CRN – December 3rd, 2021
- Remarkable users have to accept new terms to get a free subscription – Good e-Reader – December 3rd, 2021
- 22dot6 adds extra cloudiness to its Valence software Blocks and Files – Blocks and Files – November 28th, 2021
- What is the smart city, and why is cloud storage key? – TechRadar – November 28th, 2021
- What were most thankful for in tech, science, business, and innovation – GeekWire – November 28th, 2021
- Google: Half of compromised cloud instances have weak or no passwords – ZDNet – November 28th, 2021
- Top 8 Ways to fix Unfortunately File Manager Has Stopped on Android – Guiding Tech – November 28th, 2021
- Worldwide Electronic Medical Records Industry to 2026 – Initiatives by the Governments are Driving Growth – ResearchAndMarkets.com – Yahoo Finance – November 28th, 2021
- What is Cloud Storage | IBM – November 22nd, 2021
- iCloud vs pCloud: Which is the best cloud storage service? – Macworld UK – November 22nd, 2021
- Media And Entertainment Digital Storage Growth Swells With Increased Cloud And Remote Services – Forbes – November 22nd, 2021
- Veeam reveals cloud storage use patterns: Azure and AWS for bulk, IBM has ardent fans, Google has not much – The Register – November 22nd, 2021
- Alexander: Making sure that deleted Android phone pictures are really gone – Minneapolis Star Tribune – November 22nd, 2021
- Global Cloud Storage Software Market expected to contribute to the growth of the segment over the forecast period 2021-2027 The UK Directory – The UK… – November 22nd, 2021
- Cloud repatriation: Five reasons to repatriate data from cloud – ComputerWeekly.com – November 22nd, 2021
- JetStream’s Azure-native DR finally takes off – TechTarget – November 22nd, 2021
- Cloud Storage for Firebase | Firebase Documentation – November 15th, 2021
- Apples Business Essentials subscriptions target small businesses that only use Apple – The Verge – November 15th, 2021
- Cloud Storage Startup Backblaze IPOs on Little VC and Revenue – Business Insider – November 15th, 2021
- StrongBox Data Names Andrew Hall as CEO – HPCwire – November 15th, 2021