为了连接到学校的VPN网络,得安装个Cisco的VPN Client 4.8。
但是安装的时候才发现需要有kernel headers。而Ubuntu Server的最小安装没有带,所以必须先安装内核源代码,最简单的办法就是使用下面的命令:
sudo apt-get install build-essential linux-headers-`uname -r`
当然你所用的用户必须能有权限成为 super user.
build-essential 包里面会安装gcc, make, libc等,以后可能会有用,但是如果只是要安装VPN Client的话,其实也可以只安装 gcc 和 make,比使用 build-essential 包可以省一点点硬盘空间。
sudo apt-get install gcc make linux-headers-`uname -r`
0 Responses to “在 Ubuntu Server 上安装 VPN Client”