This list served quite some people but someone else did a better job since.
Go to https://github.com/umpirsky/country-list for a list in your language and format.
I've also compiled a list of nationalities
#/!/bin/bash | |
# update system | |
yum update -y | |
# install bind-utils | |
sudo yum install bind-utils | |
# Apache | |
yum install nano wget curl vim git httpd -y |
#! /bin/bash | |
## PHP 7 Initial Compile ## | |
## Some help from the various places like these. ## | |
# http://www.zimuel.it/install-php-7/ | |
# http://www.hashbangcode.com/blog/compiling-and-installing-php7-ubuntu | |
## Setup Ubuntu 15.04 ## | |
# I like the speed of Apt-Fast. Will check for installs some other day. | |
sudo apt-get install apt-fast |
public void printClientInfo(HttpServletRequest request) { | |
final String referer = getReferer(request); | |
final String fullURL = getFullURL(request); | |
final String clientIpAddr = getClientIpAddr(request); | |
final String clientOS = getClientOS(request); | |
final String clientBrowser = getClientBrowser(request); | |
final String userAgent = getUserAgent(request); | |
logger.info("\n" + |
This list served quite some people but someone else did a better job since.
Go to https://github.com/umpirsky/country-list for a list in your language and format.
I've also compiled a list of nationalities
It's time someone compiled a list of nationalities to use within a web application. This gist attempts to make a first move at that.
I've also compiled a list of countries
<?xml version="1.0"?> | |
<tomcat-users> | |
<role rolename="tomcat" /> | |
<role rolename="manager-gui" /> | |
<role rolename="manager-script" /> | |
<role rolename="manager-jmx" /> | |
<role rolename="manager-status" /> | |
<user | |
password="tomcat" | |
roles="tomcat,manager-gui,manager-script,manager-jmx,manager-status" |
I configured my single tomcat to host 2 services at different connector port like this :-
<!-- WebApp 1-->
<Service name="webapps1">
<Connector port="7001"
maxThreads="150"
minSpareThreads="25"
maxSpareThreads="75"
enableLookups="false"
# http://tomcat.apache.org/tomcat-7.0-doc/proxy-howto.html | |
# https://gerrydevstory.com/2013/06/29/tomcat-apache-reverse-proxy/ | |
# http://www.latko.org/2009/02/12/installing-tomcat-60x-behind-apache-22x/ | |
# http://stackoverflow.com/a/20584597/922323 | |
# https://raajasoft.wordpress.com/2011/11/27/to-shorten-the-tomcat-application-url/ | |
# http://www.christianroessler.net/tech/2012/apache-vhost-proxy-and-static-files.html | |
# http://sysadminnotebook.blogspot.com/2011/08/apache-reverse-proxy-of-virtual-hosts.html | |
# http://stackoverflow.com/a/8823415/922323 | |
<VirtualHost *:80> | |
ServerName tomcat.local |