» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with Ubuntu + install

USB Ubuntu 8.04 Persistent install from Linux

USB Ubuntu 8.04 Persistent install from Linux without using a CDROM. This tutorial will enable a user to install Ubuntu 8.04 Hardy Heron to a USB flash drive via a running (Ubuntu) Linux environment. The persistence feature is being utilized to allow the user to save and restore changes on subsequent boots. If you already [...]

User:malforme: Pen Drive Linux

Installing Xen On An Ubuntu 8.04 (Hardy Heron) Server From The Ubuntu Repositories | HowtoForge - Linux Howtos and Tutorials

has a link to the bug and the fixed kernel for the nasty xen-networking-kernel-bug in ubuntu 8.04 lts hardy heron

Xen: http://del.icio.us/rss/tag/xen

Install Ubuntu 8.04 ( Hardy Heron) without a CD-ROM

Things you'll Need

1) Ubuntu Hardy Heron (8.04) ALTERNATE .iso (see below)

2) At least 2 partitions on your HD

3) vmlinuz & initrd.gz files from Hardy - NOT the ones included on the .iso (see below)




Steps:

1) Download the ALTERNATE .iso from the Ubuntu download site:

http://www.ubuntu.com/getubuntu/download

REMEMBER: mark the "Check here if you need the alternate desktop CD." option, on the botton.

2) Download both vmlinuz & initrd.gz files, Hardy's version, from this site:

http://archive.ubuntu.com/ubuntu/dists/hardy/main/installer-i386/current/images/hd-media/

3) Create an /boot folder on your secondary HD partition, and move the alternate .iso and the vmlinuz & initrd.gz from step (2) onto it.

4) If you don't have Grub already installed, install it on a removable media or Hard Disk. Then, edit your /boot/grub/menu.lst and add the following entry:


title Install Ubuntu Hardy
root (hd0,2)
kernel /boot/vmlinuz vga=normal ramdisk_size=149720 root=/dev/rd/0 rw --
initrd /boot/initrd.gz


**(hd0,2) refers to the 1st hard drive 'hd0' and the 3rd partition '2'.

The counting of partitions and hard drives starts at zero. Linux loves making life complicated

Change (hd0,2) to match the drive and partition of your .iso file.

e.g (hd1,3) Refers to drive 2 and partition 4.

5) OK! You are ready to go! Now reboot your system (with the removeable media if you installed Grub on it) and choose the "Install Ubuntu Hardy" entry.


6) Now follow the installation as usual, which should be working as if the disk was in the CD-ROM tray.

Ubuntu: Only Ubuntu

Howto install JS3tream and backup to Amazons S3

JS3tream was written to provide easy streaming of data to and from Amazons S3 data storage service. JS3tream is NOT a backup solution by itself. But, coupled with tar or zip, JS3tream provides a very powerful backup solution.

Install the Sun JVM using the following command

sudo apt-get install sun-java5-bin

You will need the zip/unzip utility to extract the JS3tream utility

sudo apt-get install unzip

Go to the JS3tream web site, and download the latest zip file. Extract this file to a directory of your choice. Eg /usr/local/bin

cd /usr/local/bin

unzip js3tream-0.6.2.zip

Test to make sure both java and JS3tream are correctly setup. Start by going to the directory you put JS3tream.

cd /usr/local/bin

Make sure java is correctly installed. I happen to have 1.5.0.11

sudo java -version

java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode)

Test that JS3tream can be executed.

sudo java -jar js3tream.jar --help

JS3tream v0.6 - December 17, 2007
Protected under the LGPL
Copyright (c) Shane Powell 2007
http://js3tream.sourceforge.net

At this point JS3tream should be correctly installed. Now, it's simply a matter of following the examples and howtos on the JS3tream web site.

Ubuntu: Only Ubuntu

Howto Compile and Install TrueCrypt 5.1a on Ubuntu 8.04 LTS (Hardy Heron)

On-the-fly encryption software which can create a virtual encrypted disk within a file and mount it as a real disk. It can also encrypt a hard disk partition or storage device, such as USB flash drive. Moreover, TrueCrypt supports plausible deniability.


Preparing your system

You need to install the following packages

sudo apt-get install build-essential linux-headers-`uname -r` linux-source-2.6.24 libfuse-dev libgtk2.0-dev

Then create a tmp directory in your home directory

mkdir -p ~/tmp

Now download TrueCrypt source from here

Go to the path where you saved TrueCrypt source and untar the file in your ~/tmp directory

tar -zvxf TrueCrypt\ 5.1a\ Source.tar.gz -C ~/tmp

Now you should download wxAll source code. You can pick it from here

Go to the path where you saved wxAll source and untar the file in your ~/tmp directory

