原创 mongoDB學習(一)服務器端

1、環境ubuntu14.042、下載安裝包終端中: wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.6.9.tgz3、解壓:tar -zxvf VMwareTool

原创 windows下安裝python 的 easy_install 和pip

easy_install 和 pip 都是用來下載安裝Python一個公共資源庫PyPI的相關資源包的工具。pip是easy_install的改進版,提供更好的提示信息,刪除package等功能。老版本的python中只有easy_inst

原创 【Apache學習】編譯安裝httpd2.4 含傻瓜版自動安裝腳本

學習編譯安裝httpd2.4,考慮到要和httpd2.2共存,所以安裝httpd2.4時需要指定安裝目錄,考慮包之間的依賴關係。apr-1.5.0.tar.bz2 apr-util-1.5.3.tar.bz2(需要apr-1.5.0) ht

原创 mongoBD學習(二)客戶端的連接

mongo客戶端由bin/mongo啓動0、幫助root@adela-vm:/opt/mongodb_simple# ./bin/mongo --helpMongoDB shell version: 2.6.9usage: ./bin/mo

原创 我的友情鏈接

蓮的思念王巍的博客Linux枯木知深秋

原创 機器學習python環境設置

安裝如下python包matplotlib (1.3.1) networkx (1.10) numpy (1.8.2) pip (1.5.4) scikit-learn (0.16.1) scipy (0.13.3) setuptools 

原创 【Apache學習】linux文件目錄以網頁列表形式訪問

想要做出阿里雲鏡像站這樣的效果,要怎麼實現呢?現在,要列出/var/www/html目錄下的所有文件1、首先,需要安裝Apache httpd服務yum install -y httpd2、查看httpd主配文件vim /etc/httpd

原创 數據從txt文本導入python

機器學習實戰 p21源代碼:def file2matrix(filename):    fr = open(filename)    numberOfLines = len(fr.readlines())         #get the

原创 mongoBD學習(三)插入與查詢數據

root@adela-vm:/opt/mongodb_simple# numactl --interleave=all bin/mongod -f conf/mongod.confabout to fork child process, w

原创 SP2-0618 SP2-0611 ORA-01919 開執行計劃錯誤(oracle12c)

SQL> SET AUTOTRACE ONSP2-0618: Cannot find the Session Identifier.  Check PLUSTRACE role is enabledSP2-0611: Error enabl

原创 oracle 12c 中scott賬戶與表問題

之前安裝了12c版本,最近做練習發現怎麼沒有scott用戶和11g自帶的emp,dept等等的表。於是嘗試解鎖用戶,發現用戶不存在SQL> alter user scott account unlock; alter user scott 

原创 【Apache學習】httpd2.4 版本下 https配置

httpd2.4 編譯安裝請參考:http://adelazhu.blog.51cto.com/9455045/1682264其中httpd2.4預編譯時已安裝了--enable-ssl模塊,所以不需要像httpd2.2 單獨安裝mod_s

原创 我的友情鏈接

蓮的思念王巍的博客Linux枯木知深秋

原创 PageRank MATLAB 實現

PageRank 參考http://www.doc88.com/p-11465283738.htmlG = [0 1 1 0 1 1 0;      1 0 1 1 0 0 0;      1 0 0 1 1 0 0;      1 0 0

原创 oracle 12c 中scott賬戶與表問題

之前安裝了12c版本,最近做練習發現怎麼沒有scott用戶和11g自帶的emp,dept等等的表。於是嘗試解鎖用戶,發現用戶不存在SQL> alter user scott account unlock; alter user scott