Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

09 July 2008

Moving to 64bits Ubuntu 8.04

I've decided to move my Ubuntu 8.04 to Ubuntu 8.04 64bits .

I've created another free partition for the installation. Install the Ubuntu 8.04 64bits and select user migration.

Mozilla Firefox, Mozilla Thunder Bird and Pidin working fine. At this moment certain add-ons in Mozilla Firefox not working. OK not all. The one that I want. :)

08 March 2008

My Little Shell Script

I have a script that I used for many years as a tools for migration, installation and configuration in Linux and FreeBSD. I love my little script. It will read my input file, count the number of lines, read the lines one by one, cut the line and put it into input that I want. Echo it back into template that I've define and loop and loop until end of the lines.

That's my little shell script.

Quote is my shell script is a migration script of vpopmail passwd file into Linux passwd/shadow format so I can run migration tools from padl nss_ldap to create LDIF format (PosixAccount) that suitable to be used with DBmail.

But, Bro root script much more simpler that this and one liner if it can be. Hehehe.



#!/bin/bash
NOUID=500
TOTALL=`wc -l $1 | awk '{print $1}'`
KIRA=1
while [ $KIRA -le $TOTALL ]
do
echo "$KIRA"
BARIS1=`head -$KIRA $1 | tail -1`
NAMAUSER=`echo $BARIS1 | cut -d: -f1`
KATALALUAN=`echo $BARIS1 | cut -d: -f2`
NAMAPENUH=`echo $BARIS1 | cut -d: -f5`
NOUID=`expr $NOUID + 1`
#
### rpm:x:37:37::/var/lib/rpm:/sbin/nologin
echo "$NAMAUSER:x:$NOUID:12:$NAMAPENUH:/home/$NAMAUSER:/sbin/nologin" >> password$$.txt
echo "$NAMAUSER:$KATALALUAN:13941:0:99999:7:::" >> shadow$$.txt
#dbmail-users -v -a $NAMAUSER -wlaluan123 -p md5-base64 -m 100M -s $BARIS1
#
KIRA=`expr $KIRA + 1`
done
exit


12 January 2008

MyGOSSCON 2007 Buletin Pagi TV3 7 Dec 2007

More information for the OSCC products.

MyWorkSpace
http://myworkspace.oscc.org.my/

MySpamGuard
http://myspamguard.oscc.org.my/

SongketMail
http://www.songketmail.org/

SongketMail is a fork by community for the products above.

20 January 2007

Bila pasang Horde Groupware memang banyak cabarannya. Tips yang aku boleh tinggalkan.

Masalah phpize not found.

Pastikan pasang PEAR dan PECL dalam pada itu juga pasang sekali php-devel sebab pecl kena compile module. Hendak compile module mulalah perlu anak-anak dan pakcik-pakcik yang libat dalam group Development. Kesimpulannya waktu install Centos pasanglah sekali group development.

DOM XML untuk PHP pun satu hal. Oleh kerana Horde hendak pakai PHP5 jadi timbul masalah hendak cari DOM ini. Pastikan repo centosplus adalah enabled.

Waktu config fail hati-hati. amalkan untuk remark atau hash sahaja.

Google

My Blog List