如果你使用的是 Fedora,
Red Hat, CentOS, 或者 Scientific Linux 系统,使用下面的命令安装GNU的C/C++开发包和编译器。
# yum groupinstall 'Development Tools'
如果你使用的是Debian
或者 UbuntuLinux系统,你可以使用下面的这个命令来安装C/C++编译器。
#sudo ...
分类:
编程语言 时间:
2014-06-07 01:56:20
阅读次数:
302
How do I install all developer tools such as GNU GCC C/C++ compilers, make and others, after installing CentOS from a shell prompt?you can following the nest line do ,install almost all development to...
分类:
系统相关 时间:
2014-06-07 01:23:47
阅读次数:
317
[lvhongmin@AY1401201736089361adZ start_svr]$ cat startall_svr.sh
#!/bin/bash
errpath[0]=''
errnum=0
runnum=0
curr_path=`pwd`
#进程的名字
array[${#array[*]}]=/home/lvhongmin/bin/bin....
分类:
其他好文 时间:
2014-06-05 11:11:43
阅读次数:
243
[lvhongmin@AY1401201736089361adZ start_svr]$ cat killall_svr.sh
#!/bin/bash
unrun[0]=''
unnum=0
runnum=0
#进程的名字
array[${#array[*]}]=paiyouQuan.svr
array[${#array[*]}]=jjm.cornucopia.svr...
分类:
其他好文 时间:
2014-06-05 08:04:29
阅读次数:
277
----------------------------------------------------hello world-------------------------------------------
linux 创建如下文件 vim hello
#! /bin/bash //告诉Shell 使用哪个Shell 程序
#Display a line //#表示...
分类:
其他好文 时间:
2014-06-05 02:41:41
阅读次数:
393
大家知道在Windows下Shift+右键菜单可以呼出“在此处打开命令行窗口”菜单项,...
1,restime统计响应时间#!/bin/bash#统计日志响应时间用if [ $# -lt 1
]; then echo "at least have one param; " echo "ex: restime a.log b.log *.log"
exit 1fi. lgq...
分类:
其他好文 时间:
2014-06-04 20:23:43
阅读次数:
291
# groupadd weblogic# useradd -g weblogic
weblogic# passwd weblogic# mkdir -p /var/bea# chown -R weblogic:weblogic
/var/bea# su - weblogic$ vi ~/.bash_...
分类:
Web程序 时间:
2014-05-31 20:47:51
阅读次数:
396
在linux下执行某一常用命令时,提示类似错误信息:bash:bash:command not
found原因是所执行的命令在当前系统环境变量里找不到路径。例如:刚安装了openOffice时,执行soffice命令时提示找不到该命令![root@rusky
program]# cd /opt/op...
分类:
其他好文 时间:
2014-05-31 06:52:18
阅读次数:
286
from:http://www.oschina.net/news/51084/gcc-4-9-0GCC
4.9.0 公布,此版本号是个主要版本号更新,包含了 GCC 4.8.x 系列和之前的 GCC
版本号都没有的新特性,新特性很之多。下载地址:http://gcc.gnu.org/mirrors....
分类:
编程语言 时间:
2014-05-31 05:14:06
阅读次数:
555