上一页 1 ··· 7 8 9 10 11 12 下一页
  2013年11月26日
摘要: qemu-img create -f qcow2 -o size=20G /data/sys/vps020_win2012r2_20g.qcow2virsh destroy vps020virsh undefine vps020virt-install --os-variant listsudo virt-install --name=vps020 --ram=1024 --vcpus=2 --boot=cdrom \--os-type windows --os-variant win2k8 \--disk path=/data/sys/vps020_win2012r2_8g.qcow2,de 阅读全文
posted @ 2013-11-26 18:23 飞儿传媒 阅读(3065) 评论(0) 推荐(0) 编辑
摘要: qemu-img create -f qcow2 -o size=8G /data/sys/vps010_ubuntu_8g.qcow2virsh destroy vps010virsh undefine vps010sudo virt-install --name=vps010 --ram=768 --vcpus=1 --boot=cdrom \--os-type linux --os-variant ubuntuprecise \--disk path=/data/sys/vps010_ubuntu_8g.qcow2,device=disk,cache=writeback,format=q 阅读全文
posted @ 2013-11-26 18:02 飞儿传媒 阅读(442) 评论(0) 推荐(0) 编辑
  2013年11月22日
摘要: 1:建立虚拟磁盘文件qemu-img create -f qcow2 -o size=8G /data/data/test_8g.qcow22:附加磁盘文件到虚拟机virsh attach-disk win2003 /data/data/test_8g.qcow2 vdb --subdriver qcow23:卸载附加的磁盘virsh detach-disk --domain win2003 --target vdb4:可以附加带写入缓存功能的磁盘virsh attach-disk win2003 /data/data/test_8g.qcow2 vdb --subdriver qcow2 - 阅读全文
posted @ 2013-11-22 20:55 飞儿传媒 阅读(299) 评论(0) 推荐(0) 编辑
摘要: https://help.ubuntu.com/community/IptablesHowTo#Configuration_on_startupsudo sh -c "iptables-save > /etc/iptables.rules"sudo sh -c "iptables-save > /home/asheng/etc/iptables.rules.1"sudo iptables -t nat -A PREROUTING -p tcp -m tcp -i eth0 --dport 3389 -j DNAT --to-destinati 阅读全文
posted @ 2013-11-22 18:05 飞儿传媒 阅读(286) 评论(0) 推荐(0) 编辑
摘要: 1:安装之前确保已经关闭virsh destroy vps001virsh undefine vps0012:创建虚拟磁盘qemu-img create -f qcow2 -o size=4G /data/sys/vps001_win2k3_4g.qcow23:执行安装sudo virt-install --name=vps001 --ram=768 --vcpus=1 --boot=cdrom \--os-type windows --os-variant win2k3 \--disk path=/data/vfd/virtio-win-1.4.0.vfd,device=floppy --f 阅读全文
posted @ 2013-11-22 16:39 飞儿传媒 阅读(950) 评论(0) 推荐(0) 编辑
  2013年11月5日
摘要: ===========Step1:install=====================yum install cmake make ncurses-devel gcc-c++ bisonwget http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.14.tar.gz/from/http://cdn.mysql.com/tar zxvf mysql-5.6.14.tar.gzcd mysql-5.6.14cmake -DCMAKE_INSTALL_PREFIX=/home/mysql/mysql56makemake install== 阅读全文
posted @ 2013-11-05 01:41 飞儿传媒 阅读(295) 评论(0) 推荐(0) 编辑
  2013年11月2日
摘要: 1:使用YUM安装bindyum install bind2:配置自动启动chkconfig named on3:第一次启动namedrndc-confgen -r /dev/urandom -aservice named start4:配置vi /etc/named.confkey "rndc-key" { algorithm hmac-md5; secret "这里拷贝/etc/rndc.key里的内容";};controls { inet * port 953 allow { any; } keys { "rndc-key"; 阅读全文
posted @ 2013-11-02 14:41 飞儿传媒 阅读(738) 评论(0) 推荐(0) 编辑
  2013年11月1日
摘要: yum install vsftpdchkconfig vsftpd on在/etc/vsftpd/vsftpd.conf中添加pasv_enable=YESpasv_address=115.47.57.251#服务器的IP地址pasv_min_port=2220pasv_max_port=2229可以设置anonymous_enable=NOiptables中开放这段端口-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT-A INPUT -p tcp -m state --state NEW -m multiport --dport 阅读全文
posted @ 2013-11-01 22:47 飞儿传媒 阅读(192) 评论(0) 推荐(0) 编辑
  2013年10月24日
摘要: 访问http://labs.frickle.com/nginx_ngx_cache_purge/下载一个tar包还有www.nginx.org下载wget http://labs.frickle.com/files/ngx_cache_purge-2.1.tar.gzwget http://nginx.org/download/nginx-1.4.3.tar.gz然后都解压出来.使用下面命令进行配置和编译./configure --with-http_stub_status_module --with-http_ssl_module --add-module=../ngx_cache_purg 阅读全文
posted @ 2013-10-24 20:55 飞儿传媒 阅读(375) 评论(0) 推荐(0) 编辑
  2013年9月21日
摘要: 下载http://download.qt-project.org/official_releases/qt/5.1/5.1.1/qt-windows-opensource-5.1.1-mingw48_opengl-x86-offline.exe执行configure.exe -static -rel... 阅读全文
posted @ 2013-09-21 12:12 飞儿传媒 阅读(726) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 下一页
飞儿传媒