ItecSoftware Logo

How to Install Java JDK 7 in Ubuntu

By Peter Gilg on
java jdk 7 install

Chances are you installed Open JDK, which ships as default in the package manager and you’re having compatibility issues with some of the apps requiring Java native Java Development Kit. Not only can mismatch of different vendors cause havoc, but also version issues especially between JDK 6 and JDK 7.

Installation of Oracle Java JDK 7 can turn into a major headache, but it doesn’t have to. Here are the steps for a straight forward Java JDK 7 installation in Ubuntu ...

read more

Listed in Linux, Ubuntu, Web Development

Tags: java, JDK 7, Oracle

Linux Screen Command – Window Management At It’s Best

By Peter Gilg on
linux screen command

Just in case you haven’t heard about Screen or don’t know what the Linux Screen Command is about, in short – Screen is the de-facto window manager in a Linux/Unix environment.

Not only does Screen let you open and switch between multiple windows, Screen also let’s you run programs in it’s won environment, even if you close the current SSH session. This comes in handy when you have scripts that run for a long time and could potentially timeout in SSH.

Another ...

read more

Listed in Linux, Shell Scripting, Web Development

Tags: GNU, Linux, screen

Useful Linux Terminal Commands

By Peter Gilg on
Linux terminal

This is a compilation of most of my past searches for linux terminal commands, starting years back and I kept track of them here for easy retrieval. Since some of them are rather rare, useful Linux Terminal Commands, also often asked for by users, I decided to just publish them here.

The list may grow longer over time and if you got some nice ones that is of general interest, please let me know and I’m happy to add them.

How to ...

read more

Listed in Linux, Shell Scripting

Tags: Linux, shell, terminal, Unix

Prevent Denial Of Service attacks with mod_evasive

By Peter Gilg on
prevent denial of service attacks

With today’s widespread use of cloud computing due to low cost and ease of use, the entry level hacker has found an easy playground to pray on the unexperienced and unprotected. It’s just amazing how many attack scripts are running against a new AWS EC2 instance as soon as it’s started. So what to do? How to protect against intruders and hackers and reliably prevent denial of service attacks?

While there are different kind of attacks, in this article we focus ...

read more

Listed in Linux, Web Development

Tags: apache, ddos, denial of service, dos

Install Oracle Java JRE on Ubuntu 12.04

By Peter Gilg on
Install Oracle Java JRE 7

Dealing with different versions of Java Virtual Machine or Java Runtime Environment (JRE/JVM) has always been a bit of a pain, especially on Linux, where we have not only different versions, but also different vendors. To make matters worse, some application require the original Sun/Oracle version, while others are perfectly fine with open source version.

In the past, Sun provided an installer for deb and rpm based distributions, but since Ubuntu 12.04, there is no luck. However, installing Oracle’s JVM manually is actually straight ...

read more

Listed in Linux, Shell Scripting, Web Development

Tags: java, JRE, JVM, Oracle, Sun

Fakeproc causing high cpu utilization

By Peter Gilg on
fakeproc high cpu utilization

I recently was called for help by a WordPress based site owner, suspecting that her site was hacked and cpu utilization of her Ec2 instance was pegged at 100%. She rebooted to remedy the situation, hence I initially could not find anything wrong, no suspicious processes running and network socket connections seemed fine.

The next day she contacted me again, this time right away while her site was bogged down. Despite extremely high cpu utilization, I was able to ssh into the instance ...

read more

Listed in Linux, Web Development

Tags: fakeproc, high cpu

Setup A Hosted Git Repository With Gitolite

By Peter Gilg on
gitolite install

Git has gotten a lot of hype recently, especially among smaller development teams and contractors, for its flexible, distributed environment, ease of use and while Subversion is the old kid on the block, there are pros and cons for each. This article assumes that you already know the intrinsics of the different version control systems and you’ve decided that Git is for you.

Gitolite is a package that allows us to host our repositories using one dedicated user that has restricted ...

read more

Listed in Linux, Web Development

Tags: git, gitolite, gitosis, repository

Linux jobs get more demand

By Peter Gilg on
linux jobs get more demand

Linux Foundation director Jim Zemlin, has some advise for Linux world professionals. He was as of late quoted saying, “Linux’s increasing use across industries is building high demand for Linux jobs despite national unemployment stats.

Linux.com reaches millions of Linux professionals from all over the world. By providing a Jobs Board feature on the popular community site, we can bring together employers, recruiters and job seekers to lay the intellectual foundation for tomorrow’s IT industry.”

Current requirement is for 8,000 Linux-based technical ...

read more

Listed in Linux, Ubuntu

Tags: career, jobs, Linux, salary

Apache Prefork Vs Worker Threads

By Peter Gilg on
apache prefork vs worker threads

We often get questions like: What is the difference between Apache Prefork vs Worker Threads? Is it wrong to have set the configuration values the same for both? Or is it wrong to have them different?

In this quick article I will shed some light between the two modules and assess what real world circumstances, a certain os and application would call for which solution.

It all goes back to the old NCSA server where Apache 1 grew up in a UNIX ...

read more

Listed in Linux, Web Development

Tags: apache, prefork, web server, worker threads

Best Free Beat Making Software

By Peter Gilg on
Best beat making software

Beat Making can be a great way to earn money and build a career in the music industry. Up to now, you only had a couple of options when it came to selecting a beat maker.

The first was to pay a high price for high priced high end equipment.  The other option was to get affordable software that you could afford, but made beats that sounded like crap.

Here you find all types of software for making hip hop beats with ...

read more

Listed in Linux, Mac, Useful Stuff

Tags: audio, beat making, free, music