随笔分类 -  【原创】linux ubuntu experience

so shit ~so good
摘要:【源码 测试】#include <sys/time.h>#include <stdio.h>#include <mysql.h>int main(void){ MYSQL_RES *result; MYSQL_ROW row; MYSQL *connection, mysql; int state; mysql_init(&mysql); connection = mysql_real_connect(&mysql,"localhost","root","951241"," 阅读全文
posted @ 2012-08-01 15:40 upendi 阅读(612) 评论(0) 推荐(0)
摘要:最近在用boost和cpp-netlib 因为使用的是最新版,用apt-get不能获取到。手动安装老在百分多少卡在那里10几分钟动也不动,又没耐心等,取消好几次一下午就没了。今天早上想想这样也不是办法,就打开放那死等。居然走到了100%~开心呀! 这个经验告诉我:步骤没问题,放心等待,会有结果的,它不会一直保持不稳定状态(要么失败,要么成功)。 几个标志:cpu利用率上了、步骤比较权威 Boost_1_49_0.tar.gz Cpp-netlib-0.9.3.zip 1)boost_1_49_0.tar.gz ./bootstrap.sh --with-libraries=te... 阅读全文
posted @ 2012-07-04 10:26 upendi 阅读(1539) 评论(0) 推荐(0)
摘要:特别声明及经验:有不知道的,或出现未知问题请参考官网——http://freeradius.org/1. 安装mysql 本人用的是光盘上的RPM包 -如果会用apt-get的话可以获取更新的。 rpm -ivh mysql-3.23.41.1.i386.rpm rpm -ivh mysql-devel-3.23.41.1.i386.rpm rpm -ivh mysql-server-3.23.41.1.i386.rpm rpm -ivh mysqlclient9-3.23.22-6.i386.rpm 启动mysql服务 service mysqld start ... 阅读全文
posted @ 2012-04-18 17:06 upendi 阅读(2313) 评论(0) 推荐(0)
摘要:Step 1: Installing apache Open Terminal. To open terminal click the Dash home from unity launcher. And type terminal in the search field.And click Terminal .And type the below code in terminal and hit enter.sudo apt-get install apache2Type your ubuntu password and press enter. Type y and hit enter . 阅读全文
posted @ 2012-04-18 16:23 upendi 阅读(800) 评论(0) 推荐(0)