- 博客(41)
- 资源 (1)
- 收藏
- 关注
原创 install boxes on firefly-ubuntu
1, install boxsudo apt-get install intltool unzip flex bison libffi-dev sudo apt-get install autoconf automake libtoolsudo apt-get install python-dev1.1)install gobject-instrospectiondow
2017-05-08 13:40:41
876
原创 pip
1,国内的源https://pypi.doubanio.com/simplehttps://pypi.mirrors.ustc.edu.cn/simple2,下载到本地再安装pip install --download repo -r requirements.txthttps://pip.pypa.io/en/latest/user_guide/#installi
2016-07-20 22:10:08
514
原创 pentaho
1)spoon执行失败DEBUG: _PENTAHO_JAVA_HOME=DEBUG: _PENTAHO_JAVA=java.exe系统找不到指定的路径。系统找不到指定的路径。D:\pentaho\data-integration>"java.exe" "-Xms1024m" "-Xmx2048m" "-XX:MaxPermSize=256m" "-Dhttps.prot
2016-02-02 21:04:36
2039
原创 ubuntu14.04开启ssh
sudo apt-get updatesudo apt-get install openssh-server安装后自动启动并接收ssh登录。
2015-11-17 17:18:06
401
转载 neutron(1)veth pair
Veth pair 是一对虚拟网卡,从一张veth网卡发出的数据包可以直接到达它的peer veth,两者之间存在着虚拟链路。 Veth 网卡和常规的以太网区别仅在于xmit接口:将数据发送到其peer,触发peer的Rx 过程。 Veth 的原理示意图如下: Veth 的实现在linux/drivers
2015-10-10 12:10:39
714
转载 桌面协议(1)rdesktop 24位色
如何使用RDP的24位颜色深度连接虚拟机(vm) 在服务端(在winxp系统里): WinXP(sp3)在开始菜单--->运行里输入gpedit.msc, 调出组策略对话框. 在组策略对话框里选择:"本地计算机"策略--->计算机配置管理--->管理模板--->Windows 组件--->终端服务--->在右边页面中, 鼠标左键双击"限制最大颜色深度".出现 "限制
2015-09-21 12:40:04
1187
1
原创 Django(1)Tango with Django过程中的问题
Tango with Django 1.8======================1, url path注意下面的元素中的href属性的写法——(1)用单引号,(2)相对与域名的相对路径def about(request): response = HttpResponse() response.write("Rango says here is the ab
2015-09-21 12:38:15
3249
1
转载 python(1)软件包安装路径
原文链接:http://www.cnblogs.com/kevin922/p/3161411.html译:dist-packages is a Debian-specific convention that is also present in its derivatives, like Ubuntu. Modules are installed to dist-pac
2015-09-19 20:54:36
668
原创 NAS DIY(4)FreeNAS使用小结
1)ssh和ftp登录问题初始状态下,不允许ssh和ftp登录,需要(1)在服务中,开启ssh和ftp(2)在ssh和ftp服务后面的配置中,勾选“允许root登录”
2015-09-10 11:56:30
3455
原创 txz文件格式
XZ Compressed Tar ArchiveArchive created with Tar and XZ utilities; contains one or more files first archived using Tar and then compressed using XZ compression; compressed using a high compress
2015-09-10 10:06:27
2218
原创 vmware workstation
1)如何支持嵌套的hypervisor方法:(1)在处理器配置中,勾选“虚拟化VT-x或AMD-V”(2)在vmx文件中添加两行hypervisor.cpuid.v0 = "FALSE"mce.enable = "TRUE"
2015-08-11 10:29:28
413
原创 openstack(1)安装
1,安装 vm失败错误现象启动虚拟机时,dash board报错no host to ...排查步骤1)确认kvm开启,不是 virt_type配置的问题2)关闭防火墙,仍然有问题3)看nova-compute.log,其中有错误信息:MessagingTimeout: Timed out waiting for a reply to message
2015-06-24 12:25:01
747
转载 freeipa(5)文件和日志位置
Table 18.1. FreeIPA Server Configuration Files and DirectoriesDirectory or FileDescriptionServer Configuration/etc/ipaThe main FreeIPA configuration directory./etc/
2015-01-12 11:25:27
2637
原创 VDSM(7)engine常用命令和错误
1)上传iso失败[root@ehost data]# engine-iso-uploader -i iso upload cn_windows_7_ultimate_with_sp1_x86_dvd_u_677486.isoERROR: Problem connecting to the REST API. Is the service available and does the
2015-01-10 16:47:35
2472
原创 fdisk使用
1)显示当前分区p2)创建新分区Command (m for help): nCommand action e extended p primary partition (1-4)pPartition number (1-4): 2First cylinder (524-60801, default 524): Using defau
2015-01-10 10:48:27
675
原创 freeipa(4)常用命令
一,密码设置1,非管理员用户只能修改自己的密码;2,Changing a password as the FreeIPA admin user overrides any FreeIPA password policies, but the password expires immediately.使用admin用户来修改密码,会覆盖掉所有的密码策略,但是密码会立即过期。这样的话,用户
2015-01-03 16:33:38
3721
原创 freeipa(3)常见错误
1)ipa user-xxx命令报错ipa: ERROR: did not receive Kerberos credentials解决方案:重新执行kinit admin2)
2015-01-03 14:31:11
8021
原创 NAS DIY(3)如何导出nfs给vdsm
Permissions Basically the exported directory must be readable and writeable for the user vdsm that has the uid 36 and gid 36. Nevertheless some daemons on the hypervisor hosts (e.g. sanlock) use
2015-01-02 15:16:34
667
原创 NAS DIY(2)配件清单
1)机箱http://item.taobao.com/item.htm?id=18074935116&frm=etao
2014-10-01 13:56:11
1979
转载 关于hostname
Linux操作系统的hostname是一个kernel变量,可以通过hostname命令来查看本机的hostname。也可以直接cat /proc/sys/kernel/hostname查看。 #hostname #cat /proc/sys/kernel/hostname 上面两种输出结果相同。 修改运行时Linux系统的hostname,即不需要重启系统 ho
2014-09-27 11:11:33
446
原创 NAS DIY(1)freebsd配置
1)FreeBSD启动出现"My unqualified host name unkown...Sleeping for retry"的解决办法最简单的方法是把/etc/rc.conf里的hostname改成"localhost"。即 hostname="localhost"只有crtl+c后才继续加载后续信息,直至login.原因现有的hostn
2014-09-18 21:15:44
1155
原创 VDSM(6)调试错误集
srw-rw----. 1 vdsm kvm 0 9月 14 2014 sanlock.sock[root@cg sanlock]# pwd/var/run/sanlock
2014-09-14 15:32:32
634
原创 VDSM(6)存储设备的条件过滤
1)multipath.py函数pathListIter #pathInfo["state"] = pathStatuses.get(slave, "failed") pathInfo["state"] = pathStatuses.get(slave, "active")说明
2014-08-24 18:51:09
639
原创 lvm命令行config参数的用法
1)正确用法示例如下/sbin/lvm pvs --config " devices { preferred_names = [\"^/dev/mapper/\"] ignore_suspended_devices=1 write_cache_state=0 disable_after_error_count=3 obtain_device_list_from_udev=0 filter =
2014-08-22 16:54:39
2026
原创 关闭engine的SSL
1)修改/var/lib/pgsql/data/pg_hba.conf中的认证配置,将ident改为trust2)pg_ctl reload或者重启postgres时
2014-08-10 14:35:42
809
原创 VDSM(3)块设备
1)使用vgcreate本地盘创建一个VG --- Volume group --- VG Name aaaaaaaa-bbbb-cccc-eeee-dddddddddddd System ID Format lvm2 Metadata Areas 2 Metada
2014-08-09 11:13:41
1223
原创 vdsm(2)配置和启动
vdsm的配置文件是/etc/vdsm/vdsm.conf1)配置桥接网卡VDSM要求必须使用名为2)配置vdsm关闭ssl因为vdsm和ovirt-engine之间使用ssl通信配置比较复杂,因此先关闭它。在vdsm.conf中修改ssl = false如果这个时候使用service vdsmd start尝试启动vdsm服务的话,会得到一个报
2014-08-07 17:08:44
7839
转载 lenovo 笔记本Windows7一键恢复的方法
http://think.lenovo.com.cn/htmls/knowledge/detail_12815680718434584.html
2014-07-26 13:12:07
878
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人