Time of Update: 2015-07-06
標籤:用途說明ate命令可以用來顯示和修改系統日期時間,注意不是time命令。 常用參數格式:date顯示當前日期時間。 格式:date mmddHHMM格式:date mmddHHMMYYYY格式:date mmddHHMM.SS格式:date mmddHHMMYYYY.SS設定當前日期時間,只有root使用者才能執行,執行完之後還要執行 clock -w
Time of Update: 2015-07-02
標籤:sssd ldap pamsssd是一款用以取代ldap和AD的軟體,配置比較簡單。本文介紹如何在ldap用戶端部署sssd,來啟用ldap認證。- 安裝sssdyum install sssdyum remove pam_ldap samba*安裝sssd,並卸載pam_ldap和samba相關的包- 配置/etc/sssd/sssd.conf[sssd]config_file_version = 2services = nss, pamdomains =
Time of Update: 2015-07-05
標籤:Linux刪除亂碼檔案或者目錄有時在Linux下面解壓一些zip或者rar檔案後會產生亂碼檔案或者目錄,這個時候使用rm不能成功刪除,需要使用一些特別的方法來進行刪除,下面是我經常使用的兩種方法。方法一:使用rm -rf 刪除上一級目錄,當然前提是需要備份你需要備份的資料.一種思路:1. 比如/home下檔案夾內含有亂碼的檔案2. mkdir tmp3. 將所有的檔案首先移動到 mv * tmp/4.到tmp下 把所有有正常的顯示字元的檔案移動出來cd tmp ;mv [a-zA-Z0-9
Time of Update: 2015-07-05
標籤:boost.asio 網路程式庫 c++ linux 安裝 學習開源庫的第一步就是,編譯安裝,然後我們才能寫一寫demo去測試。所以本章我們學一下在linux編譯安裝Boost庫,為了方便起見,直接安裝完整庫。我使用的版本是boost_1_55_0,版本差別不大。[[email protected] ~]$
Time of Update: 2015-07-05
標籤:理解Linux系統中的load average(圖文版)部落格分類:Linuxlinux load nagios 一、什麼是load average? linux系統中的Load對當前CPU工作量的度量 (WikiPedia: the system load is a measure of the amount of work that a computer system is doing)。也有簡單的說是進程隊列的長度。 Load Average 就是一段時間 (1
Time of Update: 2015-07-04
標籤:ip一、[[email protected] ~]# curl ifconfig.me124.193.193.25 [[email protected] ~]# curl ifconfig.me/allip_addr: 124.193.193.25remote_host: user_agent: curl/7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.16.1 Basic ECC zlib/1.2.
Time of Update: 2015-07-04
標籤: 許可權是作業系統用來限制對資源訪問的機制,許可權一般分為讀、寫、執行。系統中的每個檔案都有特定的許可權、所屬使用者、所屬使用者組,通過這樣的機制來限制哪些使用者、哪些組可以對檔案進行什麼樣的操作。 每個進程都是以某個使用者的身份運行,所以進程的許可權與使用者的許可權一樣,使用者的許可權大,該進程擁有的許可權就大。 linux許可權基於UGO模型進行控制的: U代表User,GD代表Group,O代表other,許可權三個一組(rwx)對UGO分別設定,每個檔案擁有所屬使用者
Time of Update: 2015-07-04
標籤:錯誤一:undefined reference to `dlopen‘undefined reference to `dlerror‘undefined reference to `dlsym‘對dlopen, dlerror, dlsym 未定義的引用, 缺少連結庫, 連結時加上選項
Time of Update: 2015-07-04
積累linux常用的命令,積累linux常用命令 積累linux常用的命令主要記錄在日常生活中遇到的問題,進行記錄:linux中檔案中存在^M 使用shell命令tr可以實現去除,具體命令如下: cat -v yourfile | tr -d "^M" > targetfileVIM中選定某個單詞 在ESC之後,使用w或者wi或者vwi可以選擇某個單詞在控制台中快速移動游標 1.刪除 1.1 ctrl + d
Time of Update: 2015-07-03
linux下weblogic11g安裝成功後,啟動報錯Getting boot identity from user,weblogic11g下載<2015-7-1 下午05時46分33秒 CST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.6.0 Tue Nov 15 08:52:36 PST 2011 1441050
Time of Update: 2015-07-08
Shadowsocks一鍵安裝指令碼(CentOS6,7、Ubuntu、Debian),shadowsockscentos6 Shadowsocks原理簡單理解的話,Shadowsocks是將以前通過SSH建立的Socks5協議拆開成Server端和client端,下面這個原理圖能簡單介紹其FQ原理,基本上和利用SSH
Time of Update: 2015-07-07
10分鐘 教你學會Linux/Unix下的vi文字編輯器,vi文字編輯器10分鐘
Time of Update: 2015-07-05
Linux OpenCV 靜態連結錯誤,linuxopencv錯誤一:undefined reference to `dlopen'undefined reference to `dlerror'undefined reference to `dlsym'對dlopen, dlerror, dlsym 未定義的引用, 缺少連結庫, 連結時加上選項 -ldl 參考: 錯誤二:對icvPuts, icvGets
Time of Update: 2015-07-05
CentOS下安裝即時檢測網路頻寬的小工具bmon首先下載rpmforge-release擴充的rpm包32位作業系統:wget http://www.sudu.us/Tools/bmon/rpmforge-release-0.3.6-1.el5.rf.i386.rpm64位作業系統:wget http://www.sudu.us/Tools/bmon/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm去安裝rpmforge-release擴充rpm -Uhv
Time of Update: 2015-07-05
CentOS下監控CPU的溫度CentOS下監控CPU的溫度。本文基於CentOS 6.5 64bit。lm_sensors通過調用/lib/modules/2.6.32-358.xxx.x86_64/kernel/drivers/hwmon/coretemp.ko模組來讀取溫度值。yum install lm_sensorssensors-detect #一路YES即可modprobe i2c-devmobprobe coretemp #必要cat /etc/
Time of Update: 2015-07-05
CentOS下iptables的連接埠映射一、環境與需求實驗環境節點的網路設定如下:節點網卡IP網路Node1eth0172.19.104.33內網Node1eth16.6.5.5外網Node2eth0172.19.104.14內網需求我們要實現的功能就是將Node1的8100連接埠映射到Node2的8000連接埠,也即外網訪問http://6.6.5.5:8100即可訪問到PC2上8000連接埠的WEB服務。二、實現步驟以下操作都在Node1上進行操作,部分修改操作可能需要root許可權1、
Time of Update: 2015-07-05
CentOS 7.1開機運行模式 run level在大多數的linux發行版本中,通常有8個 runlevelRunlevel System State0 Halt the system1 Single user mode2 Basic multi user mode3 Multi user mode5 Multi user mode with GUI6 Reboot the systemS, s Single user mode可以在檔案 /etc/inittab
Time of Update: 2015-07-05
CentOS7 防火牆關閉CentOS7
Time of Update: 2015-07-05
把centos 6.5 系統裡的網卡em1還原為eth0第一步:修改系統grubvi /boot/grub/grub.conf增加一個 biosdevname=0 的啟動參數,我修改的結果如下:[root@xingfujie ~]# cat /boot/grub/grub.conf# grub.conf generated by anaconda## Note that you do not have to rerun grub after making changes to this
Time of Update: 2015-07-03
如何解決Ubuntu發熱嚴重地問題剛裝ubuntu的時候那是相當地熱,hot!直接地原因是沒有相應地顯卡驅動,然後在software update裡面找到Nivida地最新驅動,興高采烈地裝上試一試,一點用處沒有!在網上搜了搜,有一個叫Bumblebee