Skip to content

Solaris – 禁用GUI登录界面

Solaris 10默认安装完成后会使用图形界面(GUI)来登录。如果不想使用GUI,可以使用下面的命令来使系统启动后自动进入命令行界面:

以root用户登录系统后,打开一个命令行窗口(terminal),在命令行下运行下面的命令来禁止GUI:

/usr/dt/bin/dtconfig -d

若需要恢复GUI登录界面,则运行下面的命令:

/usr/dt/bin/dtconfig -e

Read more

中国要发展,人才是关键

中国提出要大力发展装备制造、信息、生物技术、新材料、航空航天、海洋、金融财会、生态环境保护、新能源、农业科技、宣传思想文化等经济社会发展重点领域方面的人才。可以期待国家将会对IT业培训加大扶持力度。

下面是联合早报网相关报道:
===================================
 正在加速推进经济转型与引领国家进入新发展阶段的中国政府,提出中国在2020年加入世界人才强国行列的目标,强调加快人才发展是中国“在激烈的国际竞争中赢得主动的重大战略选择”。国内专家认为,这表明中国力图实现核心竞争力转向,使之从“人口”转向“人才”。

  中国政府前天发布首份《国家中长期人才发展规划纲要》(简称《纲要》),强调人才是中国经济社会发展的第一资源。

  以10年为限,《纲要》对于中国人才数量的提升定下一系列明确的战略目标,包括使人才资源总量从现在的1亿1400万人增加到1亿8000万人;人才资源占人力资源总量的比重提高到16%;主要劳动年龄人口受过高等教育的比例要达到20%,每万名劳动力中研发人员从24.8名增加到43名;高技能人才占技能劳动者的比例增长到28%。

  《纲要》还指明,中国要在装备制造、信息、生物技术、新材料、航空航天、海洋、金融财会、生态环境保护、新能源、农业科技、宣传思想文化等经济社会发展重点领域,建成一批人才高地。

Read more

BIND错误及修正

今天的工作中需要添加大概40条DNS记录,于是就把相应的IP和主机名放在excel里处理了一下,然后粘贴到数据文件里。没想到重启BIND服务器时报错,如下:

root@sol-dns2:/apps/bind # named-checkzone example.com /apps/bind/db.example.com
dns_master_load: /apps/bind/db.example.com:5944: ignoring out-of-zone data (edc-ene19.exampl.com)
dns_master_load: /apps/bind/db.example.com:5945: ignoring out-of-zone data (edc-ene19-ilo.exampl.com)
dns_master_load: /apps/bind/db.example.com:5946: ignoring out-of-zone data (edc-ene20.exampl.com)
dns_master_load: /apps/bind/db.example.com:5947: ignoring out-of-zone data (edc-ene20-ilo.exampl.com)

Read more

apache软件基金会出售全部知识产权和资产给oracle – April 1st

今天在ASF(apache software foundation)的博客中看到,他同意将所有知识产权和资产已15亿美金的价格出售给Oracle。

希望只是愚人节的玩笑,不然这么多的开源产品都没有了,后果会怎么样呢?

https://blogs.apache.org/foundation/entry/the_apache_software_foundation_receives

The Apache Software Foundation Receives Approval for Sale to Oracle Corporation

Today, the Apache Software Foundation announced it has agreed to sell all IP and assets of the foundation to Oracle. The agreement is a $1.5 billion all cash deal. The ASF board agreed to the terms after vigorous discussions last evening.

Read more

20 Essential Things to Know About the HTML5

The HTML5 specification is the much-discussed, much-anticipated follow-on to HTML4, which has grown a little long in the tooth for the kinds of Web applications developers are creating today and aspire to create in the future. HTML5 will enable a whole new class of Web applications that support multimedia content and offline capability without the need for proprietary plug-in technology.

http://www.eweek.com/c/a/Application-Development/20-Essential-Things-to-Know-About-the-HTML5-Web-Language-329684/

Read more

OpenBSD 4.7 tmux的bug修复了

今天测试了OpenBSD 4.7的snapshot,发现tmux可以使用了。

DESCRIPTION
tmux is a terminal multiplexer: it enables a number of terminals to be
created, accessed, and controlled from a single screen. tmux may be de-
tached from a screen and continue running in the background, then later
reattached.

When tmux is started it creates a new session with a single window and
displays it on screen. A status line at the bottom of the screen shows
information on the current session and is used to enter interactive com-
mands.

Read more

Apache segmentation fault

安装了phpldapadmin后,apache报出了很多seg fault的错误,虽然程序磕磕绊绊的还能运行。

[acheng@henan ~]$ sudo tail -f /var/www/logs/error_log
[Sun Mar 28 21:15:12 2010] [notice] child pid 4112 exit signal Segmentation fault (11)
[Sun Mar 28 21:15:16 2010] [notice] child pid 7268 exit signal Segmentation fault (11)
[Sun Mar 28 21:15:50 2010] [notice] child pid 5508 exit signal Segmentation fault (11)
[Sun Mar 28 21:15:55 2010] [notice] child pid 12292 exit signal Segmentation fault (11)
[Sun Mar 28 21:15:59 2010] [notice] child pid 3828 exit signal Segmentation fault (11)

Read more

OpenBSD上安装配置OpenLDAP

在配置了$PKG_PATH变量的情况下:
#pkg_add -v openldap-server

否则:
#pkg_add -v ftp://ftp.openbsd.org/pub/OpenBSD/4.6/packages/i386/openldap-server-2.3.43.tgz

安装完成后,按照下面的提示配置rc.conf.local和rc.local:

========================================================================
— openldap-server-2.3.43 ——————-
To start slapd, configure it in /etc/openldap/slapd.conf then add
the following line to /etc/rc.conf.local:

slapd_flags=”-u _openldap”

and to /etc/rc.local (be sure to start it _before_ any daemon that may
need it):

Read more

Solaris 10 boot archive issue

今天一台Solaris服务器突然进入维护模式,用户无法通过SSH连接,所有服务停止。
幸好系统已经配置了ILOM,通过ILOM界面reboot系统,重启时提示如下错误:

========================================================
WARNING: add_spec: No major number for
NOTICE: nxge0: xcvr addr:0x1d – link is down
NOTICE: nxge1: xcvr addr:0x1c – link is down
Hostname: solaris10_sparc
VxVM sysboot INFO V-5-2-3409 starting in boot mode…
NOTICE: VxVM vxdmp V-5-0-34 added disk array 04717, datype = TagmaStore-USP

NOTICE: VxVM vxdmp V-5-0-34 added disk array DISKS, datype = Disk

Read more
Sidebar