linux

You are currently browsing the archive for the linux category.

I’m trying to get VMWare Server 1.0.6 working on Intrepid since I need it for my day to day work. Here’s a quick how to :

  • Download VMWare server from VMWare website. VMWare server is free, but you need serial number which can be requested by registering to -VMWare. Extract the source, it will create a directory called vmware-server-distrib
  • Download VMWare patch from from here.
  • To install VMWare, you’ll need linux-headers, build-essentials, and xinetd. Download those from repo by executing the following

$sudo apt-get install build-essential linux-headers-2.6.27-7 xinetd

Note that the version of your linux-headers may differ. Up to now, my intrepid uses kernel 2.6.27-7-generic.

  • Go to the vmware distrib directory, and execute the ./vmware-install.pl

$cd vmware-server-distrib
$sudo ./vmware-install.pl

Just use the details, but note that when you’re asked if you’d like to run the vmware-config.pl, select [no]

  • Extract the vmware-patch

$gunzip < vmware-update-2.6.27-5.5.7-2.tar.gz | tar -xvf -

  • Go to the update directory and execute the patch script

$cd vmware-update-2.6.27-5.5.7-2
$sudo ./runme.pl

The script will patch the source, and ask whether or not you want to run the vmware-config.pl script. This time, select [yes]. While running the script, I accepted all the defaults value.

I assume that you can configure networking on your own.

Environment :
- Ubuntu 8.10 Intrepid Ibex running kernel 2.6.27-7-generic

Tags: ,

I’ve been playing with Ubuntu Intrepid Ibex for 2 days now, and I could say that it’s definitely a significant improvement. Here’s a few thing that I’ve noticed during these short time of period

  • Network Manager Improvement

Ubuntu recognizes the mobile broadband boom, and lots of people using 3G network to browse the internet. In the last release (Hardy), configuring 3G could be a hassle, especially for those who are new to linux. Now in Intrepid, it recognizes my E220 modem immediately after I plugged it in, launch a wizard to help me choose which provider I’m using, then create a network configuration for that. All I need to do is to configure it to use my username.

The beauty of it? It doesn’t even need additional software. (Well, 3G doesn’t require additional software in Hardy  for 3G, but those requires configuration on wvdial, ppp, etc). Integrating it to network manager is brilliant. Back in hardy, everytime I launch Firefox after connecting to 3G network, it wasn’t aware that I’m online and I have to manually untick the “Work Offline” mode. Now, that pain is gone

There’s also additional section in network manager for DSL connection, but since I don’t have DSL connection, I can’t give it a try.

  • Tabbed File Manager

Intrepid includes Nautilus FM version 2.24.1, now comes with tabs. Just like a browser, now you can browse to different part of filesystem, without have to open several instances of Nautilus. Good feature.

  • Encrypted private folder

This is a feature to allow user to create an encrypted folder in their own home directory. Unfortunately, it doesn’t comes by default. You have to install it manually (use apt-get or synaptic to install ecryptfs-utils). Worse, you can only configure it from terminal (which probably the first reason why Ubuntu doesn’t include it by default in the first place). Before they can put a good interface into this, I think I’ll stick with TrueCrypt.

There are some other features available like private filesystem, integrated USB startup disk creation, etc, but I haven’t given them a try yet. Will keep posted on that.

Any of you discover a new feature you’d like to share? :)

Tags: ,

Intrepid Ibex

Intrepid Ibex is out !!!

Getting a new (well not new, actually) laptop, Dell Latitude D630, and after finished downloading the new Ubuntu Intrepid Ibex, I decided to give the new Ubuntu a try.Here’s a quick review :

  • Installation

Installation is fine, as with the last Hardy, it’s also an easy install. Aside from partitioning and time zone, you can probably accept all the default setup. It took me about 30 minutes to install the whole system. Booting is fast, I think it’s slightly faster than my current Hardy (well, probably because my Hardy is already bloated with additional services :D )

  • Devices

D630 uses a restricted (proprietary) driver for wireless card, i.e. Broadcomm Wireless. Once you activate the driver and restart the system, it works like charm (probably won’t need restart, but I don’t want to get into a hassle trying to configure it. besides, restarting take less than a minute :p). Display gets 1200×800 out of the box, and is fine. Bluetooth and sound works. One thing that bug me is the that the touchpad response is very slow, probably need some tweaking for that later. Other than that, everything works perfectly !!

  • Printing

Continuing hardy tradition, printing is extremely easy to setup. Once I enable printer “Show printers shared by other systems” in System -> Administration -> Printing -> Server -> Settings, then I click new, it detects both Xerox Document Center 236 and HP Color Laserjet 3800 available in my office network. I already setup the Xerox using Generic PCL 6/PCL 6XL Foomatic driver, and it prints fine.

  • To Do List

Last thing I need to configure is vmware. Back in hardy, it required some patches, which will probably the same case with this one. Also will need to check whether presentations work ok to projector.

All in all, this release is satisfying. Back when Hardy is initially released, I need to tweak some stuffs to get sound working in my Compaq V3000 series.

Let’s get Intrepid :D

Tags: , ,

