Installation of FileCloud on Linux Using the Repository
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
Pre-installation
If you are not running FileCloud on Ubuntu 22.04 LTS or RHEL9, upgrade to one of these operating systems.
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.
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:
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:
If you are not the root user, switch to the root user account by entering:
Enter the following commands:
apt clean cache
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=7.0.28 mongodb-org-database=7.0.28 mongodb-org-server=7.0.28 mongodb-org-mongos=7.0.28 mongodb-org-tools=7.0.28 --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.253 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
ACCEPT_EULA=Y apt install filecloud -y
Installation for RHEL 9
To install FileCloud on RHEL 9, complete the following steps:
Enter the following commands:
yum clean all
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.253.repo
[filecloud-23.253]
name=FileCloud 23.253
baseurl=https://repo.filecloudlabs.com/yum/redhat/\$releasever/filecloud/23.253/x86_64/
gpgcheck=1
priority=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.253
yum install mongodb-org-7.0.28 mongodb-org-database-7.0.28 mongodb-org-server-7.0.28 mongodb-org-mongos-7.0.28 mongodb-org-tools-7.0.28 -y
yum install openssl -y
ACCEPT_EULA=Y dnf install filecloud -y