Se#ng up your mul.- engine environment Apache, Railo and ColdFusion

Size: px
Start display at page:

Download "Se#ng up your mul.- engine environment Apache, Railo and ColdFusion"

Transcription

1 Se#ng up your mul.- engine environment Apache, Railo and ColdFusion Presented by Gavin Pickin Slides: Website:

2 Introduc)on Follow along with resources from h6p://gpickin.com/cfo2014/ Lots to cover today, so lets get moving. If you want to find out more about me, my website has more than enough informa)on

3 Agenda Why would you want a mul)- engine environment? Overview of How to Setup Mul)ple Engines with Apache Which versions of ColdFusion 9, 10, 11 Beta

4 Why would you want a mul) engine environment? Not all servers are running the same CF Engine. You might need to support mul)ple versions / plauorms. Migra)on tes)ng for versions, and or plauorms, CF vs Railo

5 Why would you want a mul) engine environment? cont Running mul)ple sites out of CF Root directory using subfolders has its issues Shared mappings means less flexibility in which framework versions etc you use Your code and paths have to allow for subfolders Using port numbers means you have to remember more

6 Why Apache Apache is supported on Linux, Windows and Mac OSX Cross plauorm + text configura)on Apache is a tried and true, trusted Web Server Apache can act as your Controller and pass the requests to the appropriate engine

7 Mul) Engine Overview

8 Apache Configura)on

9 Install + Configure Apache View my Presenta)on Site for Links and resources Ac)vate VirtualHost by Uncommen)ng NameVirtualHost in h6pd.conf or virts.conf Use Include to point to central configura)on folder.

10 Central Config Folder Keep all your ever changing files together in one loca)on for ease of access, git version control, and automa)on op)ons. {WebConf} - Folder Apache - Folder holds all the virts conf files Inc_cf*_module.inc Code that loads the module Inc_cf*_conn.inc Code that uses the module Inc_railo_hosts.xml XML Virtual Hosts for Railo

11 Connec)ng to Apache Whenever you install a CFML Engine, you have the op)on to setup your Web Server to connect. Since we want mul)ple engines, we need to make a backup of our h6pd.conf file, and extract those connec)on sefngs so each site can connect to the engine of its choice. So we ll Install, Connect, Extract Code

12 Installing ColdFusion9, 10, 11 Resources on my Presenta)on Site Highlights Setup as single install (easier configura)on) Use Built In Webserver DO NOT SETUP WEB CONNECTOR WHEN INSTALLING Built in Defaults to 8500 in CF9, and CF10, we ll need to update the ports to avoid clash. CF11 gives you the op)on to select port during install.

13 Connec)ng CF* to Apache Highlights ColdFusion usually creates a backup file, but I make one beforehand just in case. Depending on your OS, it is pre6y simple to connect to Apache, Linux you might need to yum more libraries and compile the connector. The connector creates files / folders as well as the sefngs in the h6pd.conf itself.

14 What does CF do when you Connect Lets Diff the Original h6pd.conf and the new Connected h6pd.conf DirectoryIndex now has index.cfm added Creates a Module, and includes configura)on to Load the Module Includes the configura)on op)ons to allow any website on the server to server cfml files.

15 How do we Extract the Config

16 What do we do aper we Extract Config

17 Extrac)ng CF9 Connector from Apache The connector also created and loads a module for jrun # JRun Sefngs LoadModule jrun_module /{csome}/run)me/lib/ wsconfig/1/mod_jrun22.so

18 Extrac)ng CF9 Connector from Apache Jrun Module Configura)on <IfModule mod_jrun22.c> JRunConfig Verbose false JRunConfig Apialloc false JRunConfig Ignoresuffixmap false JRunConfig Serverstore /{csome}/run)me/lib/wsconfig/1/jrunserver.store JRunConfig Bootstrap :51011 #JRunConfig Errorurl url <op)onally redirect to this URL on errors> #JRunConfig ProxyRetryInterval 600 <number of seconds to wait before trying to reconn$ #JRunConfig ConnectTimeout 15 <number of seconds to wait on a socket connect to a jr$ #JRunConfig RecvTimeout 300 <number of seconds to wait on a socket receive to a jrun $ #JRunConfig SendTimeout 15 <number of seconds to wait on a socket send to a jrun serv$ AddHandler jrun- handler.jsp.jws.cfm.cfml.cfc.cfr.cfswf </IfModule>

19 Extract CF9 Connector Now we need to remove and save the pieces Cut the Load Module code # JRun Sefngs LoadModule jrun_module /{csome}/run)me/lib/wsconfig/1/mod_jrun22.so Save into a file called /{yourwebconf}/inc_cf9_module.inc Cut the remaining connector code and save into file called /{yourwebconf}/inc_cf9_conn.inc

20 Change CF9 Webserver Port Port 8500 will clash with default sefngs for other CF versions, so lets update the port. Edit /{csome}/run)me/servers/coldfusion/ SERVER- INF/jrun.xml Search for 8500 and you ll find the defini)on for the jrun WebServer. Update Port to 8509 ( version) Restart CF9 and its now running on port 8509

21 Change CF9 Webserver Port

22 Extrac)ng CF10 Connector from Apache Lets Diff the Original h6pd.conf and the new Connected h6pd.conf DirectoryIndex now has index.cfm added The connector added a single line to the end of the h6pd.conf file Include "/{apachehome}/mod_jk.conf"

23 Extrac)ng CF10 Connector from Apache # Load mod_jk module LoadModule jk_module "/{cf10home}/config/wsconfig/1/mod_jk.so" # Where to find workers.proper)es JkWorkersFile "/{cf10home}/config/wsconfig/1/workers.proper)es" JkMountFile "/{cf10home}/config/wsconfig/1/uriworkermap.proper)es" # Where to put jk logs JkLogFile "/{cf10home}/config/wsconfig/1/mod_jk.log" # Where to put jk shared memory JkShmFile "/{cf10home}/config/wsconfig/1/jk_shm" # Set the jk log level [debug/error/info] JkLogLevel info # Select the )mestamp log format JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "

24 Extrac)ng CF10 Connector from Apache AddHandler jakarta- servlet.cfm.cfml.cfc.cfr.cfswf Alias /CFIDE "/{cf10home}/cfusion/wwwroot/cfide" <Directory "/{cf10home}/cfusion/wwwroot/cfide"> Op)ons Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> <Files ~ ".hbmxml$"> Order allow,deny Deny from all </Files>

25 Extract CF10 Connector Now we need to remove and save the pieces Delete the Line from the h6pd.conf file include "/{apachehome}/mod_jk.conf Cut the Load Module code from mod_jk.conf From Line # Load mod_jk module To the line JkLogStampFormat "[%a %b %d %H:%M:%S %Y] Save into a file called /{yourwebconf}/inc_cf10_module.inc

26 Extract CF10 Connector Cut the Connector code from mod_jk.conf From line AddHandler jakarta- servlet.cfm.cfml.cfc.cfr.cfswf To line </Files> Save into a file called /{yourwebconf}/inc_cf10_conn.inc

27 Change CF10 Webserver Port Port 8500 will clash with default sefngs for other CF versions, so lets update the port. Edit /{cf10}/cfusion/run)me/conf/server.xml Search for 8500 and you ll find the defini)on for the jrun WebServer. Update Port to 8510 ( version) Restart CF10 and its now running on port 8510

28 Change CF10 Webserver Port

29 Extrac)ng CF11 Connector from Apache Lets Diff the Original h6pd.conf and the new Connected h6pd.conf DirectoryIndex now has index.cfm added The connector added a single line to the end of the h6pd.conf file Include "/{apachehome}/mod_jk.conf Note: this is the same file name as CF10.

30 Extrac)ng CF11 Connector from Apache # Load mod_jk module LoadModule jk_module "/{cf11home}/config/wsconfig/1/mod_jk.so # Where to find workers.proper)es JkWorkersFile "/{cf11home}/config/wsconfig/1/workers.proper)es" JkMountFile "/{cf11home}/config/wsconfig/1/uriworkermap.proper)es" JKIPRestric)onFile "/{cf11home}/config/wsconfig/1/ iprestric)on.proper)es" # Where to put jk logs JkLogFile "/{cf11home}/config/wsconfig/1/mod_jk.log