Saya punya satu klien dengan jaringan kecil (10 client Windows) dan satu buah Ubuntu server sebagai router + DNS + DHCP + file server. Salah satu requirement yang diminta adalah network backup, dan network backup itu harus bisa diverifikasi oleh client yang bersangkutan (dengan kata lain, dia bisa liat langsung hasil backup-nya).

Untuk network backup, sebenarnya ada beberapa kandidat, antara lain Bacula dan Amanda (secara keduanya gratis). tapi constraint yang saya temukan (dan saya belum temukan solusinya) adalah, karena bacula dan amanda menggunakan protokol samba untuk windows backup, fitur incremental backup jadinya tidak bisa dicapai (entah saya yang tidak bisa configure juga barangkali). Sesudah browsing sana sini, akhirnya ketemu solusinya, gabungan antara DeltaCopy di client dan rsync di server.

Langsung saja ke konfigurasi-nya ya:

Konfigurasi di server

  • Install rsync dan xinetd di server (rsync secara default sudah ada di ubuntu server, tapi just in case, tetap saya tambahkan di sini )

$sudo apt-get install xinetd rsync

  • Buat file /etc/xinetd.d/rsync dengan isi kurang lebih seperti ini :

service rsync
{
disable        = no
socket_type    = stream
wait        = no
user        = root
server        = /usr/bin/rsync
server_args    = --daemon
log_on_failure    += USERID
}

  • Buat file /etc/rsyncd.conf dengan isi kurang lebih seperti ini :

log file=/var/log/rsyncd
pid file=/var/run/rsyncd.pid
[data]
comment = public archive
path = /data
use chroot = yes
lock file = /var/lock/rsyncd
read only = no
list = yes
uid = [user yang punya akses write ke path]
gid = [group membership dari user]
auth users =  [user yang akan diberikan akses]
secrets file = /etc/rsyncd.secrets
timeout = 600

dalam konfigurasi di atas, backup dari klien akan disimpan di folder /data, dan akan ditulis dengan user support

  • Buat file /etc/rscyn.secrets untuk menyimpan autentikasi username dan password dari rsync. Isi file itu dalam format [username]:[password], misalnya
  • username:password

  • Edit file /etc/default/rsync supaya berjalan dengan xinetd, pastikan berisi :
  • RSYNC_ENABLE=inetd

  • Restart xinetd server
  • /etc/init.d/xinetd restart
    Konfigurasi di Client

    • Download Deltacopy dari website DeltaCopy
    • Ekstrak file dan jalankan setup
    • Sesudah instalasi selesai, jalankan DeltaCopy Client
    • Buat satu profile, dan edit parameter-nya (server, path, folder yang ingin dibackup, schedule jika diperlukan, dsb). Hal yang menarik dari DeltaCopy adalah kemampuan untuk scheduling, serta incremental backup. Jangan lupa tambahkan username dan password yang didefinisikan di server pada DeltaCopy Client

    Untuk mapping hasil backup client dari Ubuntu ke Windows, saya pasang samba server di Ubuntu.

    Secara keseluruhan, konfigurasi-nya sangat mudah. Selamat mencoba :)

    Tags: , ,

    Since one of my responsibility at work is being pre-sales for Sun Identity Manager software, I need a demo environment ready in my laptop for proof-of-concept, presentation, demonstration, and testing purposes. Early on I usually use Tomcat Application Server to host the application. But being a Sun partner, wouldn’t it be nice if the apps is deployed on Sun Apps Server as well? :D. With the new Identity Manager version 8.0 coming to the market, I decided to set it up on Sun Apps Server, known as Glassfish.

    So here goes.

    • Install Sun Java JDK

    There are two alternatives for Java in ubuntu, i.e. OpenJDK and Sun Java JDK. In this environment I’m going to use Sun Java JDK.

    $sudo apt-get install sun-java6-jdk

    Having OpenJDK installed previously, we need to update the system to use the new JDK
    $sudo update-alternatives --config java

    • Install Glassfish Application Server

    $sudo apt-get install glasshfishv2

    By default, apt installs the apps server into /usr/share/glasshfishv2/ directory, and the web application folder goes to /var/lib/glassfishv2.

    • Start the application server

    $/usr/share/glassfishv2/bin/asadmin start-domain
    .: 7: Can't open /usr/share/glassfishv2/config/asenv.conf

    Now this is weird. I check the /usr/share/glasshfishv2/ and there is no config/ directory in the folder.
    For some weird reason, apt seem to forget to configure the application server (or maybe I do something wrong?). After I installed it, i didn’t check the installation, and shutdown my laptop immediately since I need to do something else. Only after I boot my laptop and trying to configure it, I noticed that there are something wrong.

    Since this is my first time using Glasshfish, I really don’t know my way around :D. Ask Google, and all references failed. Trying dpkg-reconfigure, failed as well. Being lazy as I am, I took the shortcut, reinstall the damn thing :D
    $sudo apt-get install --reinstall glassfishv2

    Finally, there it is. I finally get it right. Fire up my browser and browse to http://localhost:4848/ the admin page appears.

    Tags: , ,

    « Older entries