Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/five1kr/www/www/blog/wp-content/plugins/simple-tags/inc/client.php on line 1310
Warning: shuffle() expects parameter 1 to be array, null given in /home/five1kr/www/www/blog/wp-content/plugins/simple-tags/inc/client.php on line 1311
Warning: Invalid argument supplied for foreach() in /home/five1kr/www/www/blog/wp-content/plugins/simple-tags/inc/client.php on line 1312
Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/five1kr/www/www/blog/wp-content/plugins/simple-tags/inc/client.php on line 1310
Warning: shuffle() expects parameter 1 to be array, null given in /home/five1kr/www/www/blog/wp-content/plugins/simple-tags/inc/client.php on line 1311
Warning: Invalid argument supplied for foreach() in /home/five1kr/www/www/blog/wp-content/plugins/simple-tags/inc/client.php on line 1312
ubuntu 下编译出现KConfig.h:52: error: extra qualification ‘KConfig::’ on member ‘GetList’make[2]: *** [KConfig.o] Error 1make[2]: Leaving directory `/root/kingate-1.4/src’make[1]: *** [all] Error 2make[1]: Leaving directory `/root/kingate-1.4/src’make: *** [all-recursive] Error 1应该说,Linux下功能最全的代理服务器差不多就是kingate了,支持http,https,socks,mms,ftp等等相当全面的协议,认证模块也算得丰富,并且还提供了基于Web进行配置管理的界面,是一个非常不错的开源软件。作者是一个国内的高手,只是近两年好像没有再继续更新了。有人说这个软件不够稳定,的确开启该软件的http代理服务时,代理服务器端存在容易崩溃的现象,不过我都是只开一个Web管理端口和socks5服务的,感觉还是十分稳定的。本来考虑偷懒一下,直接找Debian下有deb包的代理软件来用,可惜找来找去,虽然有squid、socks5 server等同样非常优秀的代理服务器软件,可是总是无法兼顾http代理、socks代理和认证这三方面的功能,所以还是用回kingate了。下载源码,准备编译环境本来kingate的官方网站应该是http://www.kingate.net ,但现在访问不到了。可以到http://sourceforge.net/projects/kingate 下载最新的1.6版本源代码包,也就是kingate-1.6.tar.gz 。我的操作系统版本是Debian Etch 4.1 (testing),为了能够编译kingate,大致需要安装gcc g++ gpp这几个包,安装时几个包会自动装上相关的依赖库。修改源代码由于现在gcc的版本已经是4.1了,对c++语法的支持略有变化,因此需要做如下改动:1. src/KConfig.h的第52行,由bool KConfig::GetList(const char *filename); // 改为bool GetList(const char *filename);2. src/KUser.h的第87行,由std::string KUser::ListLoginUser(); // 改为std::string ListLoginUser();
Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/five1kr/www/www/blog/wp-content/plugins/simple-tags/inc/client.php on line 1310
Warning: shuffle() expects parameter 1 to be array, null given in /home/five1kr/www/www/blog/wp-content/plugins/simple-tags/inc/client.php on line 1311
Warning: Invalid argument supplied for foreach() in /home/five1kr/www/www/blog/wp-content/plugins/simple-tags/inc/client.php on line 1312
fdisk /dev/hdc
Command (m for help): n
Partition number (1-4): 1
First cylinder (1-9729, default 1):回车
Last cylinder or +size or +sizeM or +sizeK (1-9729, default 9729):回车
Command (m for help):q(推出)
2格式化
fdisk -l
mkfs -t ext3 /dev/hdc4
Writing superblocks and filesystem accounting information:直接回车。
3挂载
mount /dev/hdc4 /oracle
4开机直接挂载
编辑/etc/fstab 文件
添加:/dev/hdc4 /oracle ext3 defaults 1 1






