-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Install firewalld in Rocky 9 sample script * Install AM pipeline in sample scripts * Restore freshclam wait in Jammy script
- Loading branch information
1 parent
3974f41
commit 861b0db
Showing
4 changed files
with
45 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,6 +43,7 @@ sudo service elasticsearch restart | |
sudo systemctl enable elasticsearch | ||
|
||
sudo service clamav-freshclam restart | ||
sleep 120s | ||
sudo service clamav-daemon start | ||
sudo service gearman-job-server restart | ||
sudo service archivematica-mcp-server start | ||
|
@@ -71,3 +72,22 @@ sudo -u archivematica bash -c " \ | |
--api-key="THIS_IS_THE_SS_APIKEY" \ | ||
--superuser | ||
"; | ||
|
||
sudo -u archivematica bash -c " \ | ||
set -a -e -x | ||
source /etc/default/archivematica-dashboard || \ | ||
source /etc/sysconfig/archivematica-dashboard \ | ||
|| (echo 'Environment file not found'; exit 1) | ||
cd /usr/share/archivematica/dashboard | ||
/usr/share/archivematica/virtualenvs/archivematica/bin/python manage.py install \ | ||
--username="admin" \ | ||
--password="archivematica" \ | ||
--email="[email protected]" \ | ||
--org-name="test" \ | ||
--org-id="test" \ | ||
--api-key="THIS_IS_THE_SS_APIKEY" \ | ||
--ss-url="http://localhost:8000" \ | ||
--ss-user="admin" \ | ||
--ss-api-key="THIS_IS_THE_SS_APIKEY" \ | ||
--site-url="http://localhost" | ||
"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,6 +107,9 @@ sudo -u root systemctl start clamd@scan | |
sudo -u root systemctl restart archivematica-dashboard | ||
sudo -u root systemctl restart archivematica-mcp-server | ||
|
||
sudo -u root yum install -y firewalld | ||
sudo -u root systemctl start firewalld | ||
|
||
sudo firewall-cmd --add-port=81/tcp --permanent | ||
sudo firewall-cmd --add-port=8001/tcp --permanent | ||
sudo firewall-cmd --reload | ||
|
@@ -124,3 +127,22 @@ sudo -u archivematica bash -c " \ | |
--api-key="THIS_IS_THE_SS_APIKEY" \ | ||
--superuser | ||
"; | ||
|
||
sudo -u archivematica bash -c " \ | ||
set -a -e -x | ||
source /etc/default/archivematica-dashboard || \ | ||
source /etc/sysconfig/archivematica-dashboard \ | ||
|| (echo 'Environment file not found'; exit 1) | ||
cd /usr/share/archivematica/dashboard | ||
/usr/share/archivematica/virtualenvs/archivematica/bin/python manage.py install \ | ||
--username="test" \ | ||
--password="test" \ | ||
--email="[email protected]" \ | ||
--org-name="test" \ | ||
--org-id="test" \ | ||
--api-key="THIS_IS_THE_SS_APIKEY" \ | ||
--ss-url="http://localhost4:7500" \ | ||
--ss-user="test" \ | ||
--ss-api-key="THIS_IS_THE_SS_APIKEY" \ | ||
--site-url="http://localhost:81" | ||
"; |