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
| /usr/local/share/gems/gems/passenger-4.0.58/buildout/apache2/mod_passenger.so | |
| case $operatingsystem { | |
| CentOS: { | |
| if ! defined (Class ['::passenger']){ | |
| class {'::passenger': | |
| passenger_version => $passenger_version, | |
| package_ensure => $passenger_version, |
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
| pwd:[~]: aws s3api head-object --bucket elasticbeanstalk-bucket-name --key foo.zip | |
| { | |
| "AcceptRanges": "bytes", | |
| "ContentType": "application/x-zip", | |
| "LastModified": "Tue, 08 Nov 2016 15:28:46 GMT", | |
| "ContentLength": 174862, | |
| "ETag": "\"02e11bbb865a535196dc3c2f7cad94c5\"", | |
| "Metadata": {} | |
| } | |
| pwd:[~]: md5 foo.zip |
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
| SELECT pg_database.datname, | |
| pg_size_pretty(pg_database_size(pg_database.datname)) AS size | |
| FROM pg_database; |
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
| for x in `gem list --no-versions`; do gem uninstall $x -a -x -I; done |
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
| #.ebextensions/01-memorymon.config | |
| packages: | |
| yum: | |
| perl-Switch: [] | |
| perl-DateTime: [] | |
| perl-Sys-Syslog: [] | |
| container_commands: | |
| 00download: | |
| command: "wget http://ec2-downloads.s3.amazonaws.com/cloudwatch-samples/CloudWatchMonitoringScripts-v1.1.0.zip" |
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
| Fedora Backup: | |
| curl -v -X POST http://localhost:8080/fedora/rest/fcr:backup | |
| (see catalina.out for backup location) | |
| Fedora Restore: | |
| curl -v -X POST -d "[path/to/backup/location]" http://localhost:8080/fedora/rest/fcr:restore |
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
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteCond %{HTTP:X-Forwarded-Proto} !https | |
| RewriteRule !/status https://%{SERVER_NAME}%{REQUEST_URI} [L,R] | |
| </IfModule> |
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
| INFO 19:20:06.525 (ModeShapeRepositoryFactoryBean) Using repo config (classpath): file:/cul/app/tomcat/aws-110-046.internal.library.cornell.edu/webapps/fedora/WEB-INF/classes/config/minimal-default/repository.json | |
| INFO 19:20:06.533 (DefaultPropertiesLoader) Loading properties | |
| INFO 19:20:06.534 (DefaultPropertiesLoader) com.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean.default.objectStoreDir = /cul/data/fedora/com.arjuna.ats.arjuna.common.ObjectStoreEnvironmentBean.default.objectStoreDir | |
| INFO 19:20:06.534 (DefaultPropertiesLoader) com.arjuna.ats.arjuna.objectstore.objectStoreDir = /cul/data/fedora/com.arjuna.ats.arjuna.objectstore.objectStoreDir | |
| INFO 19:20:06.534 (DefaultPropertiesLoader) fcrepo.ispn.cache = /cul/data/fedora/fcrepo.ispn.cache | |
| INFO 19:20:06.534 (DefaultPropertiesLoader) fcrepo.ispn.binary.cache = /cul/data/fedora/fcrepo.ispn.binary.cache | |
| INFO 19:20:06.534 (DefaultPropertiesLoader) fcrepo.binary.directory = /cul/data/fedora/fcrepo.binary.directory | |
| INFO 19:20:06.535 (DefaultPropertiesLoader |
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
| Sep 09, 2016 9:17:49 AM org.apache.catalina.core.StandardEngine startInternal | |
| INFO: Starting Servlet Engine: Apache Tomcat/7.0.42 | |
| Sep 09, 2016 9:17:49 AM org.apache.catalina.startup.HostConfig deployWAR | |
| INFO: Deploying web application archive /cul/app/tomcat/sf-lib-dig-020.serverfarm.cornell.edu/webapps/fedora.war | |
| Sep 09, 2016 9:18:00 AM org.apache.catalina.core.ApplicationContext log | |
| INFO: Spring WebApplicationInitializers detected on classpath: [org.glassfish.jersey.server.spring.SpringWebApplicationInitializer@69e58aeb] | |
| Sep 09, 2016 9:18:00 AM org.apache.catalina.core.ApplicationContext log | |
| INFO: Initializing Spring root WebApplicationContext | |
| 09:18:00.362 [localhost-startStop-1] INFO o.s.web.context.ContextLoader - Root WebApplicationContext: initialization started | |
| 09:18:00.447 [localhost-startStop-1] DEBUG o.s.w.c.s.StandardServletEnvironment - Adding [servletConfigInitParams] PropertySource with lowest search precedence |
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
| INFO: Initializing ProtocolHandler ["ajp-bio-8009"] | |
| Sep 08, 2016 3:38:25 PM org.apache.coyote.AbstractProtocol init | |
| INFO: Initializing ProtocolHandler ["http-bio-8080"] | |
| Sep 08, 2016 3:38:25 PM org.apache.catalina.startup.Catalina load | |
| INFO: Initialization processed in 560 ms | |
| Sep 08, 2016 3:38:25 PM org.apache.catalina.core.StandardService startInternal | |
| INFO: Starting service Catalina | |
| Sep 08, 2016 3:38:25 PM org.apache.catalina.core.StandardEngine startInternal | |
| INFO: Starting Servlet Engine: Apache Tomcat/7.0.42 | |
| Sep 08, 2016 3:38:25 PM org.apache.catalina.startup.HostConfig deployWAR |