tar -zvxf wxWidgets-2.8.7.tar.gz -C ~/tmp

Now go to your ~/tmp/truecrypt-5.1a-source directory

cd ~/tmp/truecrypt-5.1a-source

and launch this command line

WX_ROOT=~/tmp/wxWidgets-2.8.7 make wxbuild

This will build the ./wxrelease subdirectory in the truecrypt source path. You'll probably will have some warning from the compiler, but you can safely ignore.

Once you have your shell back, launch this command line to compile truecrypt

WX_ROOT=~/tmp/wxWidgets-2.8.7 make

Probably you will get a lot of warning from the compiler, but you can ignore it. They are just warning.

Now go Main directory in TrueCrypt source

cd ~/tmp/truecrypt-5.1a-source/Main

and start truecrypt gui

./truecrypt

If everything is ok, you should have now the truecrypt gui running.

Now close you application from the Gnome notification area and copy your just compiled truecrypt binary in you /usr/local/bin directory

sudo cp ~/tmp/truecrypt-5.1a-source/Main/truecrypt /usr/local/bin/

Now you have truecrypt binary in your path so you can run it simply with

truecrypt

Now you can safely remove you working directories

rm -rf ~/tmp/truecrypt-5.1a-source ~/tmp/wxWidgets-2.8.7

Ubuntu: Only Ubuntu

Howto Crack Rar, 7z, and zip files in Linux

If you forget your password for compressed archive (rar, 7z, zip), this program is the solution.This program uses bruteforce algorithm to find correct password. You can specify wich characters will be used in password generations.

(...)
Read the rest of Howto Crack Rar, 7z, and zip files in Linux (120 words)


© Admin for Debian Admin, 2008. | Permalink | No comment

Add to del.icio.us

Search blogs linking this post with Technorati

Want more on these topics ? Browse the archive of posts filed under General, Security.

