磨磨的技术笔记
  • 首页
  • 归档
  • 分类
  • 标签
  • 关于
linux绑定盘符

linux绑定盘符

123[root@centos6 ~]# udevadm info -q path -n /dev/sdb[root@centos6 ~]# udevadm info -q path -n /dev/sdc/devices/pci0000:00/0000:00:10.0/host2/target2:0:1/2:0:1:0/block/sdc 拿到编号 1[root@centos6 ~]# vim
2015-03-24
暂未分类
#暂未分类
重置ubuntu13.04 密码

重置ubuntu13.04 密码

方法如下: Restart Machine HOLD Shift Button ( You will get message “GRUB Loading“) Select the Kernel ( Don’t select Recovery Mode) Press the e key to edit the entry Select the line starting with the
2015-03-24
暂未分类
#暂未分类
重置ubuntu13.04密码

重置ubuntu13.04密码

方法如下: Restart Machine HOLD Shift Button ( You will get message “GRUB Loading“) Select the Kernel ( Don’t select Recovery Mode) Press the e key to edit the entry Select the line starting with the
2015-03-24
暂未分类
#暂未分类
使用iptables做端口转发

使用iptables做端口转发

通过iptables可以做转发 123456789101112131415161718192021222324252627282930313233IPT="/sbin/iptables"/bin/echo "1" > /proc/sys/net/ipv4/ip_forward/sbin/modprobe ip_tables/sbin/modprobe
2015-03-24
暂未分类
#暂未分类
配置xenserver本地存储

配置xenserver本地存储

查询磁盘对应关系: 12345678910111213141516[root@xenserver-eqtwbths ~]# ll /dev/disk/by-id/total 0lrwxrwxrwx 1 root root 9 Jun 5 13:24 edd-int13_dev81 -> ../../sdblrwxrwxrwx 1 root root 10 Jun 5 14:14 edd
2015-03-24
暂未分类
#暂未分类
配置cobbler步骤

配置cobbler步骤

首先找到下载包的地址 (使用的是centos6) 1http://download.opensuse.org/repositories/home:/libertas-ict:/cobbler26/CentOS_CentOS-6/noarch/ 添加国内epel源: 1wget http://mirrors.aliyun.com/epel/6/x86_64/epel-release-6-8.noa
2015-03-24
暂未分类
#暂未分类
custom-ubuntu-server-iso

custom-ubuntu-server-iso

Remastering the Ubuntu Desktop ISO is easy considering the existing graphical tools but did you ever wanted to build your custom Ubuntu Server Edition ISO ? Preparing the EnvironmentYou’ll need a clea
2015-03-24
暂未分类
#暂未分类
定制ubuntu的时候修改proseed

定制ubuntu的时候修改proseed

一个参数的修改 12345d-i clock-setup/utc-auto boolean false (不用utc)d-i clock-setup/ntp boolean false (不时间同步)d-i netcfg/disable_autoconfig boolean true (关闭自动网络配置)d-i netcfg/use_autoconfig boolean false (
2015-03-24
暂未分类
#暂未分类
centos使用U盘做启动盘

centos使用U盘做启动盘

软件下载地址: 1http://sourceforge.net/projects/iso2usb/files/latest/download?source=dlp 写于: 2014年08月04日更新于: 2015年03月24日
2015-03-24
暂未分类
#暂未分类
fio的配置使用

fio的配置使用

将fio-2.1.10.tar.gz拷贝到linux服务器的/usr/src/下 解压源码包: 12root@grandocean:/usr/src# tar xvf fio-2.1.10.tar.gz root@grandocean:/usr/src# cd fio-2.1.10/ 安装依赖包: 1root@grandocean:/usr/src/fio-2.1.
2015-03-24
暂未分类
#暂未分类
1…3334353637…40

搜索

Hexo Fluid