随笔分类 - Linux
摘要:1 我们使用root账户进行安装,首先切换到root账户,输入命令:sudo su2 安装 MySQL 5输入命令:apt-get install mysql-server mysql-client安装过程中需要设置root账户密码,系统会作以下提示:New password for the MySQL “root” user:Repeat password for the MySQL “root” user:3 安装 Apache2输入命令:apt-get install apache2在浏览器输入你服务器地址列入 http://192.168.0.100查看Apache2是否工作,如果显示
阅读全文
摘要:1.下载:http://www.wxwidgets.org/https://sourceforge.net/projects/wxwindows/files/2.9.3/wxWidgets-2.9.3.tar.bz2/download2.install:export WXWIN=~/wxWidgetscd ~/wxWidgetsmkdir mybuildcd mybuild../configure --with-gtk OR ../configure --with-motifmakesu <type root password>make installldconfigexit参考:
阅读全文
摘要:1.直接从yum源安装:sudo yum install codeblocks2.源码安装下载codeblocks 源程序包http://www.codeblocks.org/tar jxf codeblocks-*-src.tar.bz2cd codeblocks./configure –prefix=/usrmakesudo make install参考:http://tech.ddvip.com/2009-06/1243841253121804.htmlhttp://www.ej38.com/showinfo/c-linux-189216.htmlhttp://www.cnblogs.c
阅读全文
摘要:1. 查看autoconf ,automake,perl,m4是否安装[xpan@localhost ~]$ rpm -qa |grep autoconfautoconf-2.68-3.fc17.noarch[xpan@localhost ~]$ rpm -qa |grep automakeautomake14-1.4p6-22.fc17.noarchautomake17-1.7.9-15.fc17.1.noarchautomake-1.11.3-1.fc17.noarch[xpan@localhost ~]$ rpm -qa |grep perlperl-Digest-1.17-2.fc17
阅读全文
摘要:几种查看linux版本信息的方法:uname -acat /proc/versioncat /etc/issuelsb_release -a出处http://guoyaxu.iteye.com/blog/102694
阅读全文
摘要:1.创建共享库[xpan@localhost 2.5.3]$ lslibhello.c libhello.h usehello.c[xpan@localhost 2.5.3]$ gcc -fPIC -Wall -g -c libhello.c参数说明:-fPIC 参数生成与位置无关的代码;-W 或 -Wall 去除所有警告;-g 指加上调试信息;-c 是编译之意;[xpan@localhost 2.5.3]$ ls libhello.olibhello.o[xpan@localhost 2.5.3]$ gcc -shared -o libhello.so.1.0 libhello.o[xpan
阅读全文
摘要:1.创建静态库[xpan@localhost 2.5.2]$ lslibhello.c libhello.h usehello.c[xpan@localhost 2.5.2]$ cat libhello.h#ifndef _libhello_H_#define _libhello_H_void print_hello(void);#endif /*_libhello_H_*/[xpan@localhost 2.5.2]$ cat libhello.c#include<stdio.h>void print_hello(void){ printf("hello world ,
阅读全文

浙公网安备 33010602011771号