Installation on Ubuntu


Note: FIPS 140-3 modules are still in review for Ubuntu 22.04.
If you want to install FileCloud with FIPS, please wait until the Ubuntu 22.04 vendors officially announce they are supporting FIPS.
Ubuntu information

Installation instructions

Pre-installation

Upgrade to Ubuntu 22.04 LTS if you are not already running FileCloud on it.

  1. If your Linux server is not in a isolated environment where regular users are prevented from using SSH login, we recommend enabling authentication for the MongoDB service to prevent unauthorized access through port forwarding.

  2. Upgrade to the latest supported Version of MongoDB Version 7.
    If your CPU does not have the AVX instruction set, MongoDB 7 (and MongoDB 6) will not run.
    To check whether your CPU has the instruction set, run:

    #lscpu | grep -i avx"
    

     If you do not have the AVX instruction set, install one of the select Intel and AMD processors.


Installation for Ubuntu 22.04 LTS

To install FileCloud on Ubuntu 22.04, complete the following steps:
  1. If you are not the root user, switch to the root user account by entering:

    sudo -i
    
  2. Enter the following commands:

    apt clean cache
    apt-mark unhold $(apt-mark showhold)
    curl -fsSL https://pgp.mongodb.com/server-8.0.asc | sudo gpg -o /usr/share/keyrings/mongodb-server-8.0.gpg --dearmor
    echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-8.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/8.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-8.0.list
    rm -rf /etc/apt/sources.list.d/mongodb-org-7.0.list
    
    apt update -y
    apt install -y mongodb-org=8.0.23 mongodb-org-database=8.0.23 mongodb-org-server=8.0.23 mongodb-org-mongos=8.0.23 mongodb-org-tools=8.0.23 --allow-downgrades
    apt-mark hold mongodb-org mongodb-org-database mongodb-org-server mongodb-org-mongos mongodb-org-tools
    curl -fsSL https://repo.filecloudlabs.com/static/pgp/filecloud.asc | sudo gpg -o /usr/share/keyrings/filecloud.gpg --dearmor
    echo "deb [ arch=amd64 signed-by=/usr/share/keyrings/filecloud.gpg ] https://repo.filecloudlabs.com/apt/ubuntu jammy/filecloud/23.262 main" | sudo tee /etc/apt/sources.list.d/filecloud.list
    apt update -y
    apt install -y apache2 pigz
    apt install -y php8.4 php8.4-bcmath php8.4-cli php8.4-igbinary php8.4-common php8.4-curl php8.4-gd php8.4-gmp php8.4-imap php8.4-intl php8.4-ldap php8.4-mbstring php8.4-memcache php8.4-memcached php8.4-mongodb php8.4-opcache php8.4-readline php8.4-soap php8.4-xml php8.4-xsl php8.4-zip php8.4-sqlite3 php-json libapache2-mod-security2
    apt-get install nodejs=24.14.1-1nodesource1
    ACCEPT_EULA=Y apt install filecloud -y
    


Post-installation

After installation, review the information under Post Installation and perform the relevant actions.

To configure SSL, see Use SSL on Linux.


Optional components

To install Content Search (Solr), see Install Content Search for Linux.

To configure SELinux for FileCloud, see SELinux Policies For FileCloud Installation.

To install Linux in a high availability environment, see the applicable instructions under FileCloud High Availability.


Upgrade

For Linux upgrade instructions, see Upgrade FileCloud on Linux.