
UNIX学习
文章平均质量分 54
cougar0709
幽默好动爱吹牛!
展开
-
关于UNIX功能测试宏
UNIX功能性测试宏原创 2011-01-13 00:56:00 · 2234 阅读 · 0 评论 -
Apache启动"httpd: Could not reliably determine the server's fully qualified domain name, using 127.0."
今天在启动Apache时候发现有一行警告:httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName可以修改Apache安装目录下的conf文件,我的是:vi /opt/www/conf/httpd.conf找到#Server原创 2012-03-10 14:25:42 · 704 阅读 · 0 评论 -
gmake与make的区别
摘自: http://liuqz926.blog.163.com/blog/static/134489362201001545423552/gmake是GNU Make的缩写。Linux系统环境下的make就是GNU Make,之所以有gmake,是因为在别的平台上,make一般被占用,GNU make只好叫gmake了。比如在安装二进制文件进行编译时要使用make命令,但如果在Sol转载 2011-12-15 17:58:50 · 864 阅读 · 0 评论 -
CentOS 4.8 安装snavigator 编译出错解决办法
今天在VMware下在CentOS 4.8 安装snavigator,结果编译出错。具体表现为/home/sourcenav-6.0/tk/generic/tk3d.h/home/sourcenav-6.0/tk/generic/tk3d.c语法错误,google了原创 2011-09-18 23:54:19 · 1113 阅读 · 0 评论 -
Unix高级编程源码编译
最近在学习《Unix高级编程》,下载源码src.tar.tar以后,编译有点小问题。通过google了一把,把步骤简单罗列如下:1. 下载源码并解压:[root@Linux home]# tar -zxvf src.tar.gz [root@Linux home]# ls原创 2011-09-07 23:29:01 · 928 阅读 · 0 评论 -
信号学习笔记3--信号的阻塞处理
本节主要介绍使用sigprocmask函数来人工设置信号阻塞。首先介绍函数原型:/* Get and/or change the set of blocked signals. */extern int sigprocmask (int __how, __const sigs原创 2011-07-26 11:41:09 · 977 阅读 · 0 评论 -
信号学习笔记2--信号的安装
本节使用sigaction安装信号。关于sigaction函数,说明如下:#include int sigaction(int sig, const struct sigaction *restrict act, struct sigaction原创 2011-07-26 10:56:40 · 2902 阅读 · 0 评论 -
信号学习笔记1--信号的安装
linux用户编写应用程序中,可以自行安装信号,定义进程收到信号后的处理方法。此过程可以通过signal或者sigaction完成。本节主要介绍使用signal函数来安装信号。#include #include #include #include void Handle原创 2011-07-14 17:44:37 · 842 阅读 · 0 评论 -
启动Mysql时报错:mysqld_safe mysqld from pid file /usr/local/mysql/data/Linux.pid ended
<br />由于登陆使用了如下命令:<br />shell> ./bin/mysqld_safe --user=root &<br />导致再次登陆时候使用<br />shell> ./bin/mysqld_safe --user=mysql &<br />报错:<br />mysqld_safe Logging to '/usr/local/mysql/data/Linux.err'.<br />mysqld_safe Starting mysqld daemon with databases from原创 2011-04-25 22:56:00 · 98895 阅读 · 4 评论 -
Centos 5.5 编译安装Mysql5.5
Centos 5.5安装mysql原创 2011-04-22 18:55:00 · 1302 阅读 · 0 评论 -
LAMP环境搭建apache启动报错
<br />今天在搭建LAMP环境,安装完Mysql,Apache和PHP后,启动Apache系统提示:<br />[root@Linux ~]# /opt/www/bin/apachectl start<br />httpd: Syntax error on line 135 of /opt/www/conf/httpd.conf: Cannot load /opt/www/modules/libphp5.so into server: /opt/www/modules/libphp5.so: can原创 2011-04-24 14:40:00 · 1523 阅读 · 0 评论 -
source navigator启动报错
今天在 ubuntu12.04下安装source navigator,编译安装完成后,启动报错,信息如下:migw@migw-Zhaoyang-E49:/opt/sourcenav/bin$ ./snavigator Can't find a usable tk.tcl in the following directories: /opt/sourcenav/share/tk8原创 2012-10-10 15:48:49 · 1080 阅读 · 0 评论