文章归档

L2TP IPSEC VPN UBUNTU 10.04 SERVER MAC/IPHONE CLIENTS

 

I had this idea for a while to make life a bit easier with the good old macbook. I also tested this on my Iphone and I can confirm that this will work as well.

this configuration was build on a 64bit Ubuntu 10.04 installation with one interface and no dhcp server.

This is what I did:

First start building strongswan with nat-traversal enabled, I recommend you create a directory to do this this in:

apt-get install build-essential fakeroot dpkg-dev devscripts
apt-get source strongswan
apt-get install libcurl4-openssl-dev -tools
apt-get build-dep strongswan
cd strongswan-4.2.4/
dch -i

Next add the –enable-nat-transport rule:

nano -w debian/rules

Change:

–disable-md5 –disable-sha1 –disable-sha2

To 阅读更多 »

Share

OMG! Ubuntu Office!贴图

大家对于OMG! 也有一定的了解吧。是一个很不错的ubuntu的新闻技术网站。想当然也很想了解!这个网站的Office!Facebook 查看更多的照片。





他们的简单而大方。大楼的外景很不错。

Share

Scribes 功能强大的迷你文字编辑器

功能强大的迷你文字编辑器,它的设计是让您提高工作效率.

其特点包括: 阅读更多 »

Share

ubuntu11.04安装试用

春节刚过完,事情也忙的差不多了。总想给自己一些事情做做,想来可以体验一下最新版本的ubuntu11.04.安装过程并不是那么的顺利,先是无法安装gurb.我就选择不安装。可是重启发现我原有的两个系统的。现在只有ubuntu11.04.这还好进入系统后还没使用程序就会死……呼…正的不想再整了.只好删除gurb.还原XP再装ubuntu10.10……

 

记录:
重装ubuntu10.10 源.

http://ubuntu.srt.cn/

http://mirrors.163.com/

这是国内比较快的源.

Share

Puppy LiveUSB专用安装器第二版1.1发布!

让您抛开U盘启动的烦恼,一键绿色,智能引导。
带您更轻易的进入Puppy Linux的世界!

2011年1月25日更新 版本号1.1.0.0

1、修复第一版存在的问题。
2、改善点击下载的地址(可选)
3、增加更加人性化的pet包下载地址(可选)

下载地址:http://u.115.com/file/f2f0697a92

Share

网络流量监控软件vnStat

这两天找了个流量监测软件,可以在命令行下运行的,资源占用也很少,基本可以忽略了!直接说怎么用吧!

 

sudo aptitude install  #Ubuntu下安装

yum install vnstat  #CentOS下安装

vnstat -u -i ent0  #加入监测计划第五分钟运行一次

vnstat -d #按天查看

vnstat -h #按小时查看

vnstat –help #更多功能看帮助

下面这个是手动安装过程.

一·安装vnStat及守护进程脚本

1

2

3

4

5

wget http://humdi.net/vnstat/vnstat-1.10.tar.gz

tar zxvf vnstat-1.10.tar.gz

cd vnstat-1.10

make

make install
1

2

3

cd /etc/init.d

wget http://humdi.net/vnstat/init.d/redhat/vnstat

chmod +x vnstat

注意,上面这个wget的是centos的,如果你其他系统请参见http://humdi.net/vnstat/上面的地址。

二·配置&运行

1

2

vnstat --i venet0

/etc/init.d/vnstat start

注意,首先请用ifconfig查看自己是哪个网卡是外网IP,通常来说都是venet0

via{http://vv15.com/2011/01/vps-centos-vnstart/}
via{http://bpio.org/index.php/archives/9}

Share