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

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 6.0 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"

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

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.232 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.232.repo
[filecloud-23.232]
name=FileCloud 23.232
baseurl=https://repo.filecloudlabs.com/yum/redhat/\$releasever/filecloud/23.232/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://pgp.mongodb.com/server-6.0.asc
EOF

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

ACCEPT_EULA=Y yum install filecloud -y