- 博客(7)
- 资源 (5)
- 收藏
- 关注
转载 Linux CentOS 如何快速部署Web服务器-Apache篇
之前讲过《linux centos 如何快速部署web服务器-Apache篇》现在就讲讲centos 如何部署Apache,让简单的网站运行。本节比较简单,在非编译下安装,可以满足新手用户的需求。演示环境:Linux CentOS 6.3 X64 Apache一、安装apache及相关组件1、用ROOT账户进入系统后,开始安装。#yum install httpd
2014-07-01 10:36:07 652
转载 python 使用memcache
在python中使用: root@Veda:~# pythonPython 2.7.2+ (default, Oct 4 2011, 20:03:08) [GCC 4.6.1] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> import memcache>
2014-05-21 08:56:00 463
转载 ImportError: No module named setuptools 解决方案
shell中输入:wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gztar zxvf setuptools-0.6c11.tar.gzcd setuptools-0.6c11python setup.py buildpython setup.py install
2014-05-21 08:53:40 375
转载 linux 下 svn常用命令
一下内容转载于:http://blog.chinaunix.net/space.php?uid=22976768&do=blog&id=1640924。windows下的TortoiseSVN是资源管理器的一个插件,以覆盖图标表示文件状态,几乎所以命令都有图形界面支持,比较好用,这里就不多说。主要说说linux下svn的使用,因为linux下大部分的操作都是通过命令行来进行,所以必须得掌握li
2012-10-12 10:07:21 444
转载 expected identifier before numeric constant 解决
expected identifier before numeric constant 解决 (2010-12-21 20:24)enum ProxyType{ OTHERALL_TASK = 0, SPEECH_TASK = 3};以前上面的代码编译是没问题的,更新代码后,错误提示:BrT
2012-08-10 15:52:12 718
转载 mmap函数详解
mmap可以把磁盘文件的一部分直接映射到内存,这样文件中的位置直接就有对应的内存地址,对文件的读写可以直接用指针来做而不需要read/write函数。原型:#include void *mmap(void *addr, size_t len, int prot, int flag, int filedes, off_t off);int munmap(void *addr, size_
2012-08-07 13:53:08 281
转载 编写线程函数时,链接时报错:undefined refrence to 'pthread_create '
这是由于pthread库不是Linux系统默认的库,连接时需要使用库libpthread.a,所以在使用pthread_create创建线程时,在编译中要加-lpthread参数:gcc -o pthread -lpthread pthread.c
2012-02-07 17:43:30 329
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人