08 2016 档案

摘要:1. 检查安装VNC服务器 如果返回信息中有tigervnc-server,说明已安装了VNC;如果没有: 2. VNC服务配置 编辑配置文件 添加如下内容给不同用户: 为用户设置密码 3. 开启vncserver服务 特别情况下可能需要为两个用户各打开防火墙5901和5902端口 4. 连接测试 阅读全文
posted @ 2016-08-31 17:00 木子执手 阅读(2789) 评论(0) 推荐(0)
摘要:CTRL + C 中断 CTRL + Z 暂时放到后台 CTRL + D 保存退出 阅读全文
posted @ 2016-08-31 16:49 木子执手 阅读(5289) 评论(0) 推荐(0)
摘要:删除文件需要用到rm命令,但删除目录需要添加两个参数: -r 向下递归,不管多少级目录都删除 -f 强行删除,不做提示 阅读全文
posted @ 2016-08-31 16:45 木子执手 阅读(601) 评论(0) 推荐(0)
摘要:主服务器:192.168.100.30; 文件所在服务器:192.168.100.31; 1. 在主服务上拷贝文件: 2. 如果要拷贝一个目录: 阅读全文
posted @ 2016-08-31 16:40 木子执手 阅读(4577) 评论(0) 推荐(0)
摘要:tar [-c/x z/j/Z] 打包压缩后的文件名 要压缩的文件名或目录名 -c 建立一个打包文件 -x 解开一个打包文件 -v 显示文件 -f 使用文件名,在f后直接使用文件名,不能再跟参数 -z 调用gzip/gunzip程序 -j 调用bzip2/bunzip2程序 -Z 调用compres 阅读全文
posted @ 2016-08-29 14:41 木子执手 阅读(256) 评论(0) 推荐(0)
摘要:新的Linux系统安装好以后,yum的源还是需要配置一下的,我使用的是redhat6.6版本,同时为了不注册而使用更多的yum源的资源,也需要做一下的修改。 1. 删除redhat原有的yum源 2. 下载新的yum安装包 这里我们会使用到CentOS的yum源,在wget前最好去“http://m 阅读全文
posted @ 2016-08-24 13:58 木子执手 阅读(25110) 评论(0) 推荐(0)
摘要:用字符串存储多个子字符串,取字符串以逗号隔开的两个子字符串 阅读全文
posted @ 2016-08-23 11:35 木子执手 阅读(2776) 评论(0) 推荐(0)
摘要:Tools->Options menu. Under the Designers page, uncheck the option "Prevent saving changes that require table recreation". 阅读全文
posted @ 2016-08-23 11:32 木子执手
摘要:在AndroidManifest.xml文件里面的activity标签中加入以下属性 阅读全文
posted @ 2016-08-23 11:27 木子执手 阅读(363) 评论(0) 推荐(0)
摘要:1. 2. 3. 阅读全文
posted @ 2016-08-23 11:22 木子执手 阅读(140) 评论(0) 推荐(0)
摘要:1. Windows > Preferences > General > Content Types, set UTF-8 as the default encoding for all content types. 2. Windows > Preferences > General > Work 阅读全文
posted @ 2016-08-22 15:32 木子执手 阅读(198) 评论(0) 推荐(0)
摘要:1. 下载Tomcat并安装: http://tomcat.apache.org/download-60.cgi 2. 下载最新Eclipse的Tomacat插件: http://www.eclipsetotale.com/tomcatPlugin.html 3. 将第2步下载下来的文件夹放到Ecl 阅读全文
posted @ 2016-08-22 15:16 木子执手 阅读(178) 评论(0) 推荐(0)