<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    paulwong

    #

    Ubuntu下徹底卸載mysql

    1、刪除 mysql

    1 sudo apt-get autoremove --purge mysql-server-5.0
    2 sudo apt-get remove mysql-server
    3 sudo apt-get autoremove mysql-server
    4 sudo apt-get remove mysql-common (非常重要)
    上面的其實有一些是多余的,建議還是按照順序執行一遍

    清理殘留數據

    dpkg -l |grep ^rc|awk '{print $2}' |sudo xargs dpkg -P


    2、安裝 mysql

    1 sudo apt-get install mysql-server
    2 sudo apt-get install mysql-client
    3 sudo apt-get install php5-mysql(安裝php5-mysql 是將php和mysql連接起來 ) 



    一旦安裝完成,MySQL 服務器應該自動啟動。您可以在終端提示符后運行以下命令來檢查 MySQL 服務器是否正在運行:

    1 sudo netstat -tap | grep mysql

    當您運行該命令時,您可以看到類似下面的行:

    tcp 0 0 localhost.localdomain:mysql *:* LISTEN -
    如果服務器不能正常運行,您可以通過下列命令啟動它:


    1 sudo /etc/init.d/mysql restart

    3、進入mysql

    $mysql -uroot -p 管理員密碼
    配置 MySQL 的管理員密碼:

    1 sudo mysqladmin -u root password newpassword


    4、恢復數據庫

    mysql -p < html5canvas-20130930-0816.sql 


    http://www.yesky.com/187/1754687.shtml

    TOMCAT數據源
    http://136589219.iteye.com/blog/1572214

    posted @ 2013-07-21 21:24 paulwong 閱讀(1545) | 評論 (0)編輯 收藏

    NIO概念

    NIO是新IO,與老IO相比,老IO是通過STREAM來發送CHARACTER,新IO是通過CHANNL 發送BUFFER;老IO對于多條鏈接需要啟動多個線程處理,新IO只需一條線程即可處理多條鏈接;新IO是事件驅動。


    客戶端,非SELECTOR模式:
    //打開一個CHANNEL
    SocketChannel socketChannel = SocketChannel.open();
    socketChannel.configureBlocking(false);
    socketChannel.connect(new InetSocketAddress("http://google.com", 80));

    //等待可寫狀態
    while(! socketChannel.finishConnect() ){
        //wait, or do something else    
    }

    //寫資料
    socketChannel.write(buf);


    客戶端,SELECTOR模式:
    //打開一個CHANNEL
    SocketChannel channel = SocketChannel.open();

    //新建一個SELECTOR
    Selector selector = Selector.open();

    channel.configureBlocking(false);

    //將SELECTOR注冊到CHANNEL中
    SelectionKey key = channel.register(selector, SelectionKey.OP_READ);


    while(true) {

      //查詢可用狀態
      int readyChannels = selector.select();

      //狀態不可用
      if(readyChannels == 0) continue;

    }

      //狀態可用
      Set<SelectionKey> selectedKeys = selector.selectedKeys();

      Iterator<SelectionKey> keyIterator = selectedKeys.iterator();

      while(keyIterator.hasNext()) {

        SelectionKey key = keyIterator.next();

        if(key.isAcceptable()) {
            // a connection was accepted by a ServerSocketChannel.

        } else if (key.isConnectable()) {
            // a connection was established with a remote server.

        } else if (key.isReadable()) {
            // a channel is ready for reading

        } else if (key.isWritable()) {
            // a channel is ready for writing
            
    //提交所需處理的代碼
        }

        //移除所有KEY
        keyIterator.remove();
      }

    posted @ 2013-07-16 12:31 paulwong 閱讀(359) | 評論 (0)編輯 收藏

    ECLIPSE+MAVEN+TOMCAT7 PLUGING+JNDI

         摘要: 開發工具是ECLIPSE,由于是MAVEN WEB項目,不是ECLIPSE項目,測試用的如TOMCAT就不能使用平常的ECLIPSE加TOMCAT的方式了。只能用MAVEN的TOMCAT插件。 MAVEN的這個TOMCAT插件其實就是讓MAVEN去啟動一個內嵌的TOMCAT服務器,如果項目和這個TOMCAT關聯了,項目就可以部署上去。 內嵌的服務器功能擴展,是通過插件的配置進行的。如改...  閱讀全文

    posted @ 2013-07-15 13:51 paulwong 閱讀(2621) | 評論 (0)編輯 收藏

    J2EE+ECLIPSE+JETTY PLUGIN+JNDI DATA SOURCE

    需求:

    在ECLIPSE中,啟動JETTY,能部署多個WEB應用,應用間能共享JNDI 的數據源。

    Jetty/Feature/Jetty Maven Plugin
    http://wiki.eclipse.org/Jetty/Feature/Jetty_Maven_Plugin

    Speed Up J2EE Environment Setup With Jetty Maven Plugin
    http://owenou.com/2011/02/23/speed-up-j2ee-environment-setup-with-jetty-maven-plugin.html

    posted @ 2013-07-14 16:59 paulwong 閱讀(509) | 評論 (0)編輯 收藏

    SPRING DATA JPA

    從JPA到SPRING JPA,再到SPRING DATA JPA,SPRING 對DAO的支持能夠達到越來越簡練了,DAO只需聲明一個接口,就可以做所有數據庫操作。

    資源:

    使用 Spring Data JPA 簡化 JPA 開發
    http://www.ibm.com/developerworks/cn/opensource/os-cn-spring-jpa/


    spring-data-jpa-examples
    https://github.com/pkainulainen/spring-data-jpa-examples/tree/master/tutorial-part-one/src/main


    Spring Data JPA Tutorial
    http://www.petrikainulainen.net/spring-data-jpa-tutorial/





    posted @ 2013-07-13 00:40 paulwong 閱讀(345) | 評論 (0)編輯 收藏

    HTML5資源

    HTML5 Canvas初體驗之繪圖基礎
    http://www.e800.com.cn/articles/2012/0315/504978.shtml


    HTML5 Canvas Bezier Curve Tutorial
    http://www.html5canvastutorials.com/tutorials/html5-canvas-bezier-curves/


    HTML 5 Canvas
    http://www.w3school.com.cn/html5/html_5_canvas.asp


    RDF 簡介
    http://www.w3school.com.cn/rdf/rdf_intro.asp
    http://www.w3schools.com/rdf/rdf_intro.asp


    手機界面框架
    http://ionicframework.com/






    posted @ 2013-06-30 19:27 paulwong 閱讀(337) | 評論 (0)編輯 收藏

    LINUX資源

    !!!!!RHadoop培訓 之 Linux基礎課
    http://blog.fens.me/rhadoop-linux-basic/

    時間同步服務器NTP
    http://blog.fens.me/linux-ntp/


    http://gfrog.net/2008/01/config-file-in-debian-interfaces-1/


    Linux SHELL腳本 注釋
    http://www.dojocn.org/blog-1-67.html


    Ubuntu下無法安裝sun-java6-jdk的解決辦法
    http://witmax.cn/install-sun-java6-jdk.html


    UBUNTUN下安裝Tomcat
    http://wiki.ubuntu.org.cn/Tomcat

    查詢所有用戶
    grep bash /etc/passwd  


    用戶管理
    http://blog.csdn.net/warden2010/article/details/5132290
    http://linux.jboke.com/type99/art8/rl9.html
    !!http://www.computerhope.com/unix/uchown.htm



    posted @ 2013-06-27 22:51 paulwong 閱讀(341) | 評論 (0)編輯 收藏

    ANDROID APPS DATA資源

    http://stackoverflow.com/questions/10272155/getting-data-from-android-play-store


    https://developer.android.com/distribute/googleplay/promote/linking.html


    http://www.scriptrr.com/data-scrapping-get-android-google-play-app-info/

    posted @ 2013-06-25 22:11 paulwong 閱讀(323) | 評論 (0)編輯 收藏

    architecture requirement

    Responsibilities:
    • Provide high level technical architecture, design documents and build of business applications and supporting functions based upon customer’s requirements.
    • Produce a detailed functional design document to match customer requirements
    • Co-operate with the customer’s technical architect to produce a technical specification for custom development and systems integration requirements.
    • Ensure delivered solutions are realized in time frame committed
    • Participate and lead the project meetings and present the solution with the customer if needed
    • Review the work of other team members and ensure it meets the required standards
    • Work with team members of the team to improve their technical and functional knowledge and skills.
    • Act as a mentor to all team members on their assigned project tasks.
    • Drive new business growth and customer success by providing business expertise.
    Required Qualifications:
    • Graduated from University or equivalent.
    • 5-7+ years of relevant experience in software development.
    • Must have hands-on expertise in the following technologies: Java/J2EE, Spring framework, Hibernate, Web Service (SOAP and RESTful), database (Oracle, SQL, PL/SQL, stored procedures)
    • Have good knowledge in web-based systems architecture, service-based architecture, enterprise application architecture.
    • Ability to understand the business requirements and converting them into solution designs
    • Have excellent English written and oral communication skills, including conducting presentations to customers.

    posted @ 2013-06-25 09:03 paulwong 閱讀(257) | 評論 (0)編輯 收藏

    OPENSTACK資源

    !!!!!Nova安裝攻略
    http://blog.fens.me/category/datagurucn/


    OPENSTACK ITEYE社區
    http://openstack.group.iteye.com/


    http://dl2.iteye.com/upload/attachment/0080/7461/400e0b13-9bc3-3caf-85a1-c525fa943469.pdf


    OPENSTATCK 中文社區
    http://openstack.csdn.net/resources.html/5


    OneStack:Ubuntu 12.04 (或11.10) 一鍵部署安裝OpenStack云計算平臺
    http://blog.csdn.net/hilyoo/article/details/7696169


    OpenStack Hands on lab系列
    http://liangbo.me/index.php/2012/03/25/openstack-hands-on-lab/


    為 OpenStack Nova 制作 Ubuntu 鏡像
    http://www.vpsee.com/2011/06/create-ubuntu-kvm-image-for-openstack-nova/


    Ubuntu 12.04 Openstack Essex 安裝(單節點)
    http://www.chenshake.com/ubuntu-12-04-openstack-essex-installation-single-node/


    Ubuntu 12.04 ("Precise Pangolin") 安裝 OpenStack Essex
    http://hi.baidu.com/chenshake/item/29a7b8c1b96fb82d46d5c0fb


    http://www.hastexo.com/resources/docs/installing-openstack-essex-20121-ubuntu-1204-precise-pangolin


    !!!Taking OpenStack for a Spin
    http://www.stackgeek.com/blog/kordless/post/taking-openstack-for-a-spin






    posted @ 2013-06-24 13:52 paulwong 閱讀(258) | 評論 (0)編輯 收藏

    僅列出標題
    共115頁: First 上一頁 64 65 66 67 68 69 70 71 72 下一頁 Last 
    主站蜘蛛池模板: 日韩毛片在线免费观看| 你是我的城池营垒免费观看完整版| 国产成人无码a区在线观看视频免费 | 亚洲日韩国产AV无码无码精品| 国产美女无遮挡免费视频网站| WWW国产成人免费观看视频| 亚洲综合久久综合激情久久| 最近免费中文字幕视频高清在线看| 美女视频黄.免费网址| 亚洲一区二区三区电影| 好男人视频社区精品免费| 中文字幕视频免费在线观看| 亚洲最新中文字幕| 亚洲色偷偷狠狠综合网| 久草视频在线免费| 一级特黄a大片免费| 亚洲一区二区三区在线 | 亚洲色欲啪啪久久WWW综合网| 久久亚洲中文字幕精品一区| 91九色老熟女免费资源站| 美女视频免费看一区二区| 亚洲视频在线观看网站| 亚洲国产精品综合久久网络| 国产精品久久免费| 在线观看黄片免费入口不卡| 亚洲a∨无码精品色午夜| 久久亚洲精品人成综合网| 亚洲Av无码乱码在线观看性色| 亚洲一区在线免费观看| 人妻18毛片a级毛片免费看| 亚洲AV成人一区二区三区在线看| 亚洲夜夜欢A∨一区二区三区| 岛国片在线免费观看| h片在线免费观看| 在线毛片片免费观看| 激情婷婷成人亚洲综合| 亚洲人成日本在线观看| 亚洲av色影在线| 亚洲精品无码久久久影院相关影片 | 久久久久免费视频| 精品国产日韩亚洲一区91|