Time of Update: 2013-12-12
Ubuntu 13.04系統更新後狀態列消失解決 今日安裝系統推薦的更新後,進入系統發現僅剩案頭和表徵圖,左側啟動欄和頂部狀態列消失……百度得到若干各種複製粘貼的結果嘗試無效後,終於是compiz更新惹的禍 1.首先開啟Ctrl+Alt+T開啟Terminal,安裝ccsmTerminal代碼 sudo apt-get install compizconfig-settings-manager
Time of Update: 2013-12-12
ubuntu
Time of Update: 2013-12-12
設定nginx的逾時時間 使用nginx伺服器如果遇到timeou情況時可以如下設定參數,使用fastcgi: [python] <span class="title">fastcgi_connect_timeout</span> <span class="number">75</span>; fastcgi_read_timeout 600;
Time of Update: 2013-12-12
nginx的配置和使用 [html] #運行使用者 user www-data; #啟動進程,通常設定成和cpu的數量相等 worker_processes 1; #全域錯誤記錄檔及PID檔案 error_log /var/log/nginx/error.log; pid
Time of Update: 2013-12-12
Linux系統學習備忘錄4 這是本系列第四篇,主要涉及了檔案系統 4.1 檔案 在Windows的作業系統系列中,我們對檔案的概念可能局限在一些音頻,文檔之類,在Linux下面,所有的一切都是檔案,包括進程、串列介面、核心資料結構、進程通訊通道。這個是Unix/Linux的設計思想,既有優勢也有缺點。 4.1.1 路徑
Time of Update: 2013-12-12
ubuntu裝機配置相關 軟體源: #12.10deb http://run.hit.edu.cn/ubuntu/ quantal main restricted universe multiversedeb http://run.hit.edu.cn/ubuntu/ quantal-security main restricted universe multiversedeb http://run.hit.edu.cn/ubuntu/ quantal-updates
Time of Update: 2013-12-12
Ubuntu10.04安裝skyeye 注意Ubuntu 10.04,上通過apt-get install skyeye所安裝的skyeye是1.2.5, 無法實現書中所說的輸出到控制台的結果。需要自己安裝skyeye 1.2.6, 到skyeye官網上下載skyeye 1.2.6,解壓:tar jxvf
Time of Update: 2013-12-12
Ubuntu安裝英漢詞典 linux並不缺少詞典軟體、但是缺少詞庫、所有的詞典軟體都需要 自己下載安裝詞庫、所以找詞庫成了一件麻煩的事情。 1.安裝stardict:apt-get install stardict 2.到http://abloz.com/huzheng/stardict-dic/zh_CN/ 下載需要的詞庫。(原來的官網已無法下載、找很久才找到這個網站) 3.運行終端。先cd到下載的檔案夾。然後sudo tar -xjvf
Time of Update: 2013-12-12
使ubuntu支援GBK (1 )首先安裝中文版ubuntu 裝完後echo $LANG 預設是utf-8 1.修改/var/lib/locales/supported.d/local檔案,在檔案中添加 zh_CN.GBK GBK zh_CN.GB2312 GB2312 2.sudo dpkg-reconfigure --force locales 然後在輸出的結果中會出現 zh_CN.GB2312
Time of Update: 2013-12-12
CentOS Linux解決Device eth0 does not seem to be present 在VMware裡複製出來的CentOS Linux。。 ifconfig...沒有看到eth0.。然後重啟網卡又報下面錯誤。 故障現象: 解決辦法: 首先,開啟/etc/udev/rules.d/70-persistent-net.rules內容如下面例子所示: # vi
Time of Update: 2013-12-12
ubuntu下利用cron來提醒自己休息 原來使用windows的時候用愛眼衛士,提醒自己一個小時起來活動一下,現在換成了ubuntu,於是就想用cron直接提醒自己休息一下 原理很簡單,每隔一個小時就鎖屏一次 DISPLAY=:000 * * * * /usr/bin/gnome-screensaver-command
Time of Update: 2013-12-12
RPM SPEC檔案的一些知識點 RPM包SPEC檔案的執行順序 以及 傳遞的值問題:這裡是在安裝期間傳遞的實際值:運行新包的 %pre (1)安裝新檔案運行新包的 %post (1) 這裡是在升級期間傳遞的值:運行新包的 %pre (2)安裝新檔案運行新包的 %post (2)運行舊包的 %preun (1)刪除新檔案未覆蓋的任何舊檔案運行舊包的 %postun (1) 這裡是在刪除期間傳遞的值:運行舊包的 %preun (0)刪除檔案運行舊包的 %postun
Time of Update: 2013-12-12
VIM使用系列:位置跳轉和塊模式 括弧跳轉小括弧的跳轉:跳到句子的下頭,句子以句號或者空行結束,英文中的句號為 “.”。 ( (左小括弧) 移到這個句子的開頭) (左小括弧) 移到下一個句子的開頭中括弧的跳轉:跳到函數的開頭或者結尾。 [[
Time of Update: 2013-12-12
linux下的RPM檔案是什麼東西 RPM是RedHat Package Manager(RedHat軟體包管理工具)類似Windows裡面的“添加/刪除程式” rpm
Time of Update: 2013-12-12
在Hyper-V中安裝和配置Ubuntu網路 安裝過程 1. 在Hyper-V中為安裝Ubuntu,安裝正常步驟安裝Ubuntu Server 2. 安裝結束後在編輯Ubuntu 中的檔案 #sudo vi /etc/initramfs-tools/modules,在檔案末尾添加配置行: hv_vmbus hv_storvsc hv_blkvsc hv_netvsc 3.
Time of Update: 2013-12-12
Linux系統靜態網路設定及出現問題解決 啟動Linux系統後,首先查看機器的網路設定: 1、ifconfig瞭解網卡資訊,查看ethX 2、sudo vim /etc/network/interfaces 配置網路參數,如: auto lo iface lo inet loopback auto eth0 iface eth0 inet static address
Time of Update: 2013-12-12
GPFS添加物理磁碟的過程 1,建立臨時檔案[root@sdcmpdb1 ~]# vi /tmp/nsdprofile2 emcpoweri:::dataAndMetadata::emcpowerj:::dataAndMetadata::emcpowerk:::dataAndMetadata::emcpowerl:::dataAndMetadata::emcpowerm:::dataAndMetadata:: 2,產生nsd磁碟mmcrnsd -F
Time of Update: 2013-12-12
如何線上升級Linux mint 14至最新版本的Linux mint 15 為了能得到正確的軟體源,在命令列終端輸入以下兩行命令,把“quantal”替換成“raring”以及把“nadia”替換成“olivia(linux mint 14的開發代號是nadia,而linux mint 15的代號是olivia)”: sudo sed -i
Time of Update: 2013-12-12
Ubuntu下無線管理工具之ifconfig 概述 ifconfig - 配置網路介面 用法 ifconfig [-v] [-a] [-s] [interface] ifconfig [-v] interface [aftype] options | address ... 描述
Time of Update: 2013-12-12
使用pidstat查看進程資源使用方式 引言 在查看系統資源使用方式時,很多工具為我們提供了從裝置角度查看的方法。例如使用iostat查看磁碟io統計資訊: linux:~ # iostat -d 3Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtnsda