Installation of FileCloud on Linux Using the Repository

  • Beginning in FileCloud 23.1, Linux installation and upgrades moved to a new repository system.
    The OS’s we currently support are:
    Ubuntu 22.04 LTS
    RHEL 9.x

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

If the 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.

MongoDB 5.0 or above requires use of the AVX instruction set, which is available on select Intel and AMD processors.
If your CPU doesn't have the AVX instruction set, MongoDB 6 will not run. 

To check whether your CPU has the instruction set, run:

#lscpu | grep -i avx"

Installation instructions for each operating system

Installation for Ubuntu 22.04 LTS

Enter the following commands:

curl -fsSL https://pgp.mongodb.com/server-6.0.asc | sudo gpg -o /usr/share/keyrings/mongodb-server-6.0.gpg --dearmor
curl -fsSL https://repo.filecloudlabs.com/static/pgp/filecloud.asc | sudo gpg -o /usr/share/keyrings/filecloud.gpg --dearmor
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-6.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/6.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-6.0.list
echo "deb [ arch=amd64 signed-by=/usr/share/keyrings/filecloud.gpg ] https://repo.filecloudlabs.com/apt/ubuntu jammy/filecloud/23.1 main" | sudo tee /etc/apt/sources.list.d/filecloud.list
 
 apt-get update -y

apt-get install apache2 mongodb-org pigz -y
apt install -y --no-install-recommends php8.2*
ACCEPT_EULA=Y  apt-get install filecloud -y

Installation for RHEL 9

Enter the following commands:

dnf module disable httpd -y
dnf module disable php -y


cat <<EOF > /etc/yum.repos.d/filecloud-23.1.repo
[filecloud-23.1]
name=FileCloud 23.1
baseurl=https://repo.filecloudlabs.com/yum/redhat/\$releasever/filecloud/23.1/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://repo.filecloudlabs.com/static/pgp/filecloud.asc
module_hotfixes=true
EOF

cat <<EOF > /etc/yum.repos.d/mongodb-org-6.0.repo
[mongodb-org-6.0]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/\$releasever/mongodb-org/6.0/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://www.mongodb.org/static/pgp/server-6.0.asc
EOF

yum update -y
yum install yum-utils -y
yum-config-manager --enable filecloud-23.1
yum install mongodb-org -y

ACCEPT_EULA=Y yum install filecloud -y