iptables
to be done
No title available

blake kathryn
No title available
No title available

pixel skylines
Jules of Nature
I'd rather be in outer space 🛸
Mike Driver
untitled
Sade Olutola
Keni
Show & Tell
Cosimo Galluzzi

shark vs the universe
Misplaced Lens Cap

Jar Jar Binks Fan Club
Xuebing Du

PR's Tumblrdome
Claire Keane
cherry valley forever
seen from United States

seen from Malaysia

seen from United States

seen from United States

seen from United States
seen from South Africa
seen from Lithuania

seen from Netherlands

seen from Italy

seen from United States

seen from Brazil
seen from United States
seen from United States
seen from Türkiye

seen from Greece
seen from Vietnam
seen from United States

seen from United States

seen from Canada
seen from India
@zxdvd
iptables
to be done
ssh scp
do be done
wget
do be done
curl
to be done
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.
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!!!!!!!!!!!!
ubuntu包管理
常用命令
1.查看一个package包含有哪些文件,如查看vim包含哪些文件
dpkg -L vim
2.查看一个文件属于哪个package,如查看/etc/pam.conf属于哪个包
dpkg -S /etc/pam.conf
libpam-runtime: /etc/pam.conf