zxdvd
zxdvd
Z_ba
7 posts
Don't wanna be here? Send us removal request.
zxdvd · 12 years ago
Text
iptables
to be done
0 notes
zxdvd · 12 years ago
Text
ssh scp
do be done
0 notes
zxdvd · 12 years ago
Text
wget
do be done
0 notes
zxdvd · 12 years ago
Text
curl
to be done
0 notes
zxdvd · 12 years ago
Text
A simple http file server
Some times I just want to share files to others in LAN, I think ftp is a little boring.
I always use the embedded http server in everything when I use Windows.
But how about linux?
It's easier than Windows.
Just 'cd' in the directory you want to share (cd /home/ada/share) and then
python -m SimpleHTTPServer
If you use python 3.X as the default python intepreter. Command is
python -m http.server
The default port is 8000.
If you want to change the port,eg, use 9000:
python -m SimpleHTTPServer 9000
OK, now, your colleage can access you at YOURIP:8000.
0 notes
zxdvd · 12 years ago
Text
Suse linux 3g上网卡配置
今晚回来在自己电脑上面安装了open suse 12.3,顺便把电信的3g上网卡弄起来了。
跟在windows下一样,3g上网卡要解决2个问题:1.驱动;2.拨号。
在linux下驱动由usb_modeswitch,貌似是默认安装的,没有的话用yast安装吧。
1.用lsusb看看上网卡的verdor product num
2.在/usr/share/usb_modeswitch里面找对应的文件,我的这个上网卡没有找到,就把一个很接近的文件复制了下改名。
拨号程序搜索了下有一堆各种各样的可用的,各种ppp应该都行的,我选用了wvdial。
先运行wvdialconf,很智能帮你自动找上网卡设备生成配置,然后稍微修改下/etc/wvdial.conf文件,主要是phone,username,password
phone是拨号,电信的是#777
username,password网上查去,电信的有几种似乎都可以用,我用的是card card
设置好了运行wvdial,没有问题就ok了。
3g网络下用搜狗云输入法打这么多字好痛苦,睡觉了。
come on
come on
fighting!!!!!!!!!!!!
0 notes
zxdvd · 12 years ago
Text
ubuntu包管理
常用命令
1.查看一个package包含有哪些文件,如查看vim包含哪些文件
dpkg -L vim
2.查看一个文件属于哪个package,如查看/etc/pam.conf属于哪个包
dpkg -S /etc/pam.conf
libpam-runtime: /etc/pam.conf
0 notes