原创 bind雜記(2)

反向bind配置 host host解析 [root@qq named]# host -t A www.magedu.com 10.201.106.129 Using domain server: Name: 10.201.106.129

原创 bind雜記(3)

bind高級 回顧 配置成緩存名稱服務器 [root@www ~]# vim /etc/named.conf // options { //listen-on port 53 { 10.201.106.129; };

原创 bind雜記(1)

bind bind基礎 查bind程序包 [root@qq ~]# yum list all name bind* Loaded plugins: fastestmirror, refresh-packagekit, security Lo

原创 OpenSSH雜記

OpenSSH telnet 查看telnet的程序包 telnet是客戶端 telnet-server是服務端 [root@zz ~]# yum list all telnet* Loaded plugins: fastestmirror

原创 OpenSSL雜記(CA證書)

OpenSSL和OpenSSH OpenSSH 只允許白名單的用戶登錄 1、限制前: [email protected]'s password: [ww@qq ~]$ exit logout Connection to 10.201.10

原创 Redis雜記

一、Redis基礎 1、安裝啓動Redis 1.1 去pkgs.org下載rpm包 [root@node1 ~]# wget http://www6.atomicorp.com/channels/atomic/centos/6/i386/R

原创 Openstack(Icehouse)安裝——殘卷

Openstack(Icehouse) 由於創建實例時無法動態獲取IP,可能是之前的neutron配置有誤。由於時間原因,暫時只能擱下OpenStack實驗。下面還差一個cinder(可持續化存儲沒有做) 一、控制節點(Controller

原创 MongoDB索引及複製集、shard雜記

一、索引 1、索引操作 1.1 插入數據 > use testdb switched to db testdb > for (i=1;i<=10000;i++) db.students.insert({name:"student"+i,ag

原创 Hadoop安裝雜記(1)

一、Hadoop基礎 1、僞分佈式模型(單節點) 1.1 配置centos7默認JDK1.7的環境變量 [root@master1 ~]# vim /etc/profile.d/java.sh i export JAVA_HOME=/usr

原创 KVM虛擬化-libvirt雜記(2)

一、virt-install 1、創建虛擬機 1.1 基於PXE環境創建一個虛擬機 1.1.1 創建存放磁盤映像的文件夾 [root@master1 ~]# mkdir /images/centos/ 1.1.2 創建虛擬機 virth-i

原创 Elasticsearch雜記(1)

一、安裝使用Elasticsearch 準備3個centos7節點 1、安裝 1.0 各節點時間需要同步 # /usr/sbin/ntpdate s2c.time.edu.cn 1.1 由於Elasticsearch是java開發,需要先安

原创 shell學習筆記(6)

第六天 一、while 1、範例1:每隔2秒記錄一次系統負載情況 1.1 方法一:屏幕輸出 [root@node4 day6]# cat while01.sh #!/bin/bash while true do upti

原创 MariaDB雜記(2)

MariaDB MariaDB基礎應用 1、創建testdb數據庫,並設置爲默認庫 MariaDB [(none)]> CREATE DATABASE testdb; Query OK, 1 row affected (0.00 sec)

原创 netns雜記

一、雜項 1、VLAN劃分 1.1 查看linux上支持vlan的8021q模塊 [root@master1 ~]# modinfo 8021q filename: /lib/modules/3.10.0-693.21.1.el

原创 MariaDB雜記(1)

MySQL 一、CentOS6二進制格式安裝MariaDB 1、首先停止老版本的MySQL,並刪除 [root@qq ~]# service mysqld stop Stopping mysqld: