Intrepid Ibex
Oct 31st
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
)
- 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
Small Network Backup dengan DeltaCopy dan rsync
Oct 16th
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
username:password
RSYNC_ENABLE=inetd
/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
Glassfish Installation On Ubuntu Hardy
Sep 11th
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?
. 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
. 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 ![]()
$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.
Then We Came To The End
Sep 9th
Title : Then We Came To The End
Author : Joshua Ferris
Price : SGD 17.66 (Bookweb Kinokuniya)
We thanked each other. It was customary after every exchange. Our thanks were never disingenous or ironic. We said things for getting things done so quickly, thanks for putting in so much effort. We had a meeting and when a meeting was over, we said thank you to the meeting makers for having made the meeting. Very rarely did we say anything negative or derogatory about meetings. We all knew there was a good deal of pointlessness to nearly all the meetings and in fact one meeting out of every three or four was nearly perferctly without gain or purpose but many meeting revealed the one thing that was necessary and so we attended them and afterward we thanked each other (page 5)
With the decline of the dot-com era, layoffs are on everyone’s door, including a Chicago-based advertising company, where this novel is situated. Capturing the life of the employees in a *probably* typical american(if not all) corporations, bringing gossips, secret romance, stress, frequent breaks in a humorous way. It’s written in such details, if you’re a white collar worker, you’ll probably see yourself here and there, laughing and smiling at the gossips or pranks you probably have witnessed (or even involved in) on your work history.
Joshua Ferris successfully capture how workers think, reason, and feels at the same time. It may be based on an american company, yet I found his description familiar, even dead-on on some parts. There is Karen Woo, who is always ahead on gossip, there is the boss, Lynn Mason who has breast cancer everyone pretends not to talk about (although it’s always be part of coffee-break gossip), there is Joe, that guy who never involve with anyone but surprisingly close to the boss. You have a colleague whose character you hate the most, you name it, this book have it
.
A real entertainment.
Community Linux on the rise?
Sep 1st
PCWorld released a recap of a recent study showing a stronger ground community-based linux distributions gains in the enterprise market. Quoted from the study :
“Community distributions such as CentOS, Debian, and Gentoo are gaining enterprise respect for quality code, stability, response, and of course, for being “free as in beer” and “free as in freedom”. These community distributions are becoming a more significant market factor with growing enterprise acceptance and use of them”
Apparently more enterprises, especially in Europre, are willing to take chances running community-based distro (as opposed to commercial distro like RHEL or SuSE) using their internally capable resource for system administration, support, as well as application migration, although sometimes they still seek assistance from third-party consultant, which turns out to be cheaper than paying support from commercial-based distro.
Is this the end of commercial-based distro? Well it may be is too early to say so, but commercial distro should start reviewing their business model.
Recent Comments