« Posts tagged debian

Debian GNU/Linux as Enterprise Desktop #2 – iSeries Access

iSeries access is needed if you have an AS400 or Iseries, so we can start installing...

You need the following packages:

iseriesaccess_6.1.0-2_i386.deb
libmotif3
libstdc++5

install with apt-get or what way you want, then you need to create a file like

/etc/ld.so.conf.d/iseriesaccess.conf

that must contain this line:

/opt/ibm/iSeriesAccess/lib

Now run

user@linux$ sudo ldconfig

Edit file /etc/locale.gen and uncomment line for your lang (for me is “it_IT ISO-8859-1” )
And generate languages with :

root@linux#  locale-gen 

Now setup general emulator options

user@linux$ /opt/ibm/iSeriesAccess/bin/setup5250 

(especialy to column separator)

You are finished... now you can run session with:

user@linux$ /opt/ibm/iSeriesAccess/bin/ibm5250 -LANGID "your_lang" "as400_system"

where "your_lang" is language you specified before in /etc/locale.gen, for me is IT_it
and "as400_system" is ip address or hostname of yout iSeries.

Debian GNU/Linux as Enterprise Desktop #1

Hi,
today I want to tell you how I've deployed my first linux Client in our network.

The goal is to have a "stable" client joined in our active directory domain with all standard application used so let's start.

The first things to do after installing and "tuning" the system, removing all not-useful apps is to join this workstation to the Active directory domain...no, don't worry.... there's a great tool from Likewise that help you.
Download the DEB package (I've used Bitrock installer) for both command line version (required) and GUI (optional but useful) and install first the CLI then the GUI.
Be sure you can ping your domain controller and run as root:

/opt/likewise/bin/domainjoin-gui

fill all requested field, and join your domain.
Now to login with your "domain account" you have to use the format "domain\username"....this suck, but there's a solution;
edit the file /etc/likewise/lsassd.conf and uncomment the line:
assume-default-domain = yes
edit also /etc/samba/smb.conf and change the default "workgroup" value with your domain name.

Stay tuned;
next time I'll explain how to install and configure Lotus notes "native" and IBM Iseries access for linux.

Asus eeebox as squid proxy

Yesterday I'ts arrived the Asus EeeBox model b202 black edition

My goal is to use this compact and very very silent appliance as a linux proxy; so I've to discard all preinstalled system and install a fresh Debian lenny.

First of all you have to choose the installation type and you have 3 way:

1- Usb Pendrive

2- Usb cdrom

3- PXE network

The first I've tried (usb pendrive) fails to boot, I don't know why but after some try I can't boot from USB pendrive; but for me is not a problem; I've also an Asus USB CD/DVDrw so I've tried to use the Debian Lenny net install cd.

Unfortunately debian Lenny installer don't recognize correctly the network card Realtek r8169, and the nework won't work...

Thinking....

Solution: use an USB netowork adapter...

Searching on my desk...

I've found a  Sitecom LN-029 that work perfectly on linux, so the installation now can start.

Install Debian without any task, so deselect "standard system" and "Desktop".

After rebooting system you can install squid and ssh so:
apt-get update && apt-get install squid squidGuard ssh

That's all, now configure squid and squidguard to fit your needs.

Backup virtual machines with Vmware consolidated Backup

To backup entire virtual machine while are running, you have to use the VBC provided by vmware.
this is a commandline tool that speaks with your VirtualCenter and tell it to create a Snapshot of a virtual machine, then detach it and copy the vmdk files to a location.

Take a look here http://www.vmware.com/products/vi/consolidated_backup.html to understand how it work.

the sintax of the command is like this:

vcbmounter.exe -m nbd -h yourvitualcenter.yourdomain -u username -p password -a name:VMname -t fullvm -r pathwheretosave

With "-m nbd" you can backup your Vm through an ethernet instead of a FibreChannel SAN connection.

Using Vmware webaccess under linux and Firefox 3

The only way to have a working vmware console under linux, is using "webaccess" or connecting via msRDP to a win client .

Let's start setting up webaccess plugin.

Open you r *zilla browser and point to http://yourvirtualcenter.yourdomain and don't worry about "usupported browser message"; I've made this under Iceweasel on Debian Squeeze.
Try to open a virtual machine's console; you'll be asked to install a plugin, but unfortuantely the plugin installation fails.

How to solve this problem...

Frist install libexpat library.
Under  Debian Squeeze (and all debian like distros):

  1. apt-get update
  2. apt-get install libexpat1
  3. ln -s /usr/lib/libexpat.so.1 /usr/lib/libexpat.so.0

Go another time to your virtualcenter webaccess and now you can install the pluging and open the console.