fan 的个人资料searching for hope照片日志列表 工具 帮助

日志


5月20日

setup tomcat with eclipse

download tomcat from http://www.sysdeo.com/eclipse/tomcatplugin
setup in eclipse
Window->Preferences
version
tomcat home
tomcat base
JVM settings -> classpath -> JAR/ZIP -> JAVA_HOME/lib/tools.jar
'sudo echo $JAVA_HOME' check the home of java
Tomcat Manager App -> setup username and password

under /opt/tomcat/conf
kavinke@pony:/opt/tomcat/conf$ sudo chmod +r server.xml
kavinke@pony:/opt/tomcat/conf$ sudo chmod +r context.xml
kavinke@pony:/opt/tomcat/conf$ sudo chmod +r web.xml
kavinke@pony:/opt/tomcat/conf$ sudo chmod 664 tomcat-users.xml

5月18日

ubuntu tips


install pidgin
1. uninstall gaim
sudo apt-get remove gaim gaim-data
2. install tk8.4
sudo apt-get install tk8.4
3. install pidgin
sudo dpkg -i pidgin_2.0.0-1_i386.deb

install fakeroot
sudo apt-get install fakeroot


5月17日

mysql usage

1. login
C:\Program Files\MySQL\MySQL Server 6.0\bin>mysql -u root -p mysql
Enter password: ****
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 6.0.0-alpha-community-nt-debug MySQL Community Server (GPL)
Type 'help;' or '\h' for help. Type '\c' to clear the buffer.
2. the first command
mysql> select version(),current_date();
3. commands of database
mysql> show databases;
mysql> use database_name;
mysql> create database database_name;
mysql> drop database database_name;
mysql> show tables;
mysql> describe table_name;
mysql> grant all privileges on mytest.* to kefan@localhost identified by "12344321";
mysql> create table user_info (id int(8) primary key, name varchar(10),
    -> first_name varchar(10), last_name varchar(10),
    -> address1 varchar(30), address2 varchar(30),
    -> phone_home varchar(20), phone_cell varchar(20));
 
 
5月7日

I will never leave you, nor forsake you

But we have this treasure, that the excellency of the power may be of God, and not of us. Troubled on every side, yet not distressed; perplexed, but not in despair; persecuted, but not forsaken; cast down, but not destroyed; always bearing about in the body the dying of the Lord Jesus, that the life of Jesus might also be made manifest in our body. For we which live are always delivered unto death for Jesus' sake, that the life of Jesus might also be made manifest in our mortal flesh.