原创 「ubuntu」下安裝sogoupinyin

原文地址:http://shellblog.sinaapp.com/?p=644ubuntu默認輸入法爲ibus,但更多人喜歡用fcitx,尤其是現在fcitx搭載了搜狗詞庫和皮膚,使用起來更加方便。1.安裝fcitx之前先卸載ibus1$

原创 我的友情鏈接

51CTO博客開發

原创 windows/linux 使用rar命令行

windows安裝winrar後,將安裝目錄下的rar.exe複製到 c:\windows\system32下即可linux下載rar包,安裝

原创 UBUNTU實現單網卡多IP

原文地址:http://www.yimiju.com/articles/505.html最近要用Linux的iptables NAT功能來映射端口,但是接口機只有一個網卡,要實現既能訪問內網又能訪問外網,於是就要用到本文下面要說到的方法:1

原创 nfs 防火牆設置

# 指定端口sed -i '/PORT/s/^#//' /etc/sysconfig/nfs# 添加防火牆iptables -I INPUT -s 10.0.10.0/24 -p tcp --dport 875 -j ACCEPTiptab

原创 linux中的查找文件夾

原文地址:http://sprewell.blog.163.com/blog/static/28615246201222795247135/find dir -name filename #基本格式如果需要更進一步的瞭解,可以參看Lin

原创 我的友情鏈接

51CTO博客開發

原创 【ubuntu】 touchpad-indicator 觸摸板管理辦法

原文地址:http://www.pocketdigi.com/20120109/601.html當插上鼠標後,禁用觸摸觸摸板;拔下鼠標後,啓用觸摸版本# 第一步,添加ppa sudo add-apt-repository ppa:atar

原创 【python】windows下好用的的python編輯器 pyScripter

PyScripter是一個使用Delphi開發的開源的Python集成開發環境(IDE),發佈於MIT協議之下。[1]PyScripter支持Python2.4、2.5、2.6、2.7、3.0、3.1、3.2,而且可以根據需要切換。PySc

原创 rsync daemon控制腳本

#!/bin/sh # rsync boot file # write by : r.tang # mailto : [email protected] [ -f /etc/init.d/functions ] && . /etc/init.d/

原创 linux安裝下的VirtualBOX的後臺啓動 與 VBoxManage 管理

實現環境CentOS 5.5安裝與配置從官網下載virtualbox與dkms的安裝包並安裝https://www.virtualbox.org/wiki/Downloadshttp://sourceforge.jp/projects/fr

原创 「ubuntu」下安裝sogoupinyin

原文地址:http://shellblog.sinaapp.com/?p=644ubuntu默認輸入法爲ibus,但更多人喜歡用fcitx,尤其是現在fcitx搭載了搜狗詞庫和皮膚,使用起來更加方便。1.安裝fcitx之前先卸載ibus1$

原创 python windows下建立文件夾

import os path = "已有文件夾路徑" title = "新文件夾名稱" new_path = os.path.join(path, title) if not os.path.isdir(new_path):

原创 samba的安裝配置及問題

待完善[注意]配置文件中使用[dirName]則是在共享中顯示的文件夾名設置開機啓動[問題]①建立共享文件後,可以看到文件夾,但無法顯示裏面內容解決方法:1、關閉selinux:setenforce 0http://www.cnblogs.

原创 shell變量賦值與引用及擴展

shell變量賦值:name=string“=”是賦值符號。兩邊不能直接跟空格,否則shell將視爲命令。string是被賦予的變量值。若string中包含空格、製表符和換行符,則string必須用單雙引號將其括起來。雙引號了允許使用變量替