My Simple Home Server Setup with Dell PowerEdge T430

Posted on


I would like to share my simple and tight budget server setup at home. This server serves as my main server for personal web application and hosting. Using VMWare’s ESXI the server host multiple operating systems. In my setup, I use Dell’ PowerEdge T430 which in my honest opinion is enough to handle my small cloud hosting business operation. You can check out for the price and availibility of Dell PowerEdge T430

Network Isolation & Reverse DNS

Using a standard broadband Internet, I isolate my home network from outside network by having multiple routers. I am using NOIP services to handle my reverse DNS for my domains. This is handled by my Raspberry PI.

Network Isolation using multiple routers
Raspberry PI – as NoIP client



Configure Tomcat To Run on Linux Startup

Posted on
Auto-start Apache Tomcat on Linux

If you are using the core version of Apache Tomcat and would like auto-start it on Linux here are the simple steps. I assume that you already have a running Apache Tomcat and know how to navigate to the terminal and have necessary system permission to proceed with this tutorial. Depending on the distribution that you are using you may need to find a specific location for the configuration or init.d folder.

1. Start by creating startup script into folder /etc/init.d/ or /etc/rc.d depending on what Linux distribution you are using.

$sudo vi tomcat

2. Enter the following scripts inside tomcat file

# tomcat
# chkconfig: 35
# description: Start up the Tomcat servlet engine.
# processname: tomcat

# /etc/init.d/tomcat


case "$1" in
        if [ -f $CATALINA_HOME/bin/ ];
    echo $"Starting Tomcat"
        if [ -f $CATALINA_HOME/bin/ ];
    echo $"Stopping Tomcat"
 echo $"Usage: $0 {start|stop}"
exit 1

exit $RETVAL

You will need to set the CATALINA_HOME and point it to the location where you deploy your Apache Tomcat.



3. In this tutorial, we will create a symbolic link in Runlevel 3

$cd /etc/init.d/rc5.d/
$sudo ln -s ../init.d/tomcat S01tomcat
$sudo ln -s ../init.d/tomcat K01tomcat

In case you’re wondering, what S or K means: S is to start the application and K stands for to kill or shutdown the application. The number denotes the order. There are a lot of articles already available on the Internet about Linux Runlevel. You can check out Linux Runlevels Explained and Understanding init scripts

Distribution Notes

In SLES11, once you created the files tomcat1 and tomcat2 inside init.d folder you don’t need to create the symbolic link manually. Instead, execute the following command

$chkconfig --set tomcat1 on
$chkconfig --set tomcat2 on

To verify type the following code


The output should look like this.

runlevel services via chkconfig