SmileFace
          與java一起走過的日子
          posts - 41,  comments - 8,  trackbacks - 0
          centos

          0. /sbin/ifconfig

          1. mysql :

             *remove: yum -y remove mysql mysql-server
             *insatll: yum -y install mysql mysql-server
           
             *check: chkconfig --list | grep mysql
            
             *Set to Start on Boot:
                 chkconfig mysqld on

             *start service:
                 service --status-all
                 service mysqld start
                 check:  mysqladmin version    
           
             *setup root password:
              mysqladmin -u root password ***(this is new password)

              *run:
              mysql -u root -p

              *exit:
              \q

              *commands:ep t
              show databases;

              drop database ***;

          2. Tomcat:

              *install:
                  yum -y install tomcat5 tomcat5-webapps tomcat5-admin-webapps

              *You can find these packages using
                  yum list available tomcat5*
                  or
                  yum search tomcat5

              *Start:
                  service tomcat5 start
                 
              view:   http://localhost:8080/.

              *location:r
                   /usr/share/tomcat5 .
                  *setting:
                      "$CATALINA_HOME".

          3. JDK:

               * Originally, centOS only install jre. so we need install jdk by ourselves.
               *To install from the command line:
          $yum install java-1.6.0-openjdk-devel

          You can also install all the OpenJDK 6 packages, including the API documentation, by using the wildcard java-1.6.0-openjdk*.

                *location:         /usr/lib/jvm...
                *check:  java -version
                  






          posted on 2009-08-13 07:31 SmileFace 閱讀(178) 評論(0)  編輯  收藏 所屬分類: Java-Studying

          <2009年8月>
          2627282930311
          2345678
          9101112131415
          16171819202122
          23242526272829
          303112345

          常用鏈接

          留言簿(2)

          隨筆分類

          隨筆檔案

          文章檔案

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 博罗县| 滕州市| 任丘市| 阳新县| 龙口市| 鄂伦春自治旗| 达日县| 永安市| 高青县| 淄博市| 博兴县| 城口县| 永胜县| 洪雅县| 广宁县| 湛江市| 上栗县| 建宁县| 克什克腾旗| 旅游| 三穗县| 济南市| 山阴县| 屏东市| 南宁市| 常州市| 丁青县| 南通市| 红河县| 盘山县| 攀枝花市| 龙江县| 临夏县| 大石桥市| 广汉市| 八宿县| 神木县| 民乐县| 镶黄旗| 珲春市| 恩施市|