Saturday, November 25, 2006

vsftp

With vsftpd started, I still can't login correct via ftp.
With error of "500 OOPS:...cannot change directory..." something.


To solve this problem, "Disable SELinux protection for ftpd daemon" in "System->Security Level and Firewall->", SELinux->FTP tag,

Eclipse on FC6


It's a good news for programmer on Linux. Eclipse 3.2.0 is bundled in FC6.


If you haven't select it when installation, you can add it from "Application->Add/Remove Software->Browse->Development" and check "Eclipse". It's much more easy then before.

Friday, November 24, 2006

Install Firefox 2.0 & Flash Player plug-ins

Downloaded and installed Firefox 2.0. But it cannot be started with the following error message:

/usr/local/firefox/firefox-bin: error while loading shared libraries:
libstdc++.so.5: cannot open shared object file: No such file or directories
Then, have to install libstdc++ using the following command:

$yum install /usr/lib/libstdc++.so.5

Finally, install Flash Player for Firefox. Un-luckly, both the auto and manual installation cannot work on my set. Then, searched from internet and found it work:
$ wget http://macromedia.mplug.org/macromedia-i386.repo
$ sudo cp macromedia-i386.repo /etc/yum.repos.d/
$ sudo yum install flash-plugin


Now, both Firefox and Flash Player work fine. But...actually I don't know the commands used.

Wednesday, November 22, 2006

Re-install FC6


In order to run FC6, bought a Compaq notebook from second hand market, Armada 100, with upgraded hard-disk of 30G.

Just finished installation, look great.

Saturday, November 04, 2006

Port Blocked

Double checked my web page, found that it can be reached by other PC within my router, but can't be reached from outside. Finally, found that I have to change the Port# from outside, and set my router to forward it (say 1025) to Port 80 of my server. May be the Port 80 is blocked by the ISP.

Now, my server can be reached from outside, with port 1024 specified.
Such as: http://XXX.XXX.XXX.XXX:1024/

Thursday, November 02, 2006

gtk2 & glib installation !!!

I'm going to install GIMP. But I have to install the dependance, gtk2 & glib, first.

Can anybody tell me how to install glib and the dependance? I can't find any clear direction!

Sunday, October 29, 2006

JDK

Downloaded and installed "jdk-1_5_0_09-linux-i586.rpm" , when type java in Terminal, the following message came-out:
libgcj-java-placeholder.sh

This script is a placeholder for the /usr/bin/java
master link required by jpackage.org conventions. libgcj's
rmiregistry, rmic and jar tools are now slave symlinks to these
masters, and are managed by the alternatives(8) system.

This change was necessary because the rmiregistry, rmic and jar tools
installed by previous versions of libgcj conflicted with symlinks
installed by jpackage.org JVM packages.
Usage: gij [OPTION] ... CLASS [ARGS] ...
to invoke CLASS.main, or
gij -jar [OPTION] ... JARFILE [ARGS] ...
to execute a jar file
Try `gij --help' for more information.

I have to remve libgcj and related dependencies:
# rpm -e gcc-java-3.4.2-6.fc3.i386
# rpm -e libgcj-devel-3.4.2-6.fc3.i386
# rpm -e libgcj

Finally, I have to update /etc/profile:
  1. Edit /etc/profile,add the text:
    PATH=$PATH:/usr/java/jdk1.5.0_03/bin
    export JAVA_HOME=/usr/java/jdk1.5.0_03
    export CLASSPATH=$JAVA_HOME/lib:.

  2. Make the new profile take effect:
    source /etc/profile
Now, the JDK set corrective.
[root@localhost ~]# java -version
java version "1.5.0_09"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_09-b03)
Java HotSpot(TM) Client VM (build 1.5.0_09-b03, mixed mode, sharing)

===========================================================
I want to know if my modification correct or not?
Is it any other method which no need erase libgcj? Or, any side effect caused by erasing of libgcj?

Saturday, October 28, 2006

XAMPP installed


XAMPP installed, it can be view in another PC inside the same WAN. It's up and running now.

XAMPP

It's a easy-install package include Apache+MySQL+PHP, XAMPP .

Re-installed FC3

Finished re-installed FC3.


Just wonder what difference between FC5 and FC3, on hardware requirement. Why I can't install FC5 !!!?

Wednesday, October 25, 2006

Start My Note

I'm a frash beginner in Linux.


I wnat to learn Linux by setting-up a server by myself, it's not a easy job for me.

I the passed days, I tried to install Fedora Core 5 on my aged notebook, Acer 340T. But it always hang-up on difference step. Will try to install older version, FC3, again later. Hope I can start it.