ubuntu服务器启动过程中重启卡死的问题解决 在grub默认参数当中添加 1GRUB_RECORDFAIL_TIMEOUT=0 写于: 2014年07月23日更新于: 2015年03月24日 2015-03-24 暂未分类 #暂未分类
nginx开启目录浏览 使用nginx作为下载站点,开启目录浏览的功能在/etc/nginx/sites-enabled/default中添加: 123autoindex on ;autoindex_exact_size off;autoindex_localtime on; 说明: 第一个为目录浏览功能开始第二个为不精确计算文件大小第三个为取时间为服务器本地的时间 删除l 2015-03-24 暂未分类 #暂未分类
mdtest测试工具 软件介绍mdstest是软件的元数据操作基准测试工具,用来模拟对文件或者目录的open、stat、close操作,然后报告性能 下载软件压缩包: 123456789101112yum install openmpi openmpi-devel -y在/root/.bashrc中添加(注意也要添加mdtest的路径)export PATH=$PATH:/usr/lib64/openmpi/bin/ 2015-03-24 暂未分类 #暂未分类
linux域名解析引起登陆慢 linux域名解析引起登陆慢的问题在于,ssh去登录这个台机器的时候,本机会去通过域名解析获取登录主机的主机名,所有一旦域名解析是无效的,需要等待较长时间 解决办法一:将域名解析指到127.0.0.1 解决办法二:修改配置文件 /etc/ssh/sshd_config 1UseDNS no 然后重启ssh服务 写于: 2014年07月10日更新于: 2015年03 2015-03-24 暂未分类 #暂未分类
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 密码 方法如下: 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密码 方法如下: 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可以做转发 123456789101112131415161718192021222324252627282930313233IPT="/sbin/iptables"/bin/echo "1" > /proc/sys/net/ipv4/ip_forward/sbin/modprobe ip_tables/sbin/modprobe 2015-03-24 暂未分类 #暂未分类
配置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步骤 首先找到下载包的地址 (使用的是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 暂未分类 #暂未分类