• UNIX/Linux

    Unzip multi-part archives in Linux

    by  • September 3, 2014 • Scripting, UNIX/Linux • 0 Comments

    Although in Linux you can easily create multi-part zip files, unzipping them can be problematic. By using the -s argument in the zip command you can specify the split size and create split archives. The following example creates split archives with each part not larger than 1GB: The result could be something like: Where...

    Read more →

    Oracle 10g XE on Ubuntu/Debian Linux

    by  • September 3, 2014 • Oracle, UNIX/Linux • 0 Comments

    Some time ago, Oracle removed the download links to Oracle 10g Express Edition (XE). If you need to do a new install of the Oracle XE database on your Linux platform, you can download Oracle 11g XE from the Oracle web site. However, Oracle 11g XE is only available for 64 bit architectures. If...

    Read more →

    Automate Tomcat startup/shutdown on Linux

    by  • November 9, 2011 • Scripting, UNIX/Linux • 0 Comments

    If you need to automatically start/stop Tomcat each time you start/stop/reboot your Linux server, you can do so by creating a start/stop script under the /etc/init.d directory. The sample script below is called /etc/init.d/tomcat and runs Tomcat as a user called “tomcat” – because most likely you do not want Tomcat to run as...

    Read more →

    Use Static IP on Ubuntu Server

    by  • November 9, 2011 • UNIX/Linux • 0 Comments

    By default, Ubuntu uses DHCP in order to get an IP address. If you need a static IP instead, you need to update your interface configuration. This is done in file /etc/network/interfaces By default, the contents of this file will probably look similar to this: Most likely, your main interface will be eth0 (or...

    Read more →

    File and Partition Recovery in Linux

    by  • November 8, 2011 • UNIX/Linux • 0 Comments

    If you need to recover files and/or partitions on Linux, TestDisk and PhotoRec may be useful. Both are very powerful and free tools that run on Linux and may also work if you need to recover data from USB Hard Drives, USB Memory Drives, Memory Cards, CD-ROMS, iPod, etc. Despite its name “PhotoRec”, this...

    Read more →

    Mount a USB Hard Drive to Ubuntu Server

    by  • November 8, 2011 • UNIX/Linux • 0 Comments

    Unlike on the Ubuntu Desktop edition, USB devices are not automatically mounted on Ubuntu Server. You will have to do it manually. Luckily it’s quite simple. First, you need to find out which device needs to be mounted: sudo fdisk -l Most likely, your USB Hard Drive will be /dev/sdb1. Now we create a...

    Read more →