原创 centos打不開vmware中客戶機,提示Could not open /dev/vmmon
在centos中打開vmware的虛擬客戶機,提示Could not open /dev/vmmon 解決方式就是將vmmon的源碼重新編譯過。 cd /tmp tar xvf /usr/lib/vmware/modules/sou
原创 hp dl160 gen8 b120i驅動與win2008r2忘記密碼
win2008r2忘記密碼按下面方式: http://www.xitongzhijia.net/xtjc/20121022/17677.html 使用windows2008r2安裝盤引導開機,HP的內置系統會跳過去,需要進Intel
原创 SQL求最大值的幾種方式
有表如下: create table students (sno int, sname varchar(10), age int); insert into students values(1,'AARON',20); insert
原创 ubuntu下安裝 oracle客戶端
1、從oracle下載Instant Client http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html 選擇適合的版本
原创 oracle explain plan
explain plan的兩種方式: 一、SQL方式: explain plan for select count(*) from emp; select * from table(dbms_xplan.display);
原创 linux的pptp服務器網絡配置
一、iptables的相關知識 1、這張圖很重要,讓我們明白iptables各個chain的流程關係 2、整個chain是從prerouting入,到postrouting出。 input和output都是針對運行中的監聽進
原创 LG G6:Moisture detected in USB port
go to settings-general-apps-right upper corner dots-show system-app lg system server- storage- clear cache and confir
原创 ubuntu下virtualbox不能掛載usb設備
在虛擬機的掛載處找不到usb設備, 需要把當前用戶加入到vboxusers組中: sudo adduser $USER vboxusers 加入後需要註銷重新登陸過才生效。 https://stackoverflow.com/que
原创 Privoxy on mac
About Privoxy: https://www.privoxy.org/ Config file on mac: /usr/local/etc/privoxy/config listen-address 127.0.0.1:8
原创 dd-wrt的dnsmasq配置
1、dhcp設置中Use DNSMasq for DHCP / DNS 選中 2、dnsmasq設置中Local DNS要選中 3、dnsmasq會自動讀取/tmp/hosts文件,重啓後/tmp中的內容將會重置 4、因此
原创 ip連通性的測試
ping.pe 通過位於世界各地的32臺服務器,其中有數個是國內的服務器,來ping某個ip。至於作用,你懂的。 17ce.com 除了ping還可get,服務器遍佈各省,也有境外,最讚的是將速率以不同顏色展示在地圖上。 ipi
原创 添加ssh公鑰的兩種方式
將本地端的id_rsa.pub添加到服務端的authorized_keys的兩種方式: 1、直接操作文件 cat ~/.ssh/id_rsa.pub | ssh user@hostname 'cat >> .ssh/author
原创 vps收集
https://indovirtue.com/ 對大陸速度好 https://www.gigsgigscloud.com/hongkong-openvz/ http://www.germanvps.com/ger-linux-
原创 手機屏幕直播
突發奇想,在演示app時需將手機屏幕直播, 通過livescreen可以實現,瀏覽器訪問手機即可, 源文件中有如下內容:<img id="screen" src="screen.mjpeg" alt="Loading..." /> 通過
原创 pyftpdlib中文件亂碼
pyftpdlib內部使用utf8,而windows使用gbk,可以將pyftpdlib進行修改: 1、filesystems.py AbstractedFS.format_list與AbstractedFS.format_list最後