This file contains hidden or 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
| #!/bin/bash | |
| apt-get update | |
| apt-get upgrade -y | |
| # Install Oracle JDK 8 | |
| apt-get install -y default-jdk software-properties-common curl wget unzip | |
| add-apt-repository ppa:webupd8team/java | |
| apt-get update | |
| echo oracle-java8-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections | |
| apt-get install -y oracle-java8-installer | |
| echo 'JAVA_HOME="/usr/lib/jvm/java-8-oracle"' >> /etc/environment |
This file contains hidden or 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
| [Unit] | |
| Description=Alfresco ECM Repository | |
| After=network.target mysql.service | |
| [Service] | |
| Type=forking | |
| ExecStart=/opt/alfresco/alfresco.sh start | |
| ExecReload=/opt/alfresco/alfresco.sh restart | |
| ExecStop=/opt/alfresco/alfresco.sh stop | |
| User=alfresco |
This file contains hidden or 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 hosts file is brought to you by Dan Pollock and can be found at | |
| # http://someonewhocares.org/hosts/ | |
| # You are free to copy and distribute this file for non-commercial uses, | |
| # as long the original URL and attribution is included. | |
| #<localhost> | |
| 127.0.0.1 localhost | |
| 127.0.0.1 localhost.localdomain | |
| 255.255.255.255 broadcasthost | |
| ::1 localhost |