How to Secure Your Linux Server With HostDeny

There are many of scripts on the internet that will block a proxy server, block web scrapers, block hack, ssh brute force attempts, well the list goes on. Though there is not one service that blocks them all including dark web visitors from visiting your site or servers. There is now an all in one […]

mkfs.ext4 /dev/sd*1 is apparently in use by the system; will not make a filesystem here

If you run accross the dreaded message /dev/sd*1 is apparently in use by the system; will not make a filesystem here and have recreated all raid devices. The problem is more than likely device mapper driver is still in use for the logical devices. Run the following commands and you will then be able to […]

Linux – HP DL380 Servers Get DIMM Serial Numbers

I’ve came across some HP servers that it is impossible to get the dimm module serial number or model. There are many tools that that work with Linux, such as “dmidecode -t 17”, lshw, lm_sensors, i2c-tools, etc.. that require you to install additional software on a server to get such information, when installing software is […]

Kloxo – LXAdmin- Qmail – Remove Spam from Users Inbox

There was a user that had accumilated a lot of spam in their inbox over the years, but never had the mail server to send it directly to the spam box directly upon receipt. The good thing is that spamassasin was installed and was marking the spam status of an email within the headers. This […]

Satellite/Spacewalk Fix or Repair jabber_lib.main: Unable to connect to jabber servers

Seen this discussion many times, but not to much of information in regards to how to fix OSAD to communicate with the Spacewalk or Satellite server once you see this error in the osad log. To fix the error repeating in the osad log as seen below and have the client server come back online. […]

Resize or Extend Linux VG or LV

If you are needing to add more space to an LV but your VG has no space left to give to the LV.  Following the below will extend or resize your VG and LV in Redhat/CentOS linux. 1) Add a new disk to linux machine.  In VMware, you would just edit the system settings and […]

Online Apache Virtualhost Config Generator

Was tired of manually writing config’s when standing up new apache virtualhosts at work.  So I wrote this simple tool to create Apache Virtualhosts configs.  Using the online Apache Virtualhost Config Generator will give you the basic options to stand up an Apache Virtualhost without having to write the same basic virtualhost options every time […]

Simple JBoss AS 7 Server Startup Script for Linux

I covered in a previous post of setting up a standard JBoss application server. In the post, I gave a shot script to start the JBoss application server. Below would be a standard way of install JBoss as a service script to run at boot time. #!/bin/sh #chkconfig: 345 99 10 #description: JBoss auto start-stop […]

Setup/Install JBoss Application Server AS7 – Jason Rogers

Working with JBoss version 4, 5 and 6 over the years. I finally wanted to upgrade a server to JBoss version AS7. I will describe how to do a base setup of JBoss AS 7 on a Linux platform, in less than 15 minutes. I have found that JBoss 7 on Linux as a very […]

Kloxo – qmail – Setup DKIM for Mail Server

An easy to follow guide to install DKIM on CentOS 5.x Linux mail servers using qmailtoaster and kloxo/lxadmin. Re-posting this so that it is not lost for future setups. 5 minute guide to to help prevent outgoing emails from your email servers winding up in someone’s spam box. cd /tmp wget tar –zxf dkim.tgz […]