Create filecloud.sh

This commit is contained in:
RomanNum3ral 2024-02-28 12:15:56 -05:00 committed by GitHub
parent 9e0efcbea5
commit 3d8e98c781
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 15 additions and 0 deletions

15
filecloud.sh Normal file
View File

@ -0,0 +1,15 @@
sudo curl -fsSL https://pgp.mongodb.com/server-6.0.asc | sudo gpg -o /usr/share/keyrings/mongodb-server-6.0.gpg --dearmor
sudo curl -fsSL https://repo.filecloudlabs.com/static/pgp/filecloud.asc | sudo gpg -o /usr/share/keyrings/filecloud.gpg --dearmor
sudo 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
sudo 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
sudo apt-get update -y
sudo apt-get install apache2 mongodb-org pigz -y
sudo apt install -y --no-install-recommends php8.2*
sduo ACCEPT_EULA=Y apt-get install filecloud -y