Wednesday, June 25, 2008

finally, resigned....

Finally, I am resigned from my regular job as lecturer. I am happy to be a lecturer, but classic reason: differences in Vision and Mission of Education, makes me to reconsider my position in Unika.

Ready for hunting another regular job! Fortunately, I got other incomes (much bigger actually). No worries for a while........

Friday, May 30, 2008

ISPConfig preparation

I am trying to install ISPConfig, see this link for the preparation. http://www.howtoforge.org/perfect-server-ubuntu8.04-lts-p4. I start at step 9.

I got trouble in step 12. Since this is VPS and the filesystem used is weird to me, I skip it first, see whether ISPConfig can still work without installing quota.

Today, I stopped at step 14. Continue later......

Monday, May 26, 2008

Upgrade dapper to hardy

After dapper image is loaded to my server, now the time for upgrade begin:

1. root@server:~# vim /etc/apt/sources.list
delete all lines, then type these:

deb http://us.archive.ubuntu.com/ubuntu dapper main restricted multiverse universe
deb http://us.archive.ubuntu.com/ubuntu dapper-updates main restricted multiverse universe
deb http://us.archive.ubuntu.com/ubuntu dapper-security main restricted multiverse universe

deb-src http://us.archive.ubuntu.com/ubuntu dapper main restricted multiverse universe
deb-src http://us.archive.ubuntu.com/ubuntu dapper-updates main restricted multiverse universe
deb-src http://us.archive.ubuntu.com/ubuntu dapper-security main restricted multiverse universe

2. run these commands to update your changes above.

root@server:~# apt-get update
root@server:~# apt-get upgrade
root@server:~# apt-get dist-upgrade

3. install update-manager-core.

root@server:~# apt-get install update-manager-core

4. do the upgrade, and follow the instructions there.

root@server:~# do-release-upgrade -d

5. you may clean up the packages archive using:

root@server:~# apt-get clean


Now, you have dapper upgraded to hardy. Time to play with my upgraded vps now!

Note:

There is a locale setting error occurs like in the previous vps provider. However, the soltion I wrote in the past is not working this time. I found new solution here: https://bugs.launchpad.net/ubuntu/+source/langpack-locales/+bug/63687

Don't forget, in vps usually you access the server using root. If you have access other than root, don't forget to put sudo before the commands or sudo password root and sudo su.

Change VPS provider!

Since somehow paypal refused my payment to vpsfarm. I need to find new vps provider. I choose ihostvps.com. Quite good offer and great in handling tickets.

I start again my experience with vps. First of all, i install the ubuntu image. Old version, dapper, but I am planning it to upgrade to hardy.

Wait and see! ihost comes with LXAdmin cp, so i can just set my root password directly. Now, I could not wait to start my project with it.

Thursday, February 14, 2008

setting JAVA_HOME in MacOS X for running geronimo

when trying geronimo, I had problem with the JAVA_HOME variable. The solution is to execute this command before running the geronimo:

// go to the bin directory of geronimo, depends on your own location
daniel-adinugrohos-macbook-pro:~ adinugro$ cd Desktop/geronimo/geronimo-tomcat6-jee5-2.0.2/bin

// set JAVA_HOME varible
daniel-adinugrohos-macbook-pro:bin adinugro$ export JAVA_HOME=/Library/Java/Homedaniel-adinugrohos-macbook-pro:bin

// execute the geronimo
adinugro$ ./startup.sh

that's all. check whether your geronimo running from your fav browser and go to http://localhost:8080