Time of Update: 2018-07-21
CentOS 7.0系統安裝配置步驟詳解 說明: 截止目前 CentOS 7.x最新版本為CentOS 7.0,下面介紹CentOS 7.0的具體安裝配置過程 伺服器相關設定如下: 作業系統:CentOS 7.0 64位 IP地址:192.168.21.128 網關:192.168.21.2 DNS:8.8.8.8 8.8.4.4 備忘:
Time of Update: 2018-07-21
1. 查看自己 系統 的 核心 版本 #uname -a #uname -r 2. 找合適自己系統核心和CPU的NTFS 模組 下載 : 比如我的:kernel-module-ntfs-2.6.18-53.el5 google搜尋,找到後下載. 我在頁面找到 3. 安裝 運行rpm -ihv kernel-module-ntfs-2.6.18-53
Time of Update: 2018-07-21
1. 列出系統中正在使用的核心: uname -a Linux localhost.localdomain 3.10.0-327.22.2.el7.x86_64 #1 SMP Thu Jun 23 17:05:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux 2.查詢系統中全部的核心: rpm -qa | grep kernel
Time of Update: 2018-07-22
1、下載並解壓 從官方網址(http://tomcat.apache.org/)上,選擇合適的版本並下載(我選擇的是:apache-tomcat-8.0.9.tar.gz)。 # mkdir tomcat-src && cd tomcat-src# wget http://mirrors.cnnic.cn/apache/tomcat/tomcat-8/v8.0.17/bin/apache-tomcat-8.0.17.tar.gz# tar xzf
Time of Update: 2018-07-21
轉自:https://blog.csdn.net/jack85986370/article/details/51321475 lrzsz在linux裡可代替ftp上傳和下載。 lrzsz 官網入口:http://freecode.com/projects/lrzsz/ lrzsz是一個unix通訊套件提供的X,Y,和ZModem檔案傳輸通訊協定 windows 需要向centos伺服器上傳檔案,可直接在centos上執行命令yum -y install
Time of Update: 2018-07-21
CentOS 7.0預設使用的是firewall作為防火牆,這裡改為iptables防火牆。 1、關閉firewall: systemctl stop firewalld.service systemctl disable firewalld.service systemctl mask firewalld.service 2、安裝iptables防火牆 yum install iptables-services -y 3.啟動設定防火牆 # systemctl enable
Time of Update: 2018-07-21
centos源碼升級核心方法 最近在研究docker,需要升級核心,下面說一下升級核心的方法。 1.下載核心源碼 下載網址為 https://www.kernel.org/ 我使用的為3.10版本 下載地址為 https://www.kernel.org/pub/linux/kernel/v3.x/linux-3.12.44.tar.xz 下載命令: # wget
Time of Update: 2018-07-21
iptables防火牆 1、基本操作 # 查看防火牆狀態 service iptables status # 停止防火牆 service iptables stop # 啟動防火牆 service iptables
Time of Update: 2018-07-21
因為需要用Wireshark進行遠程抓包,需要在遠程主機上安裝相應的rpcapd服務。Windows上只要安裝WinPcap軟體就行了,它已經包含了rpcapd服務,只要啟動就行了。但Linux上需要自己編譯。 註:Wireshark支援remote packet capture protocol協議遠程抓包,只要在遠程主機上安裝相應的rpcapd服務常式就可以。安裝命令如下: yum install glibc-staticwget http://www.winpcap.
Time of Update: 2018-07-21
最近 在Win7中,VMware虛擬機器centos剛剛安裝好之後不能與外網相連,在網上找了很多資料, 都說是選擇NAT方式串連,我嘗試了各種方法都不能上網,最後我的解決方案如下: 1、首先確保win7和虛擬機器centos中的防火牆都是關閉狀態,很多情況下網路不通都是由於防火牆的緣故, 所以一定要注意這個細節。 2、關閉centos,在VMware中雙擊右邊的Device->Network Adapter,選擇橋接(Bridged)方式,儲存設定。
Time of Update: 2018-07-21
本文適用於 CentOS 6.5,親測可行,估計也適用於其他Linux發行版。 1. 準備工作 1.1 下載源碼包 Linux核心版本有兩種:穩定版和開發版 ,Linux核心版本號碼由3個數字組成:r.x.y r: 主要版本號 x: 次版本號碼,偶數表示穩定版本;奇數表示開發中版本。 y: 修訂版本號碼 , 表示修改的次數 去 http://www.kernel.org 首頁,可以看到有stable,
Time of Update: 2018-07-21
安裝了CentOS 7和Windows 7的雙系統,想預設啟動Windows 7,發現Centos 7和之前版本修改預設啟動項的方法好像有所改變,主要因為CentOS的Grub採用了grub2,啟動順序的改變其實很簡單: # grub2-set-default 'Fedora, with Xen hypervisor' 採用grub2-set-default命令,後面參數是你想要預設啟動系統的名稱,修改完成後可以查看: # grub2-editenv list
Time of Update: 2018-07-21
一、下載 下載地址: http://apache.etoak.com/hadoop/common/ 開啟會發現不同版本,我這裡選擇的是:hadoop-1.0.3.tar.gz 下載位置到:/data/software 二、安裝 利用命令tar解壓縮安裝,解壓結果如下: Shell代碼
Time of Update: 2018-07-21
整理了Linux常用命令及快速鍵。 常用命令: 檔案和目錄: # cd /home 進入 '/home' 目錄 # cd ..
Time of Update: 2018-07-21
原文地址:centos監控工具 sar,iostat 作者:天天向下 yum -y install sysstat whereis sar whereis iostat 即可看到相關的命令 如果在redhat下面用rpm包安裝的話可以先去 http://rpmfind.net/尋找 sysstat相對應的rpm包 另附上:linux磁碟IO查看的相關命令及說明 from: http://blog.chinaunix.
Time of Update: 2018-07-21
CentOS 6.3下vsftpd的簡單使用教程 1、關於vsftpd的基本知識 (1)什麼是vsftpd。參考百度百科,http://baike.baidu.com/view/1806035.htm (2)FTP使用者的3種身份:實體使用者(real user)、訪客(guest)和匿名登入者(anonymous) a. 實體使用者(real user):一般是Linux系統上的使用者,也是FTP使用者,登入FTP要求輸入密碼 b.
Time of Update: 2018-07-21
1、輸入以下命令:ssh-keygen -t rsa 2、輸入命令ls:產生兩個檔案:id_rsa id_rsa.pub 3、複製id_rsa.pub,並命名為authorized_key cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys 4、執行ssh localhost。 驗證成功: The authenticity of host 'localhost (::1)' can't be established.
Time of Update: 2018-07-21
當我們安裝多個作業系統時,希望自訂預設啟動作業系統,如果安裝完CentOS後,我們需要修改gurb,下面是修改gurb操作: 1,以root身份登入。 2,檢查grub.conf(grub設定檔)在哪裡。在終端中輸入:whereis grub.conf 終端輸出:“grub: /sbin/grub /etc/grub.conf~ /etc/grub.conf /usr/share/grub /usr/share/man/man8/grub.8.gz”
Time of Update: 2018-07-21
轉載自 roothomes: http://blog.csdn.net/roothomes/article/details/6996109 CentOS 5.5 使用VNC進行遠程配置 VNC(Virtual Network Computing)虛擬網路計算工具,本質上來說是一個遠程顯示系統。 管理員通過它可以在運行程式的本地機上察看案頭環境,還可以從Internet上的任何地方察看遠程機器的運行情況,而且它具有跨平台的特性。 Linux
Time of Update: 2018-07-21
linux/centos如何查看網卡是100M還是1000M。檢查100兆還是千兆(1GBPS)頻寬接入,請看下面命令 [root@www.ctohome.com]# mii-tool -V mii-tool.c 1.9 2000/04/28 00:56:08 (David Hinds) SIOCGMIIREG on eth0 failed: Input/output error eth0: negotiated 100baseTx-FD, link ok