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-7.0.asc | sudo gpg -o /usr/share/keyrings/mongodb-server-7.0.gpg --dearmor
echo "deb [ arch=amd64,arm64 signed-by=/usr/share/keyrings/mongodb-server-7.0.gpg ] https://repo.mongodb.org/apt/ubuntu jammy/mongodb-org/7.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-7.0.list
rm -rf /etc/apt/sources.list.d/mongodb-org-6.0.list

apt update -y
apt install -y mongodb-org
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.242 main" | sudo tee /etc/apt/sources.list.d/filecloud.list
apt update -y
apt install -y apache2 pigz
apt install -y php8.3 php8.3-bcmath php8.3-cli php8.3-igbinary php8.3-common php8.3-curl php8.3-gd php8.3-gmp php8.3-imap php8.3-intl php8.3-ldap php8.3-mbstring php8.3-memcache php8.3-memcached php8.3-mongodb php8.3-opcache php8.3-readline php8.3-soap php8.3-xml php8.3-xsl php8.3-zip php8.3-sqlite3 php-json libapache2-mod-security2 
ACCEPT_EULA=Y apt install filecloud -y

Installation for RHEL 9

Enter the following commands:

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

rm -rf /etc/yum.repos.d/filecloud*

cat <<EOF > /etc/yum.repos.d/filecloud-23.242.repo
[filecloud-23.242]
name=FileCloud 23.242
baseurl=https://repo.filecloudlabs.com/yum/redhat/\$releasever/filecloud/23.242/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-7.0.repo
[mongodb-org-7.0]
name=MongoDB Repository
baseurl=https://repo.mongodb.org/yum/redhat/\$releasever/mongodb-org/7.0/x86_64/
gpgcheck=1
enabled=1
gpgkey=https://pgp.mongodb.com/server-7.0.asc
EOF

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

ACCEPT_EULA=Y yum install filecloud -y