Time of Update: 2015-12-09
標籤:centos zabbix 筆記,暫無圖,有時間再添加吧。準備好CentOS6,迷你安裝就可以,設定IP,測試internet,關閉Selinux,(後期可以再開啟Selinux,添加Zabbix相應的連接埠)安裝Zabbix軟體源:rpm -ivh
Time of Update: 2015-12-06
標籤:CentOS下添加使用者並且讓使用者獲得root許可權 http://www.centoscn.com/CentOS/config/2014/0810/3471.html 1、添加使用者,首先用adduser命令添加一個普通使用者,命令如下: #adduser tommy //添加一個名為tommy的使用者#passwd tommy //修改密碼Changing password for user tommy.New UNIX
Time of Update: 2015-12-02
標籤:使用者登入 linux 監控 01.安裝centos時採用迷你安裝選擇開發工具選項進行系統安裝,root密碼使用16位02.修改ssh連接埠 /etc/ssh/sshd_config port 1433(1433是微軟的sql串連連接埠)03.關閉root遠程登入方式 /etc/ssh/sshd_config (PermitRootLogin
Time of Update: 2015-12-01
標籤:tensorflow安裝系統centos 7.0 64位: python版本:(注意tensorflow目前只支援python2.7版本) 安裝pipyum update -y && yum install -y python python-devel epel-release.noarch python-pip
Time of Update: 2015-12-01
標籤:實驗目的 linux 伺服器 local centos反編譯APK包實驗目的 線上linux上傳遊戲包,PHP調用反編譯命令解包實驗環境 centos6.4 Linux localhost.localdomain
Time of Update: 2015-11-30
標籤:實驗目的 linux 伺服器 local centos反編譯APK包實驗目的 線上linux上傳遊戲包,PHP調用反編譯命令解包實驗環境 centos6.4 Linux localhost.localdomain
Time of Update: 2015-11-30
標籤:[[email protected] network-scripts]# ifconfig -aeth1 Link encap:Ethernet HWaddr 00:0C:29:4A:B4:06 inet addr:192.168.0.24 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::20c:29ff:fe4a:b406/64 Scope:Link
Time of Update: 2015-11-29
標籤:cobbler1、安裝準備[[email protected] ~]# yum install cobbler cobbler-web dhcp tftp-server pykickstart httpd -y[[email protected] ~]# /etc/init.d/httpd restart2、安裝配置Cobbler
Time of Update: 2015-11-28
標籤:cd ~切換到主目錄cd /tmp切換到目錄tmpcd dir切換到目前的目錄下的dir目錄cd /切換到根目錄cd ..切換到上一級目錄cd ../..切換到上二級目錄cd ~切換到使用者目錄建立檔案夾: mkdir filename檔案重新命名: mv oldfilename newfilename移動檔案: mv filename 路徑(若多個檔案則,filename1/filename2)安裝rpm: rpm
Time of Update: 2015-11-29
標籤:kickstart[[email protected] ~]# mount /dev/cdrom /mnt[[email protected] ~]# yum install -y httpd createrepo[[email protected] ~]# mkdir /var/www/html/CentOS-7.1-x86_64
Time of Update: 2015-11-25
標籤:epelCentOS 6 安裝epel源CentOS 6.4
Time of Update: 2015-11-26
標籤:saltstack centos系統版本:CentOS6.7 X86_64部署規劃:序號主機名稱IP角色1linux-node1.example.com10.0.0.7salt-master、salt-minion2linux-node2.example.com10.0.0.8salt-minionlinux-node1.example.com:安裝salt-master
Time of Update: 2015-11-25
標籤:1.早上裝系統,試了好幾次。最終grub修複成功!解決方案大致如下:開機遇見 grub>的時候 下面看解決方案首先是既然插上隨身碟能進系統 那我們插上隨身碟 正常進入系統 然後看操作[[email protected] ~]# grub-install /dev/sda #安裝grub到sda[[email protected] ~]# vim/
Time of Update: 2015-11-22
標籤:python的很多組件都必須依靠pip來安裝,比如elasticsearch驅動、postgres驅動Python2.7以後的版本內建pip,centos6.5之前yum內建的python為2.6,所以需要手工安裝,安裝方法如下: 方法一:安裝epel的yum源yum install -y python-pip 方法二:wget --no-check-certificate https://bootstrap.pypa.io/get-pip.pypython&
Time of Update: 2015-11-20
標籤:centos;nginx;安裝環境:Centos 6.4 32位
Time of Update: 2015-11-20
標籤:1、網路模式要進行使用NAT,要連網的話,要配置好設定:網路要進行一下共用到虛擬機器進入vi /etc/sysconfig/network-scripts/ifcfg-eth0 把裡面的onboot=no改為onboot=yesBOOTPROTO=dhcp改為BOOTPROTO=static再加上如下幾行: IPADDR=192.168.137.22 NETMASK=255.255.255.0 GATEWAY=192.168.137.1這個是共用的那個ip DNS1=8.
Time of Update: 2015-11-17
標籤:新裝的CentOS系統伺服器可能設定了錯誤的,需要調整時區並調整時間.如下是CentOS系統使用NTP來從一個時間伺服器同步: 第一步: 把當前時區調整為上海就是+8區,想改其他時區也可以去看看/usr/share/zoneinfo目錄; cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 第二步:利用ntpdate同步標準時間 ntpdate
Time of Update: 2015-11-16
標籤:.tar.gz .tar.bz2要解壓很簡單 : .tar.gz 格式解壓為 tar -zxvf xx.tar.gz .tar.bz2 格式解壓為 tar -jxvf xx.tar.bz2.tar.xz .tar.lz複雜一點: .tar.xz的解壓方法: xz -d mpfr-3.1.2.tar.xz 會產生一個mpfr-3.1.2.tar 檔案,再執行 tar -xvf mpfr-3.1.2.tar.tar.lz的解壓方法:&
Time of Update: 2015-11-15
標籤:在多個VPS上嘗試。1.進入目錄cd /var/2.擷取要增加的SWAP檔案塊(這裡以1GB為例)dd if=/dev/zero of=swapfile bs=1024 count=10383363.建立SWAP檔案/sbin/mkswap swapfile4.啟用SWAP檔案/sbin/swapon swapfile5.查看SWAP資訊是否正確/sbin/swapon –s6.添加到fstab檔案中讓系統引導時自動啟動echo "/var/swapfile swap
Time of Update: 2015-11-13
標籤:centos ntp 時間同步 一、說明NTP:時間同步伺服器ntpserver ip:192.168.0.128 client ip:192.168.0.129 二、準備工作