31 Extrac)ng CF11 Connector from Apache # custom environment variables JkEnvVar REDIRECT_URL JkEnvVar REDIRECT_REMOTE_HOST JkEnvVar REDIRECT_PATH JkEnvVar REDIRECT_QUERY_STRING JkEnvVar REDIRECT_HTTP_ACCEPT JkEnvVar REDIRECT_HTTP_USER_AGENT JkEnvVar REDIRECT_REMOTE_ADDR JkEnvVar REDIRECT_SERVER_NAME JkEnvVar REDIRECT_SERVER_PORT JkEnvVar REDIRECT_SERVER_SOFTWARE

32 Extrac)ng CF11 Connector from Apache # Where to put jk shared memory JkShmFile "/{cf11home}/config/wsconfig/1/jk_shm" # Set the jk log level [debug/error/info] JkLogLevel info # Select the )mestamp log format JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "

33 Extrac)ng CF11 Connector from Apache AddHandler jakarta- servlet.cfm.cfml.cfc.cfr.cfswf DirectoryIndex index.cfm Alias /CFIDE "/{cf11home}/cfusion/wwwroot/cfide" <Directory "/{cf11home}/cfusion/wwwroot/cfide"> Op)ons Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> <Files ~ ".hbmxml$"> Order allow,deny Deny from all </Files>

34 Extract CF11 Connector Now we need to remove and save the pieces Delete the Line from the h6pd.conf file include "/{apachehome}/mod_jk.conf Cut the Load Module code from mod_jk.conf Fromline # Load mod_jk module To line JkLogStampFormat "[%a %b %d %H:%M:%S %Y] Save into a file called /{yourwebconf}/inc_cf11_module.inc

35 Extract CF11 Connector Cut the Connector code from mod_jk.conf From line AddHandler jakarta- servlet.cfm.cfml.cfc.cfr.cfswf To line </Files> Save into a file called /{yourwebconf}/inc_cf11_conn.inc

36 Connec)ng Railo to Apache My guide is only a starter guide. Highlights Depending on your OS, the installer can add the connector for you, but not all installers do. There are several ways to connect to Railo, mod_proxy, mod_cfml which uses Perl, boncode connector, and simple ajp, which I prefer for single and clusters.

37 Railo Serves Files Differently Railo and ColdFusion differ greatly with how the files are served. If you request h6p://localhost/index.cfm and apache s vhost is /www/localhost/ ColdFusion will serve /www/localhost/index.cfm Railo will serve /{railohome}/webapps/root/ index.cfm

38 Tomcat Virtual Hosts Railo uses Tomcat and it maps the passed URI to its own set of Virtual Hosts. ColdFusion s Tomcat is designed to receive this URI and serve the file from Apache s path. There are pro s and con s with flexibility vs simplicity. In short make sure Tomcat s Vhosts match Apache s Vhosts

39 Extrac)ng Railo Connector from Apache Since we manually added the AJP code, we can simple cut the code, and save it into a file. <Proxy *> Allow from </Proxy> ProxyPreserveHost On ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ ajp://localhost:8021/$1$2 Save it into /{yourwebconf}/inc_railo1_conn.inc

40 Bringing It Together Now we have all the pieces, lets configure Apache to use them all. If you have not ac)vated Virtual Hos)ng, you need to turn that on by uncommen)ng NameVirtualHost *:80 This is usually in the main h6pd.conf or / {apachehome}/extra/h6pd- vhosts.conf

41 Enabling Apache Virtual Host

