Systemd Unit file located at
/etc/systemd/system/acs.service
[Unit]
Description=Alfresco Content Services (ACS)| #!/bin/bash | |
| # This scripts enabled /tmp as RAM disc | |
| function checkTmpDirectoryStatus(){ | |
| echo "Check your /tmp directory" | |
| df -h /tmp | |
| echo "" | |
| echo "Check status of systemd tmp.mount" | |
| sudo systemctl status tmp.mount | |
| } |
| #!/bin/bash | |
| echo "$(date +"%Y-%m-%d %H:%M:%S,%3N") - This Script automatically cleanups the nodes underneath Lost & Found folder" | |
| # Variables: | |
| ALFRESCO_HOST_URL='https://localhost:8443' | |
| AUTH_PASS="YWRtaW46YWRtaW4=" | |
| LOST_N_FOUND_FOLDER_NODE_ID="2f849cd8-9737-477d-9584-1af99a3b4b0e" | |
| # Optional Variables | |
| MAX_ITEMS=1000 |
sudo apt install goaccess
| # Basis Admin Queries | |
| # based on https://docs.alfresco.com/search-services/latest/admin/monitor/#unindexed-transactions | |
| ## Solr Summary: | |
| http://localhost:8983/solr/admin/cores?action=SUMMARY&wt=xml | |
| or | |
| http://localhost:8983/solr/admin/cores?action=SUMMARY&wt=json | |
| ## Solr Report: | |
| http://localhost:8983/solr/admin/cores?action=REPORT&wt=xml |
| #!/bin/bash | |
| while read -r line || [[ -n $line ]]; | |
| do | |
| # exlucde lines starting with a '#' character | |
| if [[ ! $line =~ ^\# ]]; then | |
| host "$line" | |
| fi | |
| done < resolve_hosts.txt | awk '{print($1 " --> "$4)}'; |
| #!/bin/bash | |
| echo "free -m:" | |
| free -m | |
| echo " " | |
| echo "------" | |
| echo "sysctl vm.swappiness :" | |
| sysctl vm.swappiness |
| #!/bin/bash | |
| INTERVAL=${1:-5} | |
| COUNT=${2:-59} | |
| today=`date +%Y-%m-%d` | |
| sar -u $INTERVAL $COUNT >> ~/log/sarstat-${today}.out |
| #!/bin/bash | |
| # This is a Script to automatically open the applications and webpages I need | |
| # for daily work and it places them on the correct linux workspace | |
| # I took some code & ideas from: | |
| # https://github.com/lu0/dotfiles_linuxMint/blob/master/scripts/startup_session.sh | |
| # | |
| # Author: Alexander Seitz | |
| # Repo: https://gist.github.com/aitseitz | |
| # |
| <?xml version='1.0' encoding='utf-8'?> | |
| <Context crossContext="true" docBase="{{ acs_home }}/ecm_war_delivery/alfresco.war"> | |
| <Resources cacheMaxSize="{{ tomcat_resource_cache }}" cacheObjectMaxSize="1024"> | |
| <PostResources base="${catalina.base}/../modules/platform" | |
| className="org.apache.catalina.webresources.DirResourceSet" | |
| webAppMount="/WEB-INF/lib"/> | |
| </Resources> | |
| </Context> |