Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ymauray/mrp
https://github.com/ymauray/mrp
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/ymauray/mrp
- Owner: ymauray
- License: gpl-2.0
- Created: 2015-07-27T22:30:53.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-05T04:50:25.000Z (over 9 years ago)
- Last Synced: 2024-10-16T18:41:15.367Z (3 months ago)
- Language: CSS
- Size: 6.48 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mrp
Install git
Install gradle
Install Node and npm
Update node and npm to the latest stable version :
$ sudo npm install -g n
$ sudo n stableInstall bower :
$ sudo npm install -g bower
----Get the source code :
$ git clone https://github.com/ymauray/mrp.git
$ cd mrp
Get the javascript components :$ bower install
----http://stackoverflow.com/questions/13956651/externalizing-tomcat-webapp-config-from-war-file
----
Install Apache 2 modules :
$ sudo a2enmod ssl
$ sudo a2enmod proxy
$ sudo a2enmod proxy_httpAssuming the hostname is "www.myhost.com" and the application is deployed on Tomcat under "/myapp" context, configure Apache virtual host :
ServerName www.myhost.com
ServerAlias myhost.com
ServerSignature off
Redirect / https://www.myhost.com
ServerName www.myhost.com
ServerAlias myhost.com
ServerSignature off
SSLEngine on
SSLProtocol all -SSLv2
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM
SSLCertificateFile /etc/ssl/myhost.com.crt
SSLCertificateKeyFile /etc/ssl/myhost.com.key
ProxyPass / http://localhost:8080/myapp/
ProxyPassReverse / http://localhost:8080/myapp/
ErrorLog ${APACHE_LOG_DIR}/myapp/error.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/myapp/access.log combined
To generate self signed certificates for "www.myhost.com", valid 10 years :
$ sudo openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout /etc/ssl/myhost.com.key -out /etc/ssl/myhost.com.crt
Run and enjoy !