42 Default Virtual Host I usually setup the / localhost in the Vhost file Add all other vhosts in the /{webconf}/apache folder for easy accessibility. Add this line to the bo6om of the h6pd.conf Include /{yourwebconf}/apache/*.conf That is where all the magic happens

43 Lets Create Some Host Files Lets Setup 6 Simple Host Files Railo 1 railo1.local.com.conf ColdFusion9 cf9.local.com.conf ColdFusion10 cf10.local.com.conf ColdFusion11 cf11.local.com.conf

44 Local DNS via Hosts File Edit your host file to add the local DNS railo1.local.com cf9.local.com cf10.local.com cf11.local.com /etc/hosts on Mac / Linux /Windows/System32/etc/hosts on Windows

45 Railo1.local.com Vhost file Create file called railo1.local.com.conf <VirtualHost *:80> ServerAdmin DocumentRoot "/www/_wwwcfo/railo1.local.com/" ServerName railo1.local.com #Include /www/_servers/conf/inc_railo1_conn.inc </VirtualHost>

46 cf9.local.com Vhost file Create file called cf9.local.com.conf <VirtualHost *:80> ServerAdmin DocumentRoot "/www/_wwwcfo/cf9.local.com/" ServerName cf9.local.com #Include /www/_servers/conf/inc_cf9_conn.inc </VirtualHost>

47 cf10.local.com Vhost file Create file called cf10.local.com.conf <VirtualHost *:80> ServerAdmin DocumentRoot "/www/_wwwcfo/cf10.local.com/" ServerName cf10.local.com #Include /www/_servers/conf/inc_cf10_conn.inc </VirtualHost>

48 cf11.local.com Vhost file Create file called cf11.local.com.conf <VirtualHost *:80> ServerAdmin DocumentRoot "/www/_wwwcfo/cf11.local.com/" ServerName cf11.local.com #Include /www/_servers/conf/inc_cf11_conn.inc </VirtualHost>

49 Add Folders and Index Files Create folders for our sites /{websites}/railo1.local.com Create index.html file to know what folder we re in Create index.cfm file to know what folder and engine is running

50 Railo1 s index.html and index.cfm Index.html contains: railo1 Index.cfm contains: <cfoutput> <h1>#cgi.server_name#</h1> <h2>railo1</h2> <cfdump var="#server# > </cfoutput>

51 Lets test our DNS / Apache Hosts Sudo apachectl restart on Mac OSX Service h6pd restart in Linux Windows Restart the service Browse to h6p://cf9.local.com/index.html - see CF9 Browse to h6p://cf9.local.com/index.cfm - see source

52 Lets Startup CF9 Uncomment the include in the vhost Start CF9 & Restart Apache Browse to h6p://cf9.local.com/index.cfm - see Source Why? Inc_cf9_conn.inc refers to mod_jun22.so module, which we haven t loaded, gracefully fails.

53 Lets Startup CF9 Add Module Edit the h6pd.conf and add the following line above the wildcard directory include so it looks like this #Include Modules to Load for CF9 Include /www/_servers/conf/inc_cf9_module.inc #Load Virtual Hosts Include /www/_servers/conf/apache/*.conf

54 Lets Startup CF9 Add Module

55 Lets Startup CF10 Add Module Edit the h6pd.conf and add the following line above the wildcard directory include, below the CF9 Code, so it looks like this #Include Modules to Load for CF10 Include /www/_servers/conf/inc_cf10_module.inc #Load Virtual Hosts Include /www/_servers/conf/apache/*.conf

56 Lets Startup CF10 Uncomment the Include in the vhost Start CF10 & Restart Apache Browse to h6p://cf10.local.com/index.cfm If everything is right, you ll see the dump on the next slide.

57 Cf10.local.com/index.cfm

58 Lets Startup CF11 Wait didn t I say earlier that CF11 and CF10 both run on Tomcat, both with the JK Module? - Yes That s easy though right? No Since the configura)on is different but the module is the same, you can t just include both. Solu)on? Instances

59 CF10 and CF11 Instances Since CF11 is using the newest version of the JK Module, we can use most of the sefngs. CF10 needs certain sefngs, as does CF11 Most importantly, how does the JK Module know which Engine to call? Worker.proper)es

60 Worker.proper)es and Instances Worker.proper)es normally just has 1 simple set of instruc)ons. List of workers Connec)on type Host Port Max Reuse Connec)ons

61 Worker.proper)es and Instances To make CF10 and CF11 work within the same JK Module, we need to update the instance names, so they re both not cfusion Lets start with CF10 First, then we ll do CF11s, then we ll create a mul)- worker file with both instances.

62 Update CF10 Instance Name Update worker.proper)es /{cf10}/config/wsconfig/1/worker.proper)es Update uriworkermap.proper)es /{cf10}/config/wsconfig/1/uriworkermap.proper)es Update instances.xml /{cf10}/config/instances.xml

63 CF10 old workers.proper)es worker.list=cfusion worker.cfusion.type=ajp13 worker.cfusion.host=localhost worker.cfusion.port=8012 worker.cfusion.max_reuse_connec)ons=250

64 CF10 new workers.proper)es worker.list=cfusion10 worker.cfusion10.type=ajp13 worker.cfusion10.host=localhost worker.cfusion10.port=8030 worker.cfusion10.max_reuse_connec)ons=250

65 CF10 old uriworkermap.proper)es /cfformgateway/* = cfusion /CFFormGateway/* = cfusion /flex2gateway/* = cfusion /flex2gateway = cfusion /cffileservlet/* = cfusion /CFFileServlet/* = cfusion /cfform- internal/* = cfusion /flashservices/gateway/* = cfusion /flex- internal/* = cfusion /rest/* = cfusion /*.cfml/* = cfusion /*.mxml = cfusion. etc

66 CF10 new uriworkermap.proper)es /cfformgateway/* = cfusion10 /CFFormGateway/* = cfusion10 /flex2gateway/* = cfusion10 /flex2gateway = cfusion10 /cffileservlet/* = cfusion10 /CFFileServlet/* = cfusion10 /cfform- internal/* = cfusion10 /flashservices/gateway/* = cfusion10 /flex- internal/* = cfusion10 /rest/* = cfusion10 /*.cfml/* = cfusion10 /*.mxml = cfusion10

67 CF10 old instances.xml <servers> <server> <name>cfusion</name> <directory>/www/_servers/coldfusion10/cfusion</directory> </server> </servers>

68 CF10 new instances.xml <servers> <server> <name>cfusion10</name> <directory>/www/_servers/coldfusion10/cfusion</directory> </server> </servers> Note: just the instance name, not the path.

69 CF11 Instance Name Updates To make CF10 and CF11 work within the same JK Module, we need to update the instance names, so they re both not cfusion Lets start with CF10 First, then we ll do CF11s, then we ll create a mul)- worker file with both instances.

70 CF11 old worker.proper)es worker.list=cfusion worker.cfusion.type=ajp13 worker.cfusion.host=localhost worker.cfusion.port=8014 worker.cfusion.max_reuse_connec)ons=250

71 CF11 new worker.proper)es worker.list=cfusion11 worker.cfusion11.type=ajp13 worker.cfusion11.host=localhost worker.cfusion11.port=8031 worker.cfusion11.max_reuse_connec)ons=250

72 CF11 old uriworkermap.proper)es /cfformgateway/* = cfusion /CFFormGateway/* = cfusion /flex2gateway/* = cfusion /flex2gateway = cfusion /cffileservlet/* = cfusion /CFFileServlet/* = cfusion /cfform- internal/* = cfusion /flashservices/gateway/* = cfusion /flex- internal/* = cfusion you get the idea

73 CF11 new uriworkermap.proper)es /cfformgateway/* = cfusion11 /CFFormGateway/* = cfusion11 /flex2gateway/* = cfusion11 /flex2gateway = cfusion11 /cffileservlet/* = cfusion11 /CFFileServlet/* = cfusion11 /cfform- internal/* = cfusion11 /flashservices/gateway/* = cfusion11 /flex- internal/* = cfusion11 you get the idea

74 CF11 old instances.xml <servers> <server> <name>cfusion</name> <directory>/www/_servers/coldfusion11beta/cfusion</ directory> </server> </servers>

75 CF11 new instances.xml <servers> <server> <name>cfusion11</name> <directory>/www/_servers/coldfusion11beta/cfusion</ directory> </server> </servers>

76 New Mul)- Worker File Now we have all the files updated, we need to combine the worker file, which allows us to direct calls to the appropriate instance. Copy the two files into one, remove the extra worker.list line, and make the remaining one a comma separated list of instances.

77 CF11 new worker.proper)es worker.list=cfusion10,cfusion11 worker.cfusion10.type=ajp13 worker.cfusion10.host=localhost worker.cfusion10.port=8030 worker.cfusion10.max_reuse_connec)ons=250 worker.cfusion11.type=ajp13 worker.cfusion11.host=localhost worker.cfusion11.port=8031 worker.cfusion11.max_reuse_connec)ons=250

78 Upda)ng h6pd to use new Worker File Instead of using CF10 or CF11 s module file we created earlier, we re going to use a hybrid I created. (next slide) It points to all of the CF11 module sefngs, except the JKWorkersFile is our new Workerfile All the CF10 and CF11 specific stuff has been removed and we ll add to the connec)on include

79 New Mul) Instance Worker File # Load mod_jk module LoadModule jk_module "/{cf11home}/config/wsconfig/1/mod_jk.so" # Where to find workers.proper)es JkWorkersFile "/{yourwebconf}/workers.proper)es" JkMountFile "/{cf11home}/config/wsconfig/1/uriworkermap.proper)es" JKIPRestric)onFile "/{cf11home}/config/wsconfig/1/iprestric)on.proper)es" # Where to put jk logs JkLogFile "/{cf11home}/config/wsconfig/1/mod_jk.log # Where to put jk shared memory JkShmFile "/{cf11home}/config/wsconfig/1/jk_shm"

80 Update CF10 s Connec)on Include Since all of the JK Module is loaded is CF11, how can we tell Apache and JK to use CF10 s instance for this site We override the JKMountFile. This sets this sites extensions, to an instance name cfusion10 Add this line to the top of the inc_cf10_conn.inc file JkMountFile "/{cf10home}/config/wsconfig/1/ uriworkermap.proper)es"

81 Update CF10 s Connec)on Include Add this line to the top of the inc_cf10_conn.inc file above the Add Handler line JkMountFile "/{cf10home}/config/wsconfig/1/ uriworkermap.proper)es # Set the jk log level [debug/error/info] JkLogLevel info # Select the )mestamp log format JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "

82 Update CF11 s Connec)on Include Even though all of the JK Module is loaded is CF11, we s)ll need to tell Apache and JK to use CF11 s Mount File, and instance cf11. CF11 has a lot of other sefngs, so we ll add those on a site by site basis by adding it to the top of the inc_cf11_conn.inc file above the add handler Some of these sefngs could be shared, but are separated for flexibility.

83 Update CF11 s Connec)on Include JkMountFile "/{cf11home}/config/wsconfig/1/ uriworkermap.proper)es # custom environment variables JkEnvVar REDIRECT_URL JkEnvVar REDIRECT_REMOTE_HOST JkEnvVar REDIRECT_PATH JkEnvVar REDIRECT_QUERY_STRING JkEnvVar REDIRECT_HTTP_ACCEPT JkEnvVar REDIRECT_HTTP_USER_AGENT JkEnvVar REDIRECT_REMOTE_ADDR

84 Update CF11 s Connec)on Include cont JkEnvVar REDIRECT_SERVER_NAME JkEnvVar REDIRECT_SERVER_PORT JkEnvVar REDIRECT_SERVER_SOFTWARE # Set the jk log level [debug/error/info] JkLogLevel info # Select the )mestamp log format JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "

85 Update CF11 s Connec)on Include Replace the Apache CF10 Module include #Include Modules to Load for CF10 Include /www/_servers/conf/inc_cf10_module.inc With the new Mul) Purpose Module #Include Modules to Load for CF10+CF11 Include /www/_servers/conf/inc_cfmul)_module.inc Restart Apache & Verify CF10 Start CF11 and Verify CF11

86 Verify CF11 Started and Works

87 ColdFusion Done Railo s Turn Since Railo s AJP method just runs via AJP port, we just need to make sure the port is free. We have used Version for AJP CF10:8030 CF11:8031 Railo1:8021

88 ColdFusion Done Railo s Turn inc_railo1_conn.inc is set to 8021 already <Proxy *> Allow from </Proxy> ProxyPreserveHost On ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ ajp://localhost: 8021/$1$2 Start Railo and Verify

89 Verify Railo

90 What s wrong with Railo? That s not the right confirma)on page, whats wrong with Railo? Remember the vhosts having to match? This is what I meant Apache sees an index.cfm, Railo serves index.cfm, but from its vhost which is located at / {railo1home}/webapps/root/index.cfm

91 Solu)on? Tomcat Hosts in Server.xml Add / Edit the appropriate hosts in Catalina/ Tomcat s Server.xml file. Tag structure - Server > Service > Engine Host Hosts have following a6ributes (shown in default file) Name Just like main URL in apache vhost railo1.local.com appbase this is similar to your project with web and non web accessible I usually leave this as webapps (rela)ve or absolute) unpackwars op)onal not covered autodeploy op)onal not covered

92 Solu)on? Tomcat Hosts in Server.xml Tomcat is a fully fledged Web Server, so Hosts like vhosts can contain many other tags and sefngs, just like Apaches. A Value, shown in the default Server.xml is setup for logging We re interested in just the basics Host Name A6ribute Context tag Child of the Host tag <Context path="" docbase="/{webs}/railo1.local.com ></Context>

93 Host Contexts The default context is ROOT This means cfml is served out of / {railo1home}/webapps/root/ - note the caps Path= sets the webroot of the site Overriding the ROOT context allows you to use rela)ve or full path loca)ons for docbase.

94 Host Contexts Cont You can set context to include other mappings, just like ColdFusion/Railo CFML mappings. <Context path= /coldbox" docbase= / frameworks/coldbox ></Context> There are lots of a6ributes for you to research for homework.

95 Railo1 s Virtual Host Add right below localhost host in /{railo1home}/tomcat/conf/server.xml <Host name= railo1.local.com" appbase="webapps > <Context path="" docbase="/{webs}/railo1.local.com ></ Context> </Host>

96 Restart Railo1 and Verify

97 Wow, that was easy NOT Few things to remember with mul) engine Server.xml ports must be unique Shutdown port 8006 default I use version Webserver port 8500 default I use version AJP port 8009 default - I use version You open have to resolve clashes, it is much easier with a system.

98 Do we have )me for Railo Clusters? I have some slides on this on my presenta)on site Hit me up later if you want to talk more.

99 Too many hosts One of the complaints / confusions with Railo is the mul)ple hosts required in Apache and Tomcat. Tomcat does have a Host Manager Automa)on? One big file like that is messy Is there an easier way?

100 Include your Hosts Like Apache, you can include your hosts, so every)me you edit your hosts, you are not messing with your important server.xml file. Server.xml file is xml, so you can use an en)ty include, and include a single xml file. This allows you to automate or manually edit an external file, and Tomcat will parse it each restart.

101 Your Hosts Include File Its just simple XML <Host name="railo2.local.com" appbase="webapps"> <Context path="" docbase="/{webs}/railo2.local.com"></context> </Host> <Host name="railocluster.local.com" appbase="webapps"> <Context path="" docbase="/{webs}/railocluster.local.com"></context> </Host> Save it as /{yourwebconfs}/inc_railo1_hosts.xml

102 How to Include the File In your server.xml file, right under the opening xml tag, add an en)ty tag <?xml version='1.0' encoding='uu- 8'?> <!DOCTYPE server- xml [ <!ENTITY vhosts- config SYSTEM "file:///{yourwebconfs}/ inc_railo2_hosts.xml"> ]> That loads that external xml into a variable (en)ty) called vhosts- config

103 How to Include the File Cont Now we have the variable (en)ty) loaded, scroll down to your hosts, replace the original XML host tags with the following &vhosts- config; Now, when Tomcat starts, it will load the external xml into that variable and it will include that xml wherever that variable is used.

104 Automate to the Cows Come Home Now you have your Apache and Tomcat Conf files in a easy to reach, simple format, you can automate all your site crea)on. Remember, Apache and Tomcat need to be restarted if you change their Conf files, before they take effect Railo star)ng slow? More Hosts, slower the start Fix here h6p://tonyjunkes.com/blog/fixing- slow- railo- startup- running- on- tomcat- 8

105 My own CFML Web Manager Tool I have been working on a tool to help me manage my dev machines, if you want to try it out, you can get it from github. h6ps://github.com/gpickin/cfmlwebmanager If we have )me I will show it now, or hit me up later in the conference.

106 The End Thanks everyone for making it this far We covered lots of content, we moved pre6y quick all of the materials will be on my CFO presenta)on Site: h6p:// Hit me up on Read more on my blog: h6p://gpickin.com

Configuring Multiple Instances of Railo on Linux

Configuring Multiple Instances of Railo on Linux Configuring Multiple Instances of Railo on Linux The purpose of this guide is to explain how to set up multiple instances of Railo on a single instance of Linux. The instances can then be used for redundancy,

More information

DEPLOYING WDK APPLICATIONS ON JBOSS APPLICATION SERVER AND APACHE WEB SERVER VIA MOD_JK PROXY

DEPLOYING WDK APPLICATIONS ON JBOSS APPLICATION SERVER AND APACHE WEB SERVER VIA MOD_JK PROXY White Paper DEPLOYING WDK APPLICATIONS ON JBOSS APPLICATION SERVER AND APACHE WEB SERVER VIA MOD_JK PROXY Abstract This white paper explains how to deploy WDK based applications in JBOSS application server.

More information

Locking Down ColdFusion Pete Freitag, Foundeo Inc. foundeo

Locking Down ColdFusion Pete Freitag, Foundeo Inc. foundeo Locking Down ColdFusion Pete Freitag, Foundeo Inc. foundeo Who am I? Over 10 years working with ColdFusion Owner of Foundeo Inc a ColdFusion consulting & Products company Author, Blogger, and Twitterer?

More information

CodeCharge Studio Java Deployment Guide Table of contents

CodeCharge Studio Java Deployment Guide Table of contents CodeCharge Studio Java Deployment Guide Table of contents CodeCharge Studio requirements for Java deployment... 2 Class Path requirements (compilation-time and run-time)... 3 Tomcat 4.0 deployment... 4

More information

Apache Httpd Manual Conf Virtualhost Redirect

Apache Httpd Manual Conf Virtualhost Redirect Apache Httpd Manual Conf Virtualhost Redirect Most linux distributions setup Apache with set of Note that it used to be named httpd.conf, if you In an Apache config file you will likely have a VirtualHost

More information

Setting up a ColdFusion Workstation

Setting up a ColdFusion Workstation Setting up a ColdFusion Workstation Draft Version Mark Mathis 2000 all rights reserved mark@teratech.com 2 Setting up a ColdFusion workstation Table of Contents Browsers:...5 Internet Explorer:...5 Web

More information

MODEM on HP-UX. Guy Van Sanden.

MODEM on HP-UX. Guy Van Sanden. MODEM on HP-UX Guy Van Sanden gvsanden@sckcen.be MODEM on HP-UX by Guy Van Sanden This document describes how to set up MODEM on HP-UX Table of Contents 1. Introduction...1 2. Apache and Tomcat...2 2.1.

More information

macos High Sierra Apache Setup: Multiple PHP Versions First part in a multi-part blog series for Mac developers

macos High Sierra Apache Setup: Multiple PHP Versions First part in a multi-part blog series for Mac developers macos 10.13 High Sierra Apache Setup: Multiple PHP Versions First part in a multi-part blog series for Mac developers Andy Miller posted on 10/22/2017 in macos + sierra + apache + homebrew + php 14 mins

More information

Implementing load balancing for PAS for OpenEdge based on Tomcat Load Balancing

Implementing load balancing for PAS for OpenEdge based on Tomcat Load Balancing Version 2 Implementing load balancing for PAS for OpenEdge based on Tomcat Load Balancing Valeriy G. Bashkatov PROGRESS TECHNOLOGIES 2017/NOV 1 Table of Contents 2 INTRODUCTION... 2 3 WHY WE NEED LOAD

More information

Tomcat Load Balancing for Progress Application Server for OpenEdge

Tomcat Load Balancing for Progress Application Server for OpenEdge Tomcat Load Balancing for Progress Application Server for OpenEdge Valery Bashkatov November, 2017 PRAGUE 2017 Good afternoon! My name is Valery Bashkatov. I am working for Progress Technologies company,

More information

Configure Wildcard-Based Subdomains

Configure Wildcard-Based Subdomains Configure Wildcard-Based Subdomains Apache s virtual hosting feature makes it easy to host multiple websites or web applications on the same server, each accessible with a different domain name. However,

More information

Apache Web Server Administration for Windows

Apache Web Server Administration for Windows or tri N s di IO n tio AT uc od pr re U ed AL riz ho ut na EV U is i ib d tie PY oh pr O n C io t bu Apache Web Server Administration for Windows Apache Web Server Administration for Windows (AWS101 version

More information

A PAtCHy server: developed by the Apache group formed 2/95 around by a number of people who provided patch files for NCSA httpd 1.3 by Rob McCool.

A PAtCHy server: developed by the Apache group formed 2/95 around by a number of people who provided patch files for NCSA httpd 1.3 by Rob McCool. Outline q Introduction to Apache httpd web server q Basic Compilation, Installation and Configuration q Apache File system q Apache Logging & Status q Security & Performance Features q Virtual Hosting

More information

Load balancing configuration. Technical specification

Load balancing configuration. Technical specification Technical specification Table of contents Introduction... 3 I. Overview... 3 II. The Apache load balancer... 3 III. Limitations... 3 Prerequisites... 4 Configuration... 5 I. Portal configuration... 6 II.

More information

The WebGUI Runtime Environment. Roy Johnson Plain Black Corporation

The WebGUI Runtime Environment. Roy Johnson Plain Black Corporation The WebGUI Runtime Environment Roy Johnson Plain Black Corporation What is the WRE? All the supporting software required to host WebGUI Apache 2 / Mod_Perl 2 MySQL 5 Supporting Perl Modules AWStats Utilities

More information

Git Source Control: For the Rest of Us. Nolan Erck

Git Source Control: For the Rest of Us. Nolan Erck Git Source Control: For the Rest of Us Nolan Erck About Me Consultant (southofshasta.com) Software Development, Training, Design Tools I use: ColdFusion, C++, Java, jquery, PHP,.NET, HTML5, Android, SQL,

More information

Apache + PHP + MySQL. bdnog November 2017 Dhaka, Bangladesh

Apache + PHP + MySQL. bdnog November 2017 Dhaka, Bangladesh Apache + PHP + MySQL bdnog7 18-22 November 2017 Dhaka, Bangladesh Outline q Introduction to Apache httpd web server q Basic Compilation, Installation and Configuration q Apache File system q Apache Logging

More information

[UNIT 1 <Continued>]: <Understanding Apache>

[UNIT 1 <Continued>]: <Understanding Apache> [UNIT 1 ]: Directives DocumentRoot This directive specifies the root directory of the server s content hierarchy, Syntax DocumentRoot dir Where dir is the directory s

More information

LAMP Stack with VirtualHosts On Centos 6.x

LAMP Stack with VirtualHosts On Centos 6.x LAMP Stack with VirtualHosts On Centos 6.x This article illustrates how to install the Apache Mysql PHP Stack on Centos 6.x. Additionally, with this configuration, you can serve Multiple Domains using

More information

APACHE INSTALLATION & BASIC CONFIGURATION. Thursday, November 8, 12

APACHE INSTALLATION & BASIC CONFIGURATION. Thursday, November 8, 12 APACHE INSTALLATION & BASIC CONFIGURATION OVERVIEW The Apache Webserver ( commonly just called Apache ) is an extremely popular open source web server. Most commonly run on Unix platforms, but also available

More information

EuroGeoSource. EU Information and Policy Support System for Sustainable Supply of Europe with Energy and Mineral Resources WP 5

EuroGeoSource. EU Information and Policy Support System for Sustainable Supply of Europe with Energy and Mineral Resources WP 5 EuroGeoSource EU Information and Policy Support System for Sustainable Supply of Europe with Energy and Mineral Resources Grant Agreement no. 250532 WP 5 Service implementation cookbook egs_wp5_cookbook-v2.1.doc

More information

Bitnami Ruby for Huawei Enterprise Cloud

Bitnami Ruby for Huawei Enterprise Cloud Bitnami Ruby for Huawei Enterprise Cloud Description Bitnami Ruby Stack provides a complete development environment for Ruby on Rails that can be deployed in one click. It includes most popular components

More information

PoWA Documentation. Release Dalibo

PoWA Documentation. Release Dalibo PoWA Documentation Release 1.2.1 Dalibo May 04, 2015 Contents 1 PostgreSQL Workload Analyzer detailled installation guide 3 1.1 Download PoWA from the website................................... 3 1.2

More information

DxR clinician INSTRUCTOR MANUAL STUDENT USER MANUAL TECHNICAL APPENDIX

DxR clinician INSTRUCTOR MANUAL STUDENT USER MANUAL TECHNICAL APPENDIX DxR clinician INSTRUCTOR MANUAL STUDENT USER MANUAL TECHNICAL APPENDIX Contents Browser Requirements...3 Screen Size and Monitor Resolution...3 Sound...3 Uploading Your Media Files to the Server...3 Acceptable

More information

Vagrant and Ansible. Two so2ware tools to create and manage your custom VMs

Vagrant and Ansible. Two so2ware tools to create and manage your custom VMs Vagrant and Ansible Two so2ware tools to create and manage your custom VMs Vagrant and Ansible Highlights Overview on the so2ware tools o Why do you should use them o Install them Details about the configura=on

More information

Apache and... Virtual Hosts ---- aliases mod_rewrite ---- htaccess. 31 st Oct - 4 th Nov Blantyre, Malawi. Dorcas Muthoni.

Apache and... Virtual Hosts ---- aliases mod_rewrite ---- htaccess. 31 st Oct - 4 th Nov Blantyre, Malawi. Dorcas Muthoni. Apache and... Virtual Hosts ---- aliases mod_rewrite ---- htaccess AFNOG Chix 2011 Blantyre, Malawi 31 st Oct - 4 th Nov 2011 Dorcas Muthoni Courtesy: Hervey Allen Very good overview here: What is Apache?

More information

Install WordPress 3.X In Multi Blog / Multi user mode On localhost

Install WordPress 3.X In Multi Blog / Multi user mode On localhost Install WordPress 3.X In Multi Blog / Multi user mode On localhost In this tutorial, we will cover how to setup WordPress as a Multi User /Multi Blog. We ll start by downloading and installing a new version

More information

Melis Platform V2. Front-Office. Create a website. Content: Date Version 2.0

Melis Platform V2. Front-Office. Create a website. Content: Date Version 2.0 4, rue du Dahomey 75011 Paris, France (+33) 972 386 280 Melis Platform V2 Front-Office Create a website Content: This document explains how to create a website using Melis Platform V2. It will go through

More information

CustomLog /var/www/vhosts/example.com/statistics/logs/access_log common

CustomLog /var/www/vhosts/example.com/statistics/logs/access_log common All steps as root, unless mentioned otherwise. First of all, configure your Apache server to use combined, instead of common as log format, in /etc/httpd/conf/httpd.conf. In Section 1: CustomLog logs/access_log

More information

VIRTUAL GPU LICENSE SERVER VERSION AND 5.1.0

VIRTUAL GPU LICENSE SERVER VERSION AND 5.1.0 VIRTUAL GPU LICENSE SERVER VERSION 2018.06 AND 5.1.0 DU-07754-001 _v6.0 through 6.2 July 2018 User Guide TABLE OF CONTENTS Chapter 1. Introduction to the NVIDIA vgpu Software License Server... 1 1.1. Overview

More information

COPYRIGHTED MATERIAL

COPYRIGHTED MATERIAL Introduction xxiii Chapter 1: Apache Tomcat 1 Humble Beginnings: The Apache Project 2 The Apache Software Foundation 3 Tomcat 3 Distributing Tomcat: The Apache License 4 Comparison with Other Licenses

More information

ColdFusion 11 Migration Guide

ColdFusion 11 Migration Guide ColdFusion 11 Migration Guide Adobe Systems Incorporated Version 1.0 31 th Aug 2015 1 Contents Overview... 3 Migration process... 3 Migrating the server (installing latest version of ColdFusion)... 4 What

More information

InCommon CM Extra Agent. InCommon c/o Internet Oakbrook Drive, Suite 300 Ann Arbor MI, 48104

InCommon CM Extra Agent. InCommon c/o Internet Oakbrook Drive, Suite 300 Ann Arbor MI, 48104 InCommon CM Extra Agent InCommon c/o Internet2 1000 Oakbrook Drive, Suite 300 Ann Arbor MI, 48104 Table of Contents 1 Introduction... 3 2 InCommon CM Extra Agent Infrastructure...5 3 InCommon CM Extra

More information

Chef. Saving Time (and Money) With Automated Provisioning Trotter Cashion Hoopla Software

Chef. Saving Time (and Money) With Automated Provisioning Trotter Cashion Hoopla Software Chef Saving Time (and Money) With Automated Provisioning Trotter Cashion Hoopla Software About Me @cashion http://github.com/trotter Where I've Been Eastmedia (2006) Motionbox (2006-2009) Algorithmics

More information

SciELO Web site for Windows Documentation

SciELO Web site for Windows Documentation SciELO Web site for Windows Documentation Release 5.x SciELO April 19, 2016 Contents 1 Installation of SciELO Website on Windows 3 1.1 REQUIREMENTS............................................ 3 1.2 SciELO

More information

Securing Apache Tomcat. AppSec DC November The OWASP Foundation

Securing Apache Tomcat. AppSec DC November The OWASP Foundation Securing Apache Tomcat AppSec DC November 2009 Mark Thomas Senior Software Engineer & Consultant SpringSource mark.thomas@springsource.com +44 (0) 2380 111500 Copyright The Foundation Permission is granted

More information

Linux Network Administration. Apache Web Server COMP1071 Summer 2017

Linux Network Administration. Apache Web Server COMP1071 Summer 2017 Linux Network Administration Apache Web Server COMP1071 Summer 2017 Overview Apache2 is a software package which provides the infrastructure to deliver web services It is flexible, fast, open source, scalable,

More information

Con$nuous Deployment with Docker Andrew Aslinger. Oct

Con$nuous Deployment with Docker Andrew Aslinger. Oct Con$nuous Deployment with Docker Andrew Aslinger Oct 9. 2014 Who is Andrew #1 So#ware / Systems Architect for OpenWhere Passion for UX, Big Data, and Cloud/DevOps Previously Designed and Implemented automated

More information

[ Due: N.A ] [ Points: PRICELESS ] [ Date: 2/9/2016] [ Goings, Jesse ] Computer Network Specialist Center For Arts and Technology College Kelowna BC

[ Due: N.A ] [ Points: PRICELESS ] [ Date: 2/9/2016] [ Goings, Jesse ] Computer Network Specialist Center For Arts and Technology College Kelowna BC [UNIT 1]: This course will be implemented strictly with Linux operating systems Upcoming Topics: MySQL PHP Apache Books required for classes LPICK Foundations of CentOS Apache Apache

More information

Re#ring Your Old Computer. Created by Sherry Surdam

Re#ring Your Old Computer. Created by Sherry Surdam Re#ring Your Old Computer Created by Sherry Surdam Did Pete Wood's informa#ve program on what to look for in a PC or laptop, inspire you to run right out for a new computer? No? Well, with Windows 7 on

More information

Kollaborate Server. Installation Guide

Kollaborate Server. Installation Guide 1 Kollaborate Server Installation Guide Kollaborate Server is a local implementation of the Kollaborate cloud workflow system that allows you to run the service in-house on your own server and storage.

More information

Tungsten Dashboard for Clustering. Eric M. Stone, COO

Tungsten Dashboard for Clustering. Eric M. Stone, COO Tungsten Dashboard for Clustering Eric M. Stone, COO In this training session 1. Tungsten Dashboard Welcome 2. Tungsten Dashboard Overview 3. Tungsten Dashboard Prerequisites 4. Tungsten Dashboard Security

More information

Apache Web Server Administration for Linux

Apache Web Server Administration for Linux or tri N s di IO n tio AT uc od pr re U ed AL riz ho ut na EV U is i ib d tie PY oh pr O n C io t bu Apache Web Server Administration for Linux Apache Web Server Administration for Linux (AWS201 version

More information

SETTING UP 3 WORDPRESS SITES ON APACHE AND UBUNTU BY RAMI

SETTING UP 3 WORDPRESS SITES ON APACHE AND UBUNTU BY RAMI SETTING UP 3 WORDPRESS SITES ON APACHE AND UBUNTU 14.04 BY RAMI SETTING UP 3 WORDPRESS SITES ON APACHE SERVER AND UBUNTU 14.04 THE SET UP This may be a little rough in some places because not all the terms

More information

LING 408/508: Computational Techniques for Linguists. Lecture 20

LING 408/508: Computational Techniques for Linguists. Lecture 20 LING 408/508: Computational Techniques for Linguists Lecture 20 Today's Topic Did everyone get their webserver (OS X or Ubuntu or both) up and running? Apache2 Last time: we configured the root site http://localhost/

More information

System Administration. NFS & Web Servers

System Administration. NFS & Web Servers System Administration NFS & Web Servers NFS SERVER File System Operations Create file / directory Remove file / directory List directory Open file Read from file Write to file NFS Network file system File

More information

Automa6on and API Programming with Femap and NX Nastran

Automa6on and API Programming with Femap and NX Nastran Automa6on and API Programming with An introduc6on to the Femap Applica6on Programming Interface using a blend of theory and prac6ce that allows students to automate modeling processes, modify the model,

More information

Introduc)on to Computer Networks

Introduc)on to Computer Networks Introduc)on to Computer Networks COSC 4377 Lecture 3 Spring 2012 January 25, 2012 Announcements Four HW0 s)ll missing HW1 due this week Start working on HW2 and HW3 Re- assess if you found HW0/HW1 challenging

More information

CA Open Space. Implementation Guide. Release

CA Open Space. Implementation Guide. Release CA Open Space Implementation Guide Release 3.0.00 This Documentation, which includes embedded help systems and electronically distributed materials, (hereinafter referred to as the Documentation ) is for

More information

INSTALLING GUIDE FOR A WEB SERVER

INSTALLING GUIDE FOR A WEB SERVER Installation and configuration of Apache 2.2, PHP5 enviroinment, MySQL 5.5 and phpmyadmin 3.4 By: Josué Gayán Báscones For: Web Application Deployment, 2 nd ASIX Josué Gayán Báscones Web Application Deployment

More information

Con$nuous Integra$on Development Environment. Kovács Gábor

Con$nuous Integra$on Development Environment. Kovács Gábor Con$nuous Integra$on Development Environment Kovács Gábor kovacsg@tmit.bme.hu Before we start anything Select a language Set up conven$ons Select development tools Set up development environment Set up

More information

mod_wsgi Documentation

mod_wsgi Documentation mod_wsgi Documentation Release 4.6.4 Graham Dumpleton Apr 03, 2018 Contents 1 Project Status 3 2 Security Issues 5 3 Getting Started 7 4 Requirements 9 5 Installation 11 6 Troubleshooting 13 7 User Guides

More information

<title> An XML based web service for an electronic logbook </title>

<title> An XML based web service for an electronic logbook </title> An XML based web service for an electronic logbook raimund Kammering desy MVP 2002-10-16 pcapac 2002 Frascati

More information

MISP2 installation and configuration guide. Version 2.12

MISP2 installation and configuration guide. Version 2.12 MISP2 installation and configuration guide Version 2.12 Contents Contents... 2 1. Introduction... 3 2. Environment requirements... 3 3. MISP2 Installation... 3 3.1. Updating the MISP2 package list... 3

More information

Using GitHub to Share with SparkFun a

Using GitHub to Share with SparkFun a Using GitHub to Share with SparkFun a learn.sparkfun.com tutorial Available online at: http://sfe.io/t52 Contents Introduction Gitting Started Forking a Repository Committing, Pushing and Pulling Syncing

More information

CSE 451: Operating Systems. Sec$on 2 Interrupts, system calls, and project 1

CSE 451: Operating Systems. Sec$on 2 Interrupts, system calls, and project 1 CSE 451: Operating Systems Sec$on 2 Interrupts, system calls, and project 1 Interrupts Ü Interrupt Ü Hardware interrupts caused by devices signaling CPU Ü Excep$on Ü Uninten$onal sobware interrupt Ü Ex:

More information

DAY 2! Logs, Aliases, Redirects, Rewrites, and More! Oh My! Thursday, November 8, 12

DAY 2! Logs, Aliases, Redirects, Rewrites, and More! Oh My! Thursday, November 8, 12 DAY 2! Logs, Aliases, Redirects, Rewrites, and More! Oh My! VIRTUAL HOSTING OVERVIEW Virtual Hosting is an extremely popular feature of the Apache webserver. Virtual Hosting allows Apache to serve up more

More information

WP EBOOKS Creating A WordPress Network

WP EBOOKS Creating A WordPress Network WP EBOOKS Creating A WordPress Network The Complete Guide to Setting Up WordPress Multisite 1 WP EBOOKS Creating A WordPress Network The Complete Guide to Setting Up WordPress Multisite 2 Creating a WordPress

More information

User Impersonation. 1. Overview. 2. Implementation Kernel Module (impersonate.ko)

User Impersonation. 1. Overview. 2. Implementation Kernel Module (impersonate.ko) 1. Overview UNIX is lacking a fundamental feature that allows for temporary user switches at run time. The setuid() group of system calls allow for a permanent switch but offer no return path. My goal

More information

Quick.JS Documentation

Quick.JS Documentation Quick.JS Documentation Release v0.6.1-beta Michael Krause Jul 22, 2017 Contents 1 Installing and Setting Up 1 1.1 Installation................................................ 1 1.2 Setup...................................................

More information

Elas%c Load Balancing, Amazon CloudWatch, and Auto Scaling Sco) Linder

Elas%c Load Balancing, Amazon CloudWatch, and Auto Scaling Sco) Linder Elas%c Load Balancing, Amazon, and Auto Scaling Sco) Linder Overview Elas4c Load Balancing Features/Restric4ons Connec4on Types Listeners Configura4on Op4ons Auto Scaling Launch Configura4ons Scaling Types

More information

Chapters. Web-Technologies I 1

Chapters. Web-Technologies I 1 Web-Technologies Chapters Server-Side Programming: Methods for creating dynamic content Web-Content-Management Excurse: Server Apache Client-Side Programming (Next Lesson) Web-Services (Next Lesson) Search

More information

Live Data Connection to SAP Universes

Live Data Connection to SAP Universes Live Data Connection to SAP Universes You can create a Live Data Connection to SAP Universe using the SAP BusinessObjects Enterprise (BOE) Live Data Connector component deployed on your application server.

More information

Storing and Organizing Your Digital Images

Storing and Organizing Your Digital Images Storing and Organizing Your Digital Images Most people don t do a good job of storing and organizing digital images. This includes: Your Digital Photographs Digital Photographs and images from others Scanned

More information

Content caching. Fabian Arrotin. (for faster build-and-deploy

Content caching. Fabian Arrotin. (for faster build-and-deploy Content caching (for faster build-and-deploy ops) Fabian Arrotin arrfab@centos.org @arrfab /whois arrfab Why caching content? Why caching content? Disclaimer : following slides will present solutions/workaround

More information

Automating All The Things. Sebastian Feldmann

Automating All The Things. Sebastian Feldmann Automating All The Things Sebastian Feldmann Automation "Automate until the job is boring as hell" Automation System Configuration Software Deployment Software Preparation Putting it all together App deployment,

More information

OptiRain Open 2 Installation Guide for LInux. This guide provides general instructions for installing OptiRain Open 2 on a Linux based server.

OptiRain Open 2 Installation Guide for LInux. This guide provides general instructions for installing OptiRain Open 2 on a Linux based server. QUICKSMART OptiRain Open 2 Installation Guide for LInux QuickSmart Development P.O. Box 3689 Santa Clara, CA 95055 408-777-0944 www.quicksmart.com This guide provides general instructions for installing

More information

CSCI 201 Lab 1 Environment Setup

CSCI 201 Lab 1 Environment Setup CSCI 201 Lab 1 Environment Setup "The journey of a thousand miles begins with one step." - Lao Tzu Introduction This lab document will go over the steps to install and set up Eclipse, which is a Java integrated

More information

Linux II and III. Douglas Scofield. Crea-ng directories and files 18/01/14. Evolu5onary Biology Centre, Uppsala University

Linux II and III. Douglas Scofield. Crea-ng directories and files 18/01/14. Evolu5onary Biology Centre, Uppsala University Linux II and III Douglas Scofield Evolu5onary Biology Centre, Uppsala University douglas.scofield@ebc.uu.se slides at Crea-ng directories and files mkdir 1 Crea-ng directories and files touch if file does

More information

TomcatCon London 2017 Clustering Mark Thomas

TomcatCon London 2017 Clustering Mark Thomas TomcatCon London 2017 Clustering Mark Thomas Agenda Reverse Proxies Load-balancing Clustering Reverse Proxies bz.apache.org httpd instance Reverse Proxy Bugzilla (main) bz.apache.org/bugzilla httpd instance

More information

Servers for Hackers. Server Administration for Programmers. Chris Fidao. This book is for sale at

Servers for Hackers. Server Administration for Programmers. Chris Fidao. This book is for sale at Servers for Hackers Server Administration for Programmers Chris Fidao This book is for sale at http://leanpub.com/serversforhackers This version was published on 2018-06-19 This is a Leanpub book. Leanpub

More information

NFS 3/25/14. Overview. Intui>on. Disconnec>on. Challenges

NFS 3/25/14. Overview. Intui>on. Disconnec>on. Challenges NFS Overview Sharing files is useful Network file systems give users seamless integra>on of a shared file system with the local file system Many op>ons: NFS, SMB/CIFS, AFS, etc. Security an important considera>on

More information

websnort Documentation

websnort Documentation websnort Documentation Release 0.8 Steve Henderson Jul 04, 2018 Contents 1 Features 3 2 Contents 5 3 Issues 15 Python Module Index 17 i ii Websnort is an Open Source web service for analysing pcap files

More information

JBoss Enterprise Application Platform 5

JBoss Enterprise Application Platform 5 JBoss Enterprise Application Platform 5 HTTP Connectors Load Balancing Guide Edition 5.2.0 HTTP load-balancing for JBoss Enterprise Application Platform Last Updated: 2017-10-13 JBoss Enterprise Application

More information

Install Apache, PHP And MySQL On CentOS 7 (LAMP)

Install Apache, PHP And MySQL On CentOS 7 (LAMP) Install Apache, PHP And MySQL On CentOS 7 (LAMP) Version 1.0 Authors: Till Brehm , Falko Timme Updates: Srijan Kishore Follow Howtoforge

More information

GIT VERSION CONTROL TUTORIAL. William Wu 2014 October 7

GIT VERSION CONTROL TUTORIAL. William Wu 2014 October 7 GIT VERSION CONTROL TUTORIAL William Wu w@qed.ai 2014 October 7 ABOUT ME Scientific Computing Specialist background: math, cs, ee interests: machine learning, DSP, imaging, data viz, cloud work: various

More information

Scaling MongoDB: Avoiding Common Pitfalls. Jon Tobin Senior Systems

Scaling MongoDB: Avoiding Common Pitfalls. Jon Tobin Senior Systems Scaling MongoDB: Avoiding Common Pitfalls Jon Tobin Senior Systems Engineer Jon.Tobin@percona.com @jontobs www.linkedin.com/in/jonathanetobin Agenda Document Design Data Management Replica3on & Failover

More information

Solving Problems in Ways Never Before Possible, with FusionReactor 7

Solving Problems in Ways Never Before Possible, with FusionReactor 7 Solving Problems in Ways Never Before Possible, with FusionReactor 7 Introductions Charlie Arehart Independent Consultant, CArehart.org (Focused on server troubleshooting) Agenda Foreword Major new FR

More information

Deltek Maconomy. Installation Guide For Standard and PSO Installations

Deltek Maconomy. Installation Guide For Standard and PSO Installations Deltek Maconomy Installation Guide For Standard and PSO Installations March 10, 2016 While Deltek has attempted to verify that the information in this document is accurate and complete, some typographical

More information

Apache Httpd Manual Conf File Location Windows 7

Apache Httpd Manual Conf File Location Windows 7 Apache Httpd Manual Conf File Location Windows 7 Member "httpd-2.4.12/docs/manual/platform/windows.html.en" (1 Jan 2015, 32369 Apache is configured by the files in the conf subdirectory. For example, the

More information

Apache, Php, MySql Configuration

Apache, Php, MySql Configuration 1.0 Introduction Apache, Php, MySql Configuration You will be guided to install the Apache web server and PHP and then configure them with MySQL database. There are several pre-requisite tasks MUST be

More information

User authentication, passwords

User authentication, passwords User authentication, passwords User Authentication Nowadays most internet applications are available only for registered (paying) users How do we restrict access to our website only to privileged users?

More information

PHEWR Installation Guide (version 3)

PHEWR Installation Guide (version 3) PHEWR Installation Guide (version 3) Introduction Included in this Zip File: Database - sql scripts to install database objects Admin - directory structure containing the files necessary to run the PHEWR

More information

What about when it s down? An Application for the Enhancement of the SAS Middle Tier User Experience

What about when it s down? An Application for the Enhancement of the SAS Middle Tier User Experience Paper 11421-2016 What about when it s down? An Application for the Enhancement of the SAS Middle Tier User Experience Christopher Blake, Royal Bank of Scotland ABSTRACT The SAS Web Application Server goes

More information

Outline. Web browsers & Web servers

Outline. Web browsers & Web servers Web browsers & Web servers 1 Outline Goals and Objectives Topics headlines Introduction Finding a web page Browser Tasks Top browsers Browser window structure Internet Explorer Netscape / Mozilla Opera

More information

CONTAINERIZING JOBS ON THE ACCRE CLUSTER WITH SINGULARITY

CONTAINERIZING JOBS ON THE ACCRE CLUSTER WITH SINGULARITY CONTAINERIZING JOBS ON THE ACCRE CLUSTER WITH SINGULARITY VIRTUAL MACHINE (VM) Uses so&ware to emulate an en/re computer, including both hardware and so&ware. Host Computer Virtual Machine Host Resources:

More information

NFS. CSE/ISE 311: Systems Administra5on

NFS. CSE/ISE 311: Systems Administra5on NFS CSE/ISE 311: Systems Administra5on Sharing files is useful Overview Network file systems give users seamless integra8on of a shared file system with the local file system Many op8ons: NFS, SMB/CIFS,

More information

Splitting and Merging. Down and Dirty Made Easy

Splitting and Merging. Down and Dirty Made Easy Splitting and Merging Down and Dirty Made Easy Splitting WebGUI Sites E unus pluribum Splitting WebGUI Sites Two possible ways Duplicate and cut-down No need for messy rewrite rules Entirely separate site

More information

Red Hat JBoss Web Server 2

Red Hat JBoss Web Server 2 Red Hat JBoss Web Server 2 HTTP Connectors Load Balancing Guide HTTP load balancing for JBoss Enterprise Application Platform and Red Hat JBoss Edition 2 Web Server 2.0.1 Last Updated: 2017-10-19 Red

More information

Troubleshooting SMTP Routing. Chris Miller Director of Messaging/Collab Connectria

Troubleshooting SMTP Routing. Chris Miller Director of Messaging/Collab Connectria Troubleshooting SMTP Routing Chris Miller Director of Messaging/Collab Connectria What We ll Cover Following the breadcrumbs in the forest Planning to be an archeologist Running relay races, jumping hurdles

More information

CSN09101 Networked Services. Module Leader: Dr Gordon Russell Lecturers: G. Russell

CSN09101 Networked Services. Module Leader: Dr Gordon Russell Lecturers: G. Russell CSN09101 Networked Services Week 8: Essential Apache Module Leader: Dr Gordon Russell Lecturers: G. Russell This lecture Configuring Apache Mod_rewrite Discussions Configuring Apache Apache Very well known

More information

Re3gistry development & testing - Bug #2895 Problems installing registry

Re3gistry development & testing - Bug #2895 Problems installing registry Re3gistry development & testing Bug #2895 Problems installing registry 02 Jan 2017 10:29 am Michael Östling Status: New Start date: 02 Jan 2017 Priority: Normal Due date: Assignee: Daniele Francioli %

More information

servlets and Java JSP murach s (Chapter 2) TRAINING & REFERENCE Mike Murach & Associates Andrea Steelman Joel Murach

servlets and Java JSP murach s (Chapter 2) TRAINING & REFERENCE Mike Murach & Associates Andrea Steelman Joel Murach Chapter 4 How to develop JavaServer Pages 97 TRAINING & REFERENCE murach s Java servlets and (Chapter 2) JSP Andrea Steelman Joel Murach Mike Murach & Associates 2560 West Shaw Lane, Suite 101 Fresno,

More information

Introducing NEMS Linux: Part 2 Monitoring a Local Linux Server

Introducing NEMS Linux: Part 2 Monitoring a Local Linux Server Introducing NEMS Linux: Part 2 Monitoring a Local Linux Server November 1, 2018 Robbie Ferguson, Linux, Tutorial Last month I introduced you to NEMS Linux, the Nagios Enterprise Monitoring Server for ODROID

More information

Apache Httpd Manual Conf Listen Ipv6 >>>CLICK HERE<<<

Apache Httpd Manual Conf Listen Ipv6 >>>CLICK HERE<<< Apache Httpd Manual Conf Listen Ipv6 8.1 Squid 2.6 Configuration Settings, 8.2 Apache 2.x-Logfile Settings section if IPv6 is not of concern to you and skip to the common ACL configuration. Note that,

More information

A ColdFusion Management System Getting Started Documentation Copyright 2009, All Rights Reserved. FusonLink Inc.

A ColdFusion Management System Getting Started Documentation Copyright 2009, All Rights Reserved. FusonLink Inc. A ColdFusion Management System Getting Started Documentation Copyright 2009, All Rights Reserved. FusonLink Inc. Adobe, the Adobe logo, ColdFusion, Flash, Flex, JRun, LiveCycle, PDF, Acrobat and Macromedia

More information

Table of Contents. Server Migrations Hints, tips and planning considerations

Table of Contents. Server Migrations Hints, tips and planning considerations Server Migrations Hints, tips and planning considerations Table of Contents Introduction:...2 Overview:...2 Migrating your server...2 Audit of the existing server:...2 Preparing the new server:...3 Syncing

More information

Apparo Fast Edit. Installation Guide 3.1

Apparo Fast Edit. Installation Guide 3.1 Apparo Fast Edit Installation Guide 3.1 Linux & IBM AIX / Standalone version [1] Table of content 1 Prior to Installation 4 1.1 Hardware requirements... 4 1.2 Supported operating systems... 4 1.3 Supported

More information

Installing Open Project on Ubuntu AWS with Apache and Postgesql

Installing Open Project on Ubuntu AWS with Apache and Postgesql Installing Open Project on Ubuntu AWS with Apache and Postgesql Contents Installing Open Project on Ubuntu AWS with Apache and Postgesql... 1 Add new ports to your security group... 2 Update your system...

More information

Creating a Network. WordPress 3.1 (and up)

Creating a Network. WordPress 3.1 (and up) Creating a Network in WordPress 3.1 (and up) A comprehensive guide to setting up multisite by Andrea Rennick http://wpebooks.com Introduction Hello there intrepid reader. This here guide is to explain

More information