2012年5月15日 星期二

pgAdmin Install

Postsql DB

http://blog.secaserver.com/2012/01/linux-install-configure-postgresql-with-pgadmin/




3 . pgAdmin Install :
Install:
b . rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt

Ref:
http://blog.secaserver.com/2012/01/linux-install-configure-postgresql-with-pgadmin/

最後:
0 . 先裝 pgdg91 from http://ag-up.com/?p=524

2 . yum clean


b . 再裝 postsql
{{{
yum install -y postgresql* 
}}}

重要篇(important)
http://www.davidghedini.com/pg/entry/install_postgresql_9_on_centos
http://www.tekography.com/tutorials/linux/postgresql-database-server-9-1-centos/

office
http://www.pgadmin.org/download/rpm.php



c .
root@localhost pgAdmin]# yum search pgAdmin
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror01.idc.hinet.net
* extras: mirror01.idc.hinet.net
* rpmforge: mirror.fairway.ne.jp
* updates: mirror01.idc.hinet.net
=================================================================================== N/S Matched: pgAdmin ====================================================================================
pgadmin3_91-debuginfo.x86_64 : Debug information for package pgadmin3_91
pgadmin3_91-docs.x86_64 : Documentation for pgAdmin3
pgadmin3_91.x86_64 : Graphical client for PostgreSQL
phpPgAdmin.noarch : Web-based PostgreSQL administration
Name and summary matches only, use "search all" for everything.
[root@localhost pgAdmin]# yum install pgadmin3_91.x86_64
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror01.idc.hinet.net
* extras: mirror01.idc.hinet.net
* rpmforge: mirror.fairway.ne.jp
* updates: mirror01.idc.hinet.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package pgadmin3_91.x86_64 0:1.14.2-1.rhel6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================
Installing:
pgadmin3_91 x86_64 1.14.2-1.rhel6 pgdg91 6.0 M
Transaction Summary
=============================================================================================================================================================================================
Install 1 Package(s)




2012年3月19日 星期一

Android Install

Reference: http://code.google.com/p/androidbmi/wiki/InstallAndroid

1. Download Java SDK 6
http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-download-346242.html

2. Download Eclipse
Eclipse IDE for Java EE Developers, 212 MB
Eclipse IDE for Java Developers, 128 MB

3. Install Android 開發工具 (ADT)。
in eclipse then choose install Available Software
Type -> http://dl-ssl.google.com/android/eclipse/site.xml
and it will fetching

Troble shoot {{{
To fix this problem, follow these instructions.
  1. In the Eclipse window, go to Help -> Install New Software
  2. Enter the URL https://dl-ssl.google.com/android/eclipse/ into the textbox.
  3. Click Add button.
  4. List of Developer Tools will be shown:- Android DDMS, Development Tools, Hierarchy Viewer and Traceview
  5. Uncheck “Contact all update sites during install to find required software” (this is causing the error message above).
  6. Click Next button.
  7. Click Finish button to start the installation process.

}}}


4.


OTHER PROBLEM
{{{
J2EE install have problem in repository


}}}

Reference{{{
http://www.cnblogs.com/qinpengming/archive/2011/10/19/2217948.html
}}}

2012年3月8日 星期四

IOCTL




This program opens a tty (serial port) and then calls ioctl with the fd of the serial port, the command TIOCMGET (listed as get the status of modem bits) and a pointer to an integer into which the result is returned.


Reference: