{"id":48672,"date":"2024-08-19T12:30:00","date_gmt":"2024-08-19T17:30:00","guid":{"rendered":"https:\/\/www.rosehosting.com\/blog\/?p=48672"},"modified":"2024-09-10T05:48:22","modified_gmt":"2024-09-10T10:48:22","slug":"how-to-install-nextcloud-on-almalinux-9","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/","title":{"rendered":"How to Install Nextcloud on AlmaLinux 9"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/08\/how-to-install-nextcloud-on-almalinux-9.jpg\" alt=\"How to install Nextcloud on AlmaLinux 9\" class=\"wp-image-48829\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/08\/how-to-install-nextcloud-on-almalinux-9.jpg 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/08\/how-to-install-nextcloud-on-almalinux-9-300x169.jpg 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/08\/how-to-install-nextcloud-on-almalinux-9-150x84.jpg 150w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/08\/how-to-install-nextcloud-on-almalinux-9-768x432.jpg 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Nextcloud is recognized as the leading open-source self-hosted file sync and sharing software. It is an alternative to various file-sharing applications such as Google Drive, Dropbox, OwnCloud, and more. Nextcloud offers extensive functionalities like file synchronization and sharing, online document editing, calendar organization, contact management, and numerous others. This tutorial will illustrate how to install Nextcloud on AlmaLinux 9.<\/p>\n\n\n\n<!--more-->\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69d5e9766988b\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"ez-toc-cssicon\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69d5e9766988b\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/#Prerequisites\" >Prerequisites<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/#Step-1-Log-in-to-your-server-via-SSH\" >Step 1: Log in to your server via SSH<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/#Step-2-Update-the-System\" >Step 2: Update the System<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/#Step-3-Install-PHP-8\" >Step 3: Install PHP 8<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/#Step-4-Configure-PHP-FPM\" >Step 4: Configure PHP-FPM<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/#Step-5-Install-and-Configure-Nginx\" >Step 5: Install and Configure Nginx<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/#Step-6-Install-MySQL-server\" >Step 6: Install MySQL server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/#Step-7-Create-a-Database\" >Step 7: Create a Database<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/#Step-8-Install-SSL-Certificate\" >Step 8: Install SSL Certificate<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/#Step-9-Install-Nextcloud\" >Step 9: Install Nextcloud<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Prerequisites\"><\/span>Prerequisites<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>An AlmaLinux 9 VPS.<\/li>\n\n\n\n<li>SSH access with sudo privileges, or root access.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Conventions<\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\"># \u2013 given commands should be executed with root privileges either directly as a root user or by use of sudo command<br>$ \u2013 given commands should be executed as a regular user<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-1-Log-in-to-your-server-via-SSH\"><\/span>Step 1: Log in to your server via SSH<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>This tutorial will use root to install everything and execute commands. If you use another system user with sudo privileges, you must add &#8216;sudo&#8217;. First, let&#8217;s log in to our Almalinux 9 machine.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">ssh root@IP_Address -p Port_number<\/pre>\n\n\n\n<p>You will need to replace &#8216;IP_Address&#8217; and &#8216;Port_number&#8217; with your server&#8217;s respective IP address and SSH port number. Additionally, replace &#8216;root&#8217; with the username of the system user with sudo privileges.<\/p>\n\n\n\n<p>You can check whether you have the proper AlmaLinux version installed on your server with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># cat \/etc\/redhat-release<\/pre>\n\n\n\n<p>You will see this as the output:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">AlmaLinux release 9.4 (Seafoam Ocelot)<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-2-Update-the-System\"><\/span>Step 2: Update the System<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Before starting, ensure that all AlmaLinux OS package information about applications installed on the server is up to date. You can do this by running the following commands:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># dnf update<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-3-Install-PHP-8\"><\/span>Step 3: Install PHP 8<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>At the time of this writing, the default version of PHP on AlmaLinux 9 is PHP 8.0. According to the Nexcloud system requirements at <a href=\"https:\/\/docs.nextcloud.com\/server\/latest\/admin_manual\/installation\/system_requirements.html\">https:\/\/docs.nextcloud.com\/server\/latest\/admin_manual\/installation\/system_requirements.html<\/a> we are going to install PHP 8.3 and use it for Nextcloud installation.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># dnf -y install https:\/\/rpms.remirepo.net\/enterprise\/remi-release-9.2.rpm<br># dnf update<\/pre>\n\n\n\n<p>Once updated, we can check all available PHP versions to install on our AlmaLinux server after installing the Remi repo.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># dnf module list php<\/pre>\n\n\n\n<p>You will see an output like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@rh ~]$# dnf module list php<br>Last metadata expiration check: 0:00:17 ago on Wed 19 Jun 2024 03:51:07 AM CDT.<br>AlmaLinux 9 - AppStream<br>Name                               Stream                                 Profiles                                                Summary                                            <br>php                                8.1                                    common [d], devel, minimal                              PHP scripting language                             <br>php                                8.2                                    common [d], devel, minimal                              PHP scripting language                             <br><br>Remi's Modular repository for Enterprise Linux 9 - x86_64<br>Name                               Stream                                 Profiles                                                Summary                                            <br>php                                remi-7.4                               common [d], devel, minimal                              PHP scripting language                             <br>php                                remi-8.0                               common [d], devel, minimal                              PHP scripting language                             <br>php                                remi-8.1                               common [d], devel, minimal                              PHP scripting language                             <br>php                                remi-8.2                               common [d], devel, minimal                              PHP scripting language                             <br>php                                remi-8.3                               common [d], devel, minimal                              PHP scripting language <\/pre>\n\n\n\n<p>As seen above, we should be able to install PHP 8.3 now.<\/p>\n\n\n\n<p>To enable the default source to get this scripting package installed on our AlmaLinux machine, we need to reset it first, then mention the desired version to enable.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># dnf module reset php<br># dnf module enable php:remi-8.3<\/pre>\n\n\n\n<p>That&#8217;s it, we have swiched to PHP 8.3. Now, to install PHP 8.3 with its required extensions, we can execute this command below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># dnf install php php-{bz2,ctype,curl,fpm,gd,imagick,intl,json,fileinfo,libxml,mbstring,mysqlnd,openssl,posix,session,simplexml,xmlreader,xmlwriter,zip,zlib}<\/pre>\n\n\n\n<p>Once the installation is completed, the PHP-FPM service will run but will not be enabled upon server reboot. You can check and verify the installed PHP version with this command.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># php -v<\/pre>\n\n\n\n<p>It will return an output like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@almalinux8 ~]# php -v<br>PHP 8.3.8 (cli) (built: Jun 4 2024 14:53:17) (NTS gcc x86_64)<br>Copyright (c) The PHP Group<br>Zend Engine v4.3.8, Copyright (c) Zend Technologies<br>with Zend OPcache v8.3.8, Copyright (c), by Zend Technologies<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-4-Configure-PHP-FPM\"><\/span>Step 4: Configure PHP-FPM<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In an Almalinux machine, the &#8216;user&#8217; and &#8216;group&#8217; in \/etc\/php-fpm.d\/www.conf are defaulted to &#8216;apache.&#8217; Since we will use nginx as the webserver, we need to edit the configuration file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># vim \/etc\/php-fpm.d\/www.conf<\/pre>\n\n\n\n<p>Change the &#8216;user&#8217; and &#8216;group&#8217; to &#8216;nginx&#8217;.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">user = nginx<br>group = nginx<\/pre>\n\n\n\n<p>Save the file, then exit. Afterward, we will edit some PHP values required for Nextcloud installation.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># vim \/etc\/php.ini<\/pre>\n\n\n\n<p>Uncomment and change the configuration values as below.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">memory_limit = 768M<br>date.timezone = America\/Chicago<br>cgi.fixpathinfo = 0<\/pre>\n\n\n\n<p>We also need to change the permission of the PHP session and OpCache directories.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># chown -R root.nginx \/var\/lib\/php\/opcache\/<br># chown -R root.nginx \/var\/lib\/php\/session\/<\/pre>\n\n\n\n<p>Then, let&#8217;s restart PHP-FPM and enable it upon reboot.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl restart php-fpm<br># systemctl enable php-fpm<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-5-Install-and-Configure-Nginx\"><\/span>Step 5: Install and Configure Nginx<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>After configuring the PHP-FPM, we will install and configure nginx as the webserver, not Apache. Run this command to install it.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># dnf install nginx -y<\/pre>\n\n\n\n<p>Start nginx and enable it on boot.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl enable --now nginx<\/pre>\n\n\n\n<p>Let&#8217;s create an nginx server block.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># vim \/etc\/nginx\/conf.d\/cloud.example.com.conf<\/pre>\n\n\n\n<p>Paste the following and make sure you replace cloud.example.com with your actual domain or subdomain name:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">upstream php-handler {<br>    server unix:\/run\/php-fpm\/www.sock;<br>}<br><br># Set the `immutable` cache control options only for assets with a cache busting `v` argument<br>map $arg_v $asset_immutable {<br>    \"\" \"\";<br>    default \"immutable\";<br>}<br><br><br>server {<br>    listen 80;<br>    server_name cloud.example.com;<br> <br>    # Path to the root of your installation<br>    root \/var\/www\/nextcloud;<br><br>     # Prevent nginx HTTP Server Detection<br>    server_tokens off;<br><br>    # set max upload size and increase upload timeout:<br>    client_max_body_size 512M;<br>    client_body_timeout 300s;<br>    fastcgi_buffers 64 4K;<br><br>    # Enable gzip but do not remove ETag headers<br>    gzip on;<br>    gzip_vary on;<br>    gzip_comp_level 4;<br>    gzip_min_length 256;<br>    gzip_proxied expired no-cache no-store private no_last_modified no_etag auth;<br>    gzip_types application\/atom+xml application\/javascript application\/json application\/ld+json application\/manifest+json application\/rss+xml application\/vnd.geo+json application\/vnd.ms-fontobject application\/wasm application\/x-font-ttf application\/x-web-app-manifest+json application\/xhtml+xml application\/xml font\/opentype image\/bmp image\/svg+xml image\/x-icon text\/cache-manifest text\/css text\/plain text\/vcard text\/vnd.rim.location.xloc text\/vtt text\/x-component text\/x-cross-domain-policy;<br><br><br>    # HTTP response headers borrowed from Nextcloud `.htaccess`<br>    add_header Referrer-Policy                      \"no-referrer\"   always;<br>    add_header X-Content-Type-Options               \"nosniff\"       always;<br>    add_header X-Download-Options                   \"noopen\"        always;<br>    add_header X-Frame-Options                      \"SAMEORIGIN\"    always;<br>    add_header X-Permitted-Cross-Domain-Policies    \"none\"          always;<br>    add_header X-Robots-Tag                         \"none\"          always;<br>    add_header X-XSS-Protection                     \"1; mode=block\" always;<br><br>    # Remove X-Powered-By, which is an information leak<br>    fastcgi_hide_header X-Powered-By;<br><br>    index index.php index.html \/index.php$request_uri;<br><br>    # Rule borrowed from `.htaccess` to handle Microsoft DAV clients<br>    location = \/ {<br>        if ( $http_user_agent ~ ^DavClnt ) {<br>            return 302 \/remote.php\/webdav\/$is_args$args;<br>        }<br>    }<br><br>    location = \/robots.txt {<br>        allow all;<br>        log_not_found off;<br>        access_log off;<br>    }<br><br>    # Make a regex exception for `\/.well-known` so that clients can still<br>    # access it despite the existence of the regex rule<br>    # `location ~ \/(\\.|autotest|...)` which would otherwise handle requests<br>    # for `\/.well-known`.<br>    location ^~ \/.well-known {<br>        # The rules in this block are an adaptation of the rules<br>        # in `.htaccess` that concern `\/.well-known`.<br><br>        location = \/.well-known\/carddav { return 301 \/remote.php\/dav\/; }<br>        location = \/.well-known\/caldav  { return 301 \/remote.php\/dav\/; }<br><br>        location \/.well-known\/acme-challenge    { try_files $uri $uri\/ =404; }<br>        location \/.well-known\/pki-validation    { try_files $uri $uri\/ =404; }<br><br>       # Let Nextcloud's API for `\/.well-known` URIs handle all other<br>        # requests by passing them to the front-end controller.<br>        return 301 \/index.php$request_uri;<br>    }<br><br>    # Rules borrowed from `.htaccess` to hide certain paths from clients<br>    location ~ ^\/(?:build|tests|config|lib|3rdparty|templates|data)(?:$|\/)  { return 404; }<br>    location ~ ^\/(?:\\.|autotest|occ|issue|indie|db_|console)                { return 404; }<br><br>    # Ensure this block, which passes PHP files to the PHP process, is above the blocks<br>    # which handle static assets (as seen below). If this block is not declared first,<br>    # then Nginx will encounter an infinite rewriting loop when it prepends `\/index.php`<br>    # to the URI, resulting in a HTTP 500 error response.<br>    location ~ \\.php(?:$|\/) {<br>        # Required for legacy support<br>        rewrite ^\/(?!index|remote|public|cron|core\\\/ajax\\\/update|status|ocs\\\/v[12]|updater\\\/.+|oc[ms]-provider\\\/.+|.+\\\/richdocumentscode\\\/proxy) \/index.php$request_uri;<br><br>        fastcgi_split_path_info ^(.+?\\.php)(\/.*)$;<br>        set $path_info $fastcgi_path_info;<br><br>        try_files $fastcgi_script_name =404;<br><br>        include fastcgi_params;<br>        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;<br>        fastcgi_param PATH_INFO $path_info;<br>        fastcgi_param HTTPS on;<br><br>        fastcgi_param modHeadersAvailable true;         $# Avoid sending the security headers twice<br>        fastcgi_param front_controller_active true;     $# Enable pretty urls<br>        fastcgi_pass php-handler;<br><br>        fastcgi_intercept_errors on;<br>        fastcgi_request_buffering off;<br><br>        fastcgi_max_temp_file_size 0;<br>    }<br><br>    location ~ \\.(?:css|js|svg|gif|png|jpg|ico|wasm|tflite|map)$ {<br>        try_files $uri \/index.php$request_uri;<br>        add_header Cache-Control \"public, max-age=15778463, $asset_immutable\";<br>        access_log off;     $# Optional: Don't log access to assets<br><br>        location ~ \\.wasm$ {<br>            default_type application\/wasm;<br>        }<br>    }<br><br>    location ~ \\.woff2?$ {<br>        try_files $uri \/index.php$request_uri;<br>        expires 7d;         $# Cache-Control policy borrowed from `.htaccess`<br>        access_log off;     $# Optional: Don't log access to assets<br>    }<br><br>    # Rule borrowed from `.htaccess`<br>    location \/remote {<br>        return 301 \/remote.php$request_uri;<br>    }<br><br>    location \/ {<br>        try_files $uri $uri\/ \/index.php$request_uri;<br>    }<br>}<\/pre>\n\n\n\n<p>Save the file, then exit and restart nginx<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl restart nginx<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-6-Install-MySQL-server\"><\/span>Step 6: Install MySQL server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Nextcloud supports multiple database engines, such as PostgreSQL, Oracle, SQLite, and MySQL\/MariaDB. In this tutorial, we are going to use MySQL 8.0. Let&#8217;s install it first by invoking the command below.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># dnf install mysql mysql-server<br># systemctl enable --now mysqld<\/pre>\n\n\n\n<p>The MySQL server is now up and running and will automatically run upon a reboot. You can check the status by running this command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl status mysqld<\/pre>\n\n\n\n<p>The command will return an output like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@almalinux9 ~]$# systemctl status mysqld<br>\u25cf mysqld.service - MySQL 8.0 database server<br>     Loaded: loaded (\/usr\/lib\/systemd\/system\/mysqld.service; enabled; preset: disabled)<br>     Active: active (running) since Wed 2024-06-19 03:26:55 CDT; 1min 41s ago<br>    Process: 4912 ExecStartPre=\/usr\/libexec\/mysql-check-socket (code=exited, status=0\/SUCCESS)<br>    Process: 4934 ExecStartPre=\/usr\/libexec\/mysql-prepare-db-dir mysqld.service (code=exited, status=0\/SUCCESS)<br>   Main PID: 5009 (mysqld)<br>     Status: \"Server is operational\"<br>      Tasks: 37 (limit: 23191)<br>     Memory: 459.9M<br>        CPU: 9.713s<br>     CGroup: \/system.slice\/mysqld.service<br>             \u2514\u25005009 \/usr\/libexec\/mysqld --basedir=\/usr<br><br>Jun 19 03:26:41 almalinux9.rosehosting.com systemd[1]: Starting MySQL 8.0 database server...<br>Jun 19 03:26:41 almalinux9.rosehosting.com mysql-prepare-db-dir[4934]: Initializing MySQL database<br>Jun 19 03:26:55 almalinux9.rosehosting.com systemd[1]: Started MySQL 8.0 database server.<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-7-Create-a-Database\"><\/span>Step 7: Create a Database<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>After installing the MySQL server in the previous step, we can now proceed with creating a new database and a user for our Nextcloud website.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># mysql<\/pre>\n\n\n\n<p>Once in the MySQL shell, run these commands.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mysql&gt; CREATE DATABASE nextcloud CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;<br><br>mysql&gt; CREATE USER 'nextcloud'@'localhost' IDENTIFIED BY \"mod1fyth15\";<br><br>mysql&gt; GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextcloud'@'localhost';<br><br>mysql&gt; FLUSH PRIVILEGES;<br><br>mysql&gt; \\q<\/pre>\n\n\n\n<p>Remember to replace &#8216;<strong>m0d1fyth15<\/strong>&#8216; with a stronger password.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-8-Install-SSL-Certificate\"><\/span>Step 8: Install SSL Certificate<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>We will install an SSL certificate for our Nextcloud website using the free SSL certificate from Lets Encrypt.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># dnf install certbot python3-certbot-nginx -y<\/pre>\n\n\n\n<p>Once installed, you can run this command to issue an SSL certificate. Again, make sure to replace the subdomain with your actual domain or subdomain name; it should match the one in the nginx server block configuration file we created earlier. Also, make sure the domain or subdomain already points to your server&#8217;s IP address.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># certbot --nginx -d cloud.example.com<\/pre>\n\n\n\n<p>Make sure to answer the prompts, and you will see an output like this:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">[root@rh ~]$# certbot --nginx -d cloud.example.com<br>Saving debug log to \/var\/log\/letsencrypt\/letsencrypt.log<br>Enter email address (used for urgent renewal and security notices)<br> (Enter 'c' to cancel): you@cloud.example.com<br><br>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br>Please read the Terms of Service at<br>https:\/\/letsencrypt.org\/documents\/LE-SA-v1.4-April-3-2024.pdf. You must agree in<br>order to register with the ACME server. Do you agree?<br>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br>(Y)es\/(N)o: y<br><br>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br>Would you be willing, once your first certificate is successfully issued, to<br>share your email address with the Electronic Frontier Foundation, a founding<br>partner of the Let's Encrypt project and the non-profit organization that<br>develops Certbot? We'd like to send you email about our work encrypting the web,<br>EFF news, campaigns, and ways to support digital freedom.<br>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br>(Y)es\/(N)o: n<br>Account registered.<br>Requesting a certificate for cloud.example.com<br><br>Successfully received certificate.<br>Certificate is saved at: \/etc\/letsencrypt\/live\/cloud.example.com\/fullchain.pem<br>Key is saved at:         \/etc\/letsencrypt\/live\/cloud.example.com\/privkey.pem<br>This certificate expires on 2024-09-17.<br>These files will be updated when the certificate renews.<br>Certbot has set up a scheduled task to automatically renew this certificate in the background.<br><br>Deploying certificate<br>Successfully deployed certificate for cloud.example.com to \/etc\/nginx\/conf.d\/nexcloud.conf<br>Congratulations! You have successfully enabled HTTPS on https:\/\/cloud.example.com<br><br>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br>If you like Certbot, please consider supporting our work by:<br> * Donating to ISRG \/ Let's Encrypt:   https:\/\/letsencrypt.org\/donate<br> * Donating to EFF:                    https:\/\/eff.org\/donate-le<br>- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p>Now, let&#8217;s restart nginx<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># systemctl restart nginx<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step-9-Install-Nextcloud\"><\/span>Step 9: Install Nextcloud<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Finally, we can proceed with installing Nextcloud. First, we need to download the installation archive file. Go to the <a href=\"https:\/\/download.nextcloud.com\/server\/releases\/\">Nextcloud download page<\/a> and choose the specific version you require.<\/p>\n\n\n\n<p>For this example, we will download the latest version available. Let&#8217;s run this command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># wget https:\/\/download.nextcloud.com\/server\/releases\/latest.zip -O latest.zip<\/pre>\n\n\n\n<p>Then, extract the downloaded zip archive to the document root directory on your server<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># unzip latest.zip -d \/var\/www\/<br># mkdir \/var\/www\/nextcloud\/data<br># chown -R nginx: \/var\/www\/nextcloud<\/pre>\n\n\n\n<p>Once extracted, you can now proceed with Nextcloud installation via web installer at http:\/\/cloud.yourdomain.com, click on MySQL\/MariaDB tab then fill the blank as required, then click on the &#8220;Install&#8221; button to finish it.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"539\" height=\"860\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/06\/nextcloud-install.jpg\" alt=\"install NextCloud on AlmaLinux 9\" class=\"wp-image-48676\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/06\/nextcloud-install.jpg 539w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/06\/nextcloud-install-188x300.jpg 188w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/06\/nextcloud-install-94x150.jpg 94w\" sizes=\"(max-width: 539px) 100vw, 539px\" \/><\/figure>\n\n\n\n<p><br>Once finished, you will be brought to the website backend&#8217;s login form.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"499\" height=\"533\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/06\/nextcloud-login.jpg\" alt=\"Nextcloud login screen\" class=\"wp-image-48677\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/06\/nextcloud-login.jpg 499w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/06\/nextcloud-login-281x300.jpg 281w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/06\/nextcloud-login-140x150.jpg 140w\" sizes=\"(max-width: 499px) 100vw, 499px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>In this tutorial, SELinux is considered disabled. If you encounter an issue most likely related to SELinux, you can check the <a href=\"https:\/\/docs.nextcloud.com\/server\/latest\/admin_manual\/installation\/selinux_configuration.html\" target=\"_blank\" rel=\"noreferrer noopener\">Nextcloud documentation<\/a> to fix it.<\/p>\n\n\n\n<p>Congratulations! You have successfully learned how to install Nextcloud on AlmaLinux 9.<\/p>\n\n\n\n<p>If you are a web hosting customer using our <a href=\"https:\/\/www.rosehosting.com\/nextcloud-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">managed Nextcloud Hosting<\/a>, you don\u2019t have to follow this tutorial and install Nextcloud on AlmaLinux 9 yourself. Our Linux admins will set up and configure a Nextcloud VPS for you. They are available 24\u00d77 and will take care of your request immediately, and all you need to do is submit a ticket. Installing Nextcloud is not just about the installation. We can help you optimize your Nextcloud installation if you have an active service with us.<\/p>\n\n\n\n<p>If you liked this post, please share it with your friends or leave a comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Nextcloud is recognized as the leading open-source self-hosted file sync and sharing software. It is an alternative to various file-sharing &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to Install Nextcloud on AlmaLinux 9\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/#more-48672\" aria-label=\"Read more about How to Install Nextcloud on AlmaLinux 9\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":48829,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2071],"tags":[1910,2057,1603,1290],"class_list":["post-48672","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","tag-almalinux","tag-almalinux-9","tag-how-to-install","tag-nextcloud","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Install Nextcloud on AlmaLinux 9 | RoseHosting<\/title>\n<meta name=\"description\" content=\"Learn how to install Nextcloud on AlmaLinux 9 using our easy-to-follow guide, or have our Linux admins set it all up for you.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Nextcloud on AlmaLinux 9\" \/>\n<meta property=\"og:description\" content=\"How to Install Nextcloud on AlmaLinux 9 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2024-08-19T17:30:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-10T10:48:22+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/08\/how-to-install-nextcloud-on-almalinux-9.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"576\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nextcloud-on-almalinux-9\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nextcloud-on-almalinux-9\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to Install Nextcloud on AlmaLinux 9\",\"datePublished\":\"2024-08-19T17:30:00+00:00\",\"dateModified\":\"2024-09-10T10:48:22+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nextcloud-on-almalinux-9\\\/\"},\"wordCount\":1000,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nextcloud-on-almalinux-9\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/how-to-install-nextcloud-on-almalinux-9.jpg\",\"keywords\":[\"almalinux\",\"almalinux 9\",\"how to install\",\"nextcloud\"],\"articleSection\":[\"Linux\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nextcloud-on-almalinux-9\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nextcloud-on-almalinux-9\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nextcloud-on-almalinux-9\\\/\",\"name\":\"How to Install Nextcloud on AlmaLinux 9 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nextcloud-on-almalinux-9\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nextcloud-on-almalinux-9\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/how-to-install-nextcloud-on-almalinux-9.jpg\",\"datePublished\":\"2024-08-19T17:30:00+00:00\",\"dateModified\":\"2024-09-10T10:48:22+00:00\",\"description\":\"Learn how to install Nextcloud on AlmaLinux 9 using our easy-to-follow guide, or have our Linux admins set it all up for you.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nextcloud-on-almalinux-9\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nextcloud-on-almalinux-9\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nextcloud-on-almalinux-9\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/how-to-install-nextcloud-on-almalinux-9.jpg\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2024\\\/08\\\/how-to-install-nextcloud-on-almalinux-9.jpg\",\"width\":1024,\"height\":576,\"caption\":\"How to install Nextcloud on AlmaLinux 9\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-nextcloud-on-almalinux-9\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Nextcloud on AlmaLinux 9\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Install Nextcloud on AlmaLinux 9 | RoseHosting","description":"Learn how to install Nextcloud on AlmaLinux 9 using our easy-to-follow guide, or have our Linux admins set it all up for you.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Nextcloud on AlmaLinux 9","og_description":"How to Install Nextcloud on AlmaLinux 9 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2024-08-19T17:30:00+00:00","article_modified_time":"2024-09-10T10:48:22+00:00","og_image":[{"width":1024,"height":576,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/08\/how-to-install-nextcloud-on-almalinux-9.jpg","type":"image\/jpeg"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to Install Nextcloud on AlmaLinux 9","datePublished":"2024-08-19T17:30:00+00:00","dateModified":"2024-09-10T10:48:22+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/"},"wordCount":1000,"commentCount":0,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/08\/how-to-install-nextcloud-on-almalinux-9.jpg","keywords":["almalinux","almalinux 9","how to install","nextcloud"],"articleSection":["Linux"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/","name":"How to Install Nextcloud on AlmaLinux 9 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/08\/how-to-install-nextcloud-on-almalinux-9.jpg","datePublished":"2024-08-19T17:30:00+00:00","dateModified":"2024-09-10T10:48:22+00:00","description":"Learn how to install Nextcloud on AlmaLinux 9 using our easy-to-follow guide, or have our Linux admins set it all up for you.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/08\/how-to-install-nextcloud-on-almalinux-9.jpg","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2024\/08\/how-to-install-nextcloud-on-almalinux-9.jpg","width":1024,"height":576,"caption":"How to install Nextcloud on AlmaLinux 9"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-nextcloud-on-almalinux-9\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Install Nextcloud on AlmaLinux 9"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/48672","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=48672"}],"version-history":[{"count":10,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/48672\/revisions"}],"predecessor-version":[{"id":49188,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/48672\/revisions\/49188"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/48829"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=48672"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=48672"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=48672"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}