---
Related Articles at Debian Admin:

  • How to add a Disclaimer To Outgoing Emails in Postfix
  • sshpass - Non-interactive ssh password authentication
  • How to filter spam with Spamassassin and Postfix in Debian
  • autossh - Automatically restart SSH sessions and tunnels
  • Access Network When Everything Else is Blocked Using ptunnel
  • Lynis - Security and system auditing tool

  • Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    How to install KDE on Ubuntu

    sudo aptitude update && sudo aptitude install kubuntu-desktop

    Kubuntu: del.icio.us/tag/kubuntu

    Ubuntu 8.04 USB Hard Drive install

    This tutorial covers the process of installing Ubuntu 8.04 (Hardy Heron) to an external USB Hard drive. It is possible to install Ubuntu 8.04 to a 4GB+ flash drive using this method as we did, however, due to the additional read/write cycles that occur on a full blown install, the life of your flash drive [...]

    User:malforme: Pen Drive Linux

    Howto Setup Vidalia TOR GUI with Ubuntu

    Tor is the open source leader to anonymous connections on the internet, you can anonymize your internet presence from AIM/ICQ/MSN/ Jabber/IRC/WWW/FTP and you can even issue a torify command at the command prompt to anonymize your wget/ssh/lynx/ftp/perl or whatever. Basically tor is for the people by the people, it is only alive because we make it so, we can choose to use it freely or use it freely and help it out by running a server on your computer to make the internet safer. Basically tor encrypts your data communications through chained/linked proxies all over the internet.

    Vidalia is a cross-platform controller GUI for Tor, built using the Qt framework. Using Vidalia, you can start and stop Tor, view the status of Tor at a glance, and monitor Tor’s bandwidth usage. Vidalia also makes it easy to contribute to the Tor network by helping you set up and manage your own Tor server.

    Vidalia runs on most platforms supported by Qt 4.1 or later, including Windows, Mac OS X, and Linux or other Unix variants using the X11 window system.

    Prepare your system

    sudo apt-get install libevent

    Now you need to get the latest tor source code from here

    wget http://www.torproject.org/dist/tor-0.2.0.22-rc.tar.gz

    tar zxvf tor-0.2.0.22-rc.tar.gz

    cd tor-0.2.0.22-rc

    ./configure

    make

    sudo make install

    Install Vidalia GUI

    You need to edit the /etc/apt/sources.list file

    sudo gedit /etc/apt/sources.list

    add the following lines

    deb http://ppa.launchpad.net/adnarim/ubuntu gutsy main
    deb-src http://ppa.launchpad.net/adnarim/ubuntu gutsy main

    Save and exit the file

    Update the source list

    sudo apt-get update

    Install vidalia

    sudo apt-get install vidalia

    Once installed press alt F2 and open the run prompt and type in “vidalia” without the quotes, this will start tor, vidalia and you can configure tor/vidalia by right clicking on the tray applet and click on settings, right there you can view all the nodes and choose what to connect to, see node uptimes, os’s and locations with a graphical map.

    For web browsing in firefox I prefer using an extention named FoxyProxy it works well with firefox and swiftfox, you can grab this extention directly from here

    If you prefer stronger anonymity & protection I strongly Suggest Torbutton for firefox you can download from here

    Install the addon and go through the Tor wizard and it will set you up for you and you can view which tor nodes you connect through actively via vidalia

    Speed Tweaks for tor

    Lets get to editing our torrc so we can improve the speed!

    gedit ~/.vidalia/torrc

    Paste this at the beginning of the torrc:

    # Set the Tor Circuit Build time to find faster tor servers, increments of seconds

    CircuitBuildTimeout 2

    # connections while Tor is not in use.

    KeepalivePeriod 60

    # Force Tor to consider whether to build a new circuit every NUM seconds.

    NewCircuitPeriod 15

    # Set How many entry guards we should we keep at a time

    NumEntryGuards 8



    Source from here

    Ubuntu: Only Ubuntu

    Dstat - Versatile resource statistics tool

    Dstat is a versatile replacement for vmstat, iostat, netstat, nfsstat and ifstat. Dstat overcomes some of their limitations and adds some extra features, more counters and flexibility. Dstat is handy for monitoring systems during performance tuning tests, benchmarks or troubleshooting.


    Dstat allows you to view all of your system resources instantly, you can eg. compare disk usage in combination with interrupts from your IDE controller, or compare the network bandwidth numbers directly with the disk throughput (in the same interval).

    Dstat Features

    * Combines vmstat, iostat, ifstat, netstat information and more
    * Shows stats in exactly the same timeframe
    * Enable/order counters as they make most sense during analysis/troubleshooting
    * Modular design
    * Written in python so easily extendable for the task at hand
    * Easy to extend, add your own counters (please contribute those)
    * Includes about 10 external plugins to show how easy it is to add counters
    * Can summarize grouped block/network devices and give total numbers
    * Can show interrupts per device
    * Very accurate timeframes, no timeshifts when system is stressed
    * Shows exact units and limits conversion mistakes
    * Indicate different units with different colors
    * Show intermediate results when delay > 1
    * Allows to export CSV output, which can be imported in Gnumeric and Excel to make graphs

    Dstat External plugins

    Here are the existing plugins

    * dstat_app - the most expensive process on the system
    * dstat_battery - the percentage of battery charge (needs ACPI)
    * dstat_cpufreq - the CPU frequency (needs ACPI)
    * dstat_dbus - the number of dbus connections (needs python-dbus)
    * dstat_freespace - see the disk usage per partition
    * dstat_gpfs - the GPFS read/write IO
    * dstat_gpfsop - the GPFS filesystem operations
    * dstat_nfs3 - the NFS v3 client operations
    * dstat_nfs3op - the extended NFS v3 client operations
    * dstat_nfsd3 - the NFS v3 server operations
    * dstat_nfsd3op - the extended NFS v3 server operations
    * dstat_postfix - counters of the differnt queues (needs postfix)
    * dstat_rpc - RPC client calls
    * dstat_rpcd - RPC server calls
    * dstat_sendmail - counters of the queue (needs sendmail)
    * dstat_thermal - CPU temperature
    * dstat_utmp - number of utmp sessions (needs python-utmp)
    * dstat_wifi - wireless link quality and signal/noise ratio (needs python-wifi)

    Install Dstat in Ubuntu

    sudo aptitude install dstat

    This will complete the installation.

    dstat Syntax

    dstat [-afv] [-cdgilmnpsty] [-D..] [-I..] [-N..] [delay [count]]

    If you want to use dstat just use the following command

    dstat

    Output looks similar to the following screen

    Dstat Examples

    Using dstat to relate disk-throughput with network-usage (eth0), total CPU-usage and system counters:

    dstat -dnyc -N eth0 -C total -f 5

    Checking dstat's behaviour and the system's impact on dstat:

    dstat -taf --debug

    Using the time plugin together with cpu, net, disk, system, load, proc and topcpu plugins:

    dstat -tcndylp -M topcpu

    this is identical to

    dstat -M time,cpu,net,disk,sys,load,proc,topcpu

    Using dstat to relate cpu stats with interrupts per device:

    dstat -tcyif

    Ubuntu: Only Ubuntu

    andLinux.org -- Run Linux natively inside Windows

    Une version d'Ubuntu basée sur coLinux pour lancer facilement des applications Linux sous Windows

    open-source: del.icio.us tag/open-source

    Page 1 | Next >>