11 2012 档案

摘要:Linux下如何查看版本信息, 包括位数和多核信息,今天我们就来一起看看linux 查看版本信息以及查看CPU内核信息、CPU具体型号等等,整个CPU信息一目了然。相信不会让大家失望。# uname -aLinux euis1 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686 i686 i386 GNU/Linux(Linux查看版本当前操作系统内核信息)# cat /etc/issue | grep LinuxRed Hat Enterprise Linux AS release 4 (Nahant Update 5)(Linux 阅读全文
posted @ 2012-11-27 11:38 RocTian 阅读(276) 评论(0) 推荐(0)
摘要:!ExecuteashellcommandagidumphtmlDumpsalistofAGIcommandsinHTMLformatagiexecAddAGIcommandtoachannelinAsyncAGIagisetdebug[on|off]Enable/DisableAGIdebuggingagishowcommands[topic]ListAGIcommandsorspecifichelpaocsetdebugenableclidebuggingofAOCmessagescccancelKillaCCtransactionccreportstatusReportsCCstatsc 阅读全文
posted @ 2012-11-14 22:30 RocTian 阅读(1011) 评论(0) 推荐(0)
摘要:安装nfs服务器 yum install -y nfs-utils rpcbind注:rpcbind是端口地图服务,在5的版本里面被称作portmap配置nfs服务器NFS服务器的配置文件-------------------exportsexports文件在目录“/etc”下,用于配置NFS服务器所提供的目录共享。exports的黑夜设置为空,没有输出任何的目录共享,这也是出于安全考虑,这样即... 阅读全文
posted @ 2012-11-12 14:05 RocTian 阅读(873) 评论(0) 推荐(0)
摘要:1.安装pcre yum install pcre-devel2.安装zlib库安装 tar -zxvf zlib-1.2.5.tar.gz cd zlib-1.2.5 ./configure make makeinstall3.安装openSSL库 ./config make make install4.安... 阅读全文
posted @ 2012-11-12 14:02 RocTian 阅读(186) 评论(0) 推荐(0)
摘要:安装基础packageyum install readline readline-devel zlib zlib-devel gcc-c++ make1. 需要GNU make 版本3.80或更高版本 (make -v命令查看)2. gcc3. tar gzip bzip make4. readline推荐使用,它允许psql记住每个您键入的命令,并允许您使用上下键来记起和编辑之前的命令源码安装1. cd /usr/src/2. wgethttp://ftp.postgresql.org/pub/source/v9.1.4/postgresql-9.1.4.tar.gz3. tar -zxvf 阅读全文
posted @ 2012-11-09 11:06 RocTian 阅读(544) 评论(0) 推荐(0)
摘要:安装unixODBC¶参见http://www.unixodbc.org/download.html安装psqlODBC还需安装postgreSQL,具体参考Centos上通过源码安装postgresql下载地址:http://www.postgresql.org/ftp/odbc/versions/src/执行./configure make make install 具体可以参考http://psqlodbc.projects.postgresql.org/unix-compilation.html配置odbc.ini[DSN]#api中的dsnDescription=Postg 阅读全文
posted @ 2012-11-08 17:26 RocTian 阅读(3568) 评论(0) 推荐(0)
摘要:(1)用户实用程序:createdb 创建一个新的PostgreSQL的数据库(和SQL语句:CREATE DATABASE 相同)createuser 创建一个新的PostgreSQL的用户(和SQL语句:CREATE USER 相同)dropdb 删除数据库dropuser 删除用户pg_dump 将PostgreSQL数据库导出到一个脚本文件pg_dumpall 将所有的PostgreSQL数据库导出到一个脚本文件pg_restore 从一个由pg_dump或pg_dumpall程序导出的脚本文件中恢复PostgreSQL数据库psql 一个基于命令行的PostgreSQL交互式客户端程 阅读全文
posted @ 2012-11-08 17:19 RocTian 阅读(18755) 评论(0) 推荐(0)