PostgreSQL Linux安装,使用简易手册
PostgreSQL Linux
安装及使用,简易手册
一,配置方法:
1
,首先下载任意版本的PostgreSQL For Linux X86_64
wget http://downloads.enterprisedb.com/postgresql/postgresql-8.4.1-1-linux-x64.bin
2
,文本模式安装
[root@imdba.cn ~]# ./postgresql-8.4.1-1-linux-x64.bin –mode text
—————————————————————————-
Welcome to the PostgreSQL Setup Wizard.
—————————————————————————-
Please specify the directory where PostgreSQL will be installed.
Installation Directory [/opt/PostgreSQL/8.4]: /home/PostgreSQL/8.4
—————————————————————————-
Please select a directory under which to store your data.
Data Directory [/home/PostgreSQL/8.4/data]:
—————————————————————————-
Please
provide a password for the database superuser (postgres). A locked Unix
user account (postgres) will be created if not present.
Password :[
输入密码]
Retype password :[
重复输入哦]
—————————————————————————-
Please select the port number the server should listen on.
Port [5432]:[
默认端口,那就回车]
[616] yi_US
[617] yi_US.utf8
[618] zh_CN
[619] zh_CN.utf8
[620] zh_HK
[621] zh_HK.utf8
[622] zh_SG
[623] zh
相关文档:
嵌入式设备上的 Linux 系统开发(一)
http://hi.baidu.com/digast/blog/item/4ff9b8318b94c0ac5fdf0eb2.html
2008-04-03 18:31
如果您刚接触嵌入式开发,那么大量可用的引导装载程序(bootloader)、规模缩小的分发版(distribution)、文件系统和 GUI 看起来可能太多了。但是这些丰富的选项实际上是一种恩赐,允 ......
http://server.it168.com/a2008/1016/208/000000208085.shtml
如果在Red Hat Enterprise Linux 5安装时已经默认安装了NFS组件,接下来的工作主要是配置相关文件使服务器提供NFS服务,步骤如下。
(1)设定某台计算机为NFS服务器,并在后台启动相关的守护进程(在"服务配置"中启动)。一般来说,如果NFS服务器要 ......
网上看到的这篇关于Linux下C语言嵌入汇编的文章写的非常全,转载过来。
Using Assembly Language in Linux.
Intel和AT&T汇编语法差异:
1。前缀:
Intel汇编寄存器和立即数无需前缀。后者寄存器前缀为%,立即数前缀为$。
eg:
Intex Syntax
mov eax,1
mov ebx,0f ......
什么也不要说,先来一个程序吧。
/*
注意要和你的系统一致redhat是这样/etc/pam.d/check_user
auth required /lib/security/pam_unix_auth.so
account required /lib/security/pam_unix_acct.so
1.如果需要出现密码弹出框还需要在添加
/etc/security/console.apps/check_user
USER=root
PROGRAM=~/check_use ......