修改方法是用vi打开/etc/sysctl.conf,在末尾增加一行kernel.sem = 250 32000 32 4096并保存退出。
[root@redflag11012601 tmp]# vi /etc/sysctl.conf
"/etc/sysctl.conf" 55L, 1419C 已写入
"/etc/sysctl.conf" 55L, 1419C 已写入
为了不重启系统继续安装,用下面命令使新的参数立即生效。
[root@redflag11012601 tmp]# echo 250 32000 32 4096 > /proc/sys/kernel/sem
再用下面的命令查询依赖包是否存在,并且是指定的版本。如果缺少,需要安装。一般在安装Linux时选择完全安装就不会有问题。
[root@redflag11012601 tmp]# rpm -q ncurses
ncurses-5.5-24.20060715.1AX
ncurses-5.5-24.20060715.1AX
[root@redflag11012601 tmp]# rpm -q -a | grep compat
compat-readline43-4.3-3
compat-glibc-2.3.4-2.26
compat-gcc-34-3.4.6-5AXS3
..
ncurses-5.5-24.20060715.1AX
ncurses-5.5-24.20060715.1AX
[root@redflag11012601 tmp]# rpm -q -a | grep compat
compat-readline43-4.3-3
compat-glibc-2.3.4-2.26
compat-gcc-34-3.4.6-5AXS3
..
准备工作完成后,首先安装的是授权管理服务器,Sybase IQ使用专门的工具管理授权文件,不同的授权文件限定用户使用的组件不同,我们安装的评估版无需一个专门的授权文件,在30日评估期内可以测试完整的功能。
进入授权管理服务器安装子目录,执行setup.bin,按照提示选择显示语言种类。这里我们选择英语。
[root@redflag11012601 tmp]# cd sysam_server-2_20
[root@redflag11012601 sysam_server-2_20]# ll
总计 9952
drwxrwxrwx 2 105 200 4096 2010-05-19 archives
-rwxrwxrwx 1 105 200 10164406 2010-08-05 setup.bin
-rwxrwxrwx 1 105 200 751 2010-08-05 SySAMLicenseServer.lic
[root@redflag11012601 sysam_server-2_20]# ./setup.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
Graphical installers are not supported by the VM. The console mode will be used instead...
Preparing CONSOLE Mode Installation...
===============================================================================
Choose Locale...
----------------
1- English
->2- 简体中文
CHOOSE LOCALE BY NUMBER: 1
[root@redflag11012601 sysam_server-2_20]# ll
总计 9952
drwxrwxrwx 2 105 200 4096 2010-05-19 archives
-rwxrwxrwx 1 105 200 10164406 2010-08-05 setup.bin
-rwxrwxrwx 1 105 200 751 2010-08-05 SySAMLicenseServer.lic
[root@redflag11012601 sysam_server-2_20]# ./setup.bin
Preparing to install...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
Launching installer...
Graphical installers are not supported by the VM. The console mode will be used instead...
Preparing CONSOLE Mode Installation...
===============================================================================
Choose Locale...
----------------
1- English
->2- 简体中文
CHOOSE LOCALE BY NUMBER: 1
Sybase IQ软件的本地化工作做得不错,尽管选择英文安装界面,但国家区域选择中国,仍然显示中文授权协议。
===============================================================================
End-user license agreement
--------------------------
1) Americas (Mid/So.) and Asia Pacif 2) Argentina
3) Australia 4) Belgium(English)
5) Brazil 6) Canada
7) Denmark 8) Europe,Middle East, and Africa - G
9) France(English) 10) France(French)
11) Germany(English) 12) Hong Kong
13) India 14) Italy(English)
15) Italy(Italy) 16) Japan
17) Korea 18) Malaysia
19) Mexico 20) Netherlands
21) New Zealand 22) Norway
23) People's Republic of China(PRC) 24) Singapore
25) Spain(English) 26) Spain(Spanish)
27) Sweden 28) Switzerland(English)
29) Taiwan 30) United Kingdom
31) United States of America 32) Any Other Locations
Please enter the number of the location you are installing. (1-32) (DEFAULT:
1): 23
许可协议
中华人民共和国
20071201
End-user license agreement
--------------------------
1) Americas (Mid/So.) and Asia Pacif 2) Argentina
3) Australia 4) Belgium(English)
5) Brazil 6) Canada
7) Denmark 8) Europe,Middle East, and Africa - G
9) France(English) 10) France(French)
11) Germany(English) 12) Hong Kong
13) India 14) Italy(English)
15) Italy(Italy) 16) Japan
17) Korea 18) Malaysia
19) Mexico 20) Netherlands
21) New Zealand 22) Norway
23) People's Republic of China(PRC) 24) Singapore
25) Spain(English) 26) Spain(Spanish)
27) Sweden 28) Switzerland(English)
29) Taiwan 30) United Kingdom
31) United States of America 32) Any Other Locations
Please enter the number of the location you are installing. (1-32) (DEFAULT:
1): 23
许可协议
中华人民共和国
20071201
接受许可协议后安装程序提示安装到的路径,这里接受默认的路径。