Two-in-one DNS server with BIND9
On this page
Footnotes
This tutorial shows you how to configure BIND9 DNS server to serve an
internal network and an external network at the same time with
different set of information. To accomplish that goal, a new feature of
BIND9 called view is used. As a tutorial it'll walk you through the
whole set up, but initial knowledge of BIND and DNS is required, there
are plenty of documents that cover that information on the Internet.
Continue reading at original site or download PDF.
Contents
1 The problem
2 Initial configuration
3 Internals and externals
4 Security
5 Configuration files
5.1 /etc/bind/named.conf.local
5.2
/etc/bind/externals/db.example.com
5.3
/etc/bind/internals/db.example.com
Bibliography
1 The
problem
It is a typical...
Friday, November 13, 2015
Thursday, January 30, 2014
How to enable mod_rewrite in Apache2 on Debian or Ubuntu
How to enable mod_rewrite in Apache2 on Debian or Ubuntu
If you have installed Apache2 web server via apt-get or aptitude
on Debian or Ubuntu systems, it has mod_rewrite module installed, but
not enabled by default. After Apache2 installation, you need to enable
mod_rewrite explicitly in order to enjoy its benefit.
What is mod_rewrite?
Apache2 web server boasts of extensible features which are realized
by the notion of pluggable modules. When building Apache2, you compile a
set of modules you think are necessary, into it. One such module is
called mod_rewrite which is responsible for rewriting website URLs at
the server side. For example, when user asks for
"http://myserver.com/my_category/my_post.html", the requested URL is
translated by mod_rewrite to...
setup-nginx-for-codeigniter-on-ubuntu
I recently launched my site - Curriculum Vitae
- which is built , mostly, with PHP and MySQL, the regular LAMP stack.
And of course I used the great Twitter Bootstrap and Codeigniter
Frameworks.
The site is running a on a VPS with Ubuntu 11.10. It all was very
easy to setup as at first I used Apache2 which is a great server and the
site was running for 2 weeks with this configuration but I kept reading
on Nginx and saw a real benefit to having a reverse proxy already setup
handling requests.
So I set out create a server that would run my CodeIgniter Site and keep PHP as fast as I could.
Step 1 - Updating Apt with sources
As we are running Ubuntu (But this should work in Debian too, worth a
try right?) we would want to use apt. So first let's get a fresh
package list.
sudo...
Friday, July 26, 2013
Setting Up SSL on Tomcat In 3 Easy Steps
Setting Up SSL on Tomcat In 3 Easy Steps
Setting up SSL on Tomcat is easy and you don’t have to do much for converting your web application to work with the Https
protocol. But however, the problem you would find to set up SSL is the
documentation available over the web. The documentation source is
available on the Apache site but it starts off good and ends with a lot of confusion. Especially I was confused on the OpenSSL part where it says to use OpenSSL.
It might be good in a production environment to use OpenSSL but if
you just want to test out SSL with Tomcat alone then it is more than
enough to just have your JDK and Tomcat setups. So I would make you walk
through the same steps which I did while getting SSL up and running and
building a secured web app within a matter...
How to enable SSL in TOMCAT 6
How
to enable SSL in TOMCAT 6
Last Modified: 02/26/2009
To install and configure SSL support on Tomcat 6, you need to follow
these simple steps.
0. Download a default keystore
The "keytool" command is a
Key and Certificate Management Tool provided by Java. You can use
keytool command to generate public/private key pair or use it to import
a public key from a third party. The keystore is essentialy a "encrypted" and
passowrd protected file residing in your home directory (/home/cs144).
First download the deafult keystore file
and unzip it to your home directory.
/* Download the keystore file */
cs144@cs144:~$ wget http://oak.cs.ucla.edu/cs144/projects/project5/vm_keystore.zip
/*...
How to Configure HTTPS (SSL) in Tomcat 6 and 7 Java Web Server

How to Configure HTTPS (SSL) in Tomcat 6 and 7 Java Web Server
Setting SSL (Secure Socket Layer) in Tomcat is often a requirement, especially
while developing secure web application,
which requires access over https protocol. Since Tomcat web server doesn't
provide SSL settings by default, you need to know how to configure SSL in
tomcat, and even worse it varies between different tomcat versions. for Example
SSL setup which works on tomcat 6, doesn't work as it is in tomcat 7. In this
article we will see, how to configure tomcat for https in both tomcat 6 and 7. For
those programmers who are not very familiar with SSL and https here...
Friday, October 12, 2012
How to install GUI on Ubuntu 12.04 (Precise) Server
How to install GUI on Ubuntu 12.04 (Precise) Server
We have already discussed how to install ubuntu 12.04 LAMP server
.If you are a new user and not familiar with command prompt you can
install GUI for your ubuntu LAMP server using one of the 2 options
1) Install desktop Environment
2) Install Webmin
1) Install desktop Environment
First you nee to make sure you have enabled Universe and multiverse
repositories in /etc/apt/sources.list file once you have enable you need
to use the following command to install GUI
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install ubuntu-desktop
The above command will install GNOME desktop
If you wan to install a graphical desktop manager without some of the
desktop addons like Evolution and OpenOffice, but continue to use...
Thursday, October 11, 2012
Installation of openmeetings on Ubuntu 10.04.
Installation of openmeetings on Ubuntu 10.04.
Introduction
with many references from http://openstudio.info/component/content/article/60 http://code.google.com/p/openmeetings/wiki/InstallationDebianhttp://wiki.swftools.org/index.php/Installation
Details
Edit the sources to include partner so that the sun-jre will install
sudo apt-get install sun-java6-bin sun-java6-jdk sun-java6-jre sun-java6-fonts mysql-server imagemagick gs-gpl libt1-5 zip unzip subversion git-core checkinstall yasm texi2html libfaac-dev libfaad-dev libmp3lame-dev libsdl1.2-dev libx11-dev libxfixes-dev libxvidcore-dev zlib1g-dev libogg-dev sox libvorbis-dev libgsm1 libgsm1-dev libfaad2 flvtool2 lame gcc-multilib autoconf automake1.9 libtool ffmpeg automake
and now the openoffice bits
sudo apt-get install...