Posts Tagged ‘SUN’
-
Sun is to the end of life
As Euro Commission clears Oracle’s proposed acquisition of Sun Microsystems, this acquisition is much closer to the end. And I don’t think Russia and China will place obstacles for this deal, and it will finish in several days.
It is so pity and sad to hear that bad news. As a student, I took the most memorable internship at Sun and deeply fell into love with Sun’s unique curture. Without an open enviornment and a technology-first ideology, every engineer can obtain an immeasurable freedom around technology, so Sun created a lot of new technique. Java, Solaris, ZFS, DTrace, netBeans, JavaFX, Lesture, StorageTek, Cluster, VirtualBox, MySQL, UltraSPARC, xVM….. All of them is so great that can change our world. I worked for Sun for 8 months, but I cannot remember all of Sun’s mature product, because Sun owns such a lot of good projects or products.
In my family, I deployed a NAS (Network Attached Storage) Server under OpenSolaris. with ZFS supported, I can easily possess a good network server to store my personal and family data with a high reliability and a good performance. And I also deployed subversion, SAMP (Solaris+Apache+MySQL+PHP), Dynamic domain binding, remoting desktop and so on into my box, and I got a wonderful family system center with Sun’s product. I love it!
I will never forget that time working for Sun in my life. I love Sun forever.
Good luck to all the Sunners.
Sunset.
1982–2010 -
2009-07-30 PKUSSer Open Party @ St.Andrew, Sun Inc.
Thanks to Jerry’s hard working and meeting room providing, We PKUSSer successfully held an open party at St.Andrew, Sun’s office yesterday. During the session, we made a tiny game to know each other much not only for our name but also for other personal details. After that, Nihaiyu and Feng Cheng also gave us two wonderful and memorable presentations on their own IT business projects. Gao Ze Feng and Laye Wong made oral talks after the young entrepreneurs to share their internship experience on both technique and interview. What a pongal day yesterday!
And, it is so complicated for me to reenter Sun’s office and touch the environment. I’ve taken my internship for almost one year at Sun and lived, studied with Sun AGC team members. It was really let me remember the time before.
I love Sun, even Sun will leave us soon. Take care all the SUNer, good luck to their future!
-
Sun被Oracle收购了
Sun被Oracle以每股9.5美元,共计74亿美元收购。
这对于所有Sun的拥趸们来说,有如晴天霹雳一般。Solaris、MySQL、OpenSolaris、ZFS、DTrace、netBeans、Open ESB……Sun那么多优秀的开源项目和优秀的产品,将何去何从?真的不希望看到这些技术由于商业的抉择而搁浅,而最近几天还在考虑在家里部署一个Home Server,装上Solaris和ZFS呢。
在Sun实习了8个月,和Sun还有Sun的产品相当有感情,也非常喜欢Sun的文化。但愿被收购后,Sun的文化可以不被改变,但愿Sun的项目和产品特别是AGC组的项目和产品能够继续健康地发展下去。
-
A big long day for Sun ERI’s Employees
Sun Microsystems ERI, where I took the most memorable internship experience, did a tiny scale layoff today. Unfortunately, my former manager, Jack Kang, is unlucky to be cut down.
It is really a bad news not only for Jack and all of his team members, but also for me. Jack is really the best manager I’ve ever seen and heard. He is very nice and kind, and also a competent manager. I don’t think it is good choice for Sun to let him leave his position. He is big treasure for Sun!
I stayed at AGC Platform of Sun ERI for almost eight months. All the guys, including manager, employees, vendors and interns, are just like a family. We work together, learn together and participate activities together. I love this culture. And Without Jack, totally I could not start my internship at Sun, learning so much around best engineers, feeling that culture. It is really a pity for hearing that news…
But it is true that the harsh reality is tough for everyone. And Sun is going down so far, it maybe a good chance for him to restart his life for another peak. As Sun is a good company, many companies is looking forward to recruiting elitist just like Jack. And maybe he will run a private company, whatever. What I can do for him just give him some warm words and bless him. Good luck Jack!
By the time, I also worry about others in my team. It is said that Sun ERI Beijing will let more than 60 people layoff their position. Today is just a start. I just hope others could get off the hook this time, good luck to our team!
BLESS ALL THE GUYS.
-
最后一点点回忆
临走那天,留下了自己在Sun的最后一点印象。左面的照片是我的badge,右面的则是我的cube。最后一点点回忆,记录下来。
另:看到了Yongsun博客里面的照片,ERI年会的。很感慨,没能赶上这次聚会,有点可惜。
不过新的路程开始了,要向前看喽。
-
让OpenSolaris的字体更漂亮
当我们下载了OpenSolris 2008.05后,会发现它的确非常好用,完善的无线网络机制和输入法,比Ubuntu要好。装载了SunOS 5.11的内核后,OpenSolaris在各个方面的表现能力的确不错。但是在字体方面却表现不尽如人意。另外,当我们使用OpenOffice进行文档编辑时,的确感到了它各个方面的强大,已经足够和Microsoft Office的word、excel、powerpoint媲美了。但是字体还是个大问题。由于OpenSolaris只搭载了一个简单的上海文鼎宋体这个开源字体,所以表现能力肯定不够好。
对于我们个人使用者来说,有一个解决方法:那就是利用windows里面的字体!
我们可以将windows中的 C:\windows\fonts 目录中的一些字体复制下来,然后装入OpenSolaris的 /usr/X11R6/lib/X11/fonts/TTF 目录,就可以使用了!在我的OpenSolaris系统里,已经可以使用上Arial、Tahoma、Verdana和宋体、楷体、隶书、微软雅黑等字体了!
另外,可以在桌面上单击右键,选择桌面背景,再选择字体。将前三个改为Tahoma,最后一个改为Courier,你的界面将会变得漂亮起来。来试试看吧!
-
BUSY Days come up
最近一段时间,觉得时间很不够用。有太多的事情需要去做,太多的知识需要去学习。每天,经常是一到了公司,就开始忙活起来,直到中午吃饭;以前的中午,大多和同事们去打打桌面足球,而现在除了简单的休息,就要继续学习,继续做事情了。
最近的工作任务虽说不太多,但是也比较繁杂,占据了一部分时间。但最大头还是学习。参加了公司的Learning Group,学习Python,学习NLP;自己也在Unix-Center.net上开了一门跟自己的工作蛮贴近的Unix Shell方面的课程。每周都要花掉不少时间来准备教程。再加上学校的综合实践,自己接的两个项目……快疯掉了。。。。
有时候就想,忙死算了…… 虽然事情是有个轻重缓急的,但是哪个似乎都耽搁不起。。要么是公司的事情,要么是学校的事情,更要么就是接的项目。。把我劈成两个人来完成该多好啊。。
另外,在学习NLP时,发现自己的概率知识又忘掉了很多,需要恶补一下了。
=======================对了,再补充一下,9月20日在本部有个Software Freedom Day的活动,我有个关于Open Source的Presentation,欢迎大家去啊,嘿嘿。具体地点和时间还不清楚。
-
在OpenSolaris上用cdrecord刻录CD/DVD
cdrecord是OpenSolaris上一个功能强大的用以刻录CD/DVD的命令行工具。与之前的cdrw相比, cdrecord能更好的兼容USB和1394接口的刻录机,而cdrw则仅推荐在内置的IDE/ATAPI刻录机上使用。
在继续之前,让我们先来了解一下与刻录相关的概念。
* CD-R:可刻录CD(CD-Recordable)。只能够写入一次,可多次读取。(WORM,Write Once, Read Many)
* CD-RW:可重写CD(CD-Rewritable)。多次写,多次读。(WMRM,Write Many,Read Many)
* DVD +R:可刻录DVD,只能写入一次。容量为4.7GB,于2002年由众多公司共同支持的DVD+RW联盟开发。并于2003年开始支持双面存储,使得容量达到了8.5GB。该标准不被DVD论坛接纳,并声称DVD+R并非官方DVD格式,但是很多厂商仍然支持该格式。
* DVD+RW:可重写DVD,可多次写入。由DVD+RW联盟开发,容量达到了4.7GB,可重写近1,000次
* DVD –R:可刻录DVD,仅能写入一次。最初容量为4.7GB,于2005年开始支持容量可达8.5GB的双面存储。于DVD+R相比,DVD-R由 Poineer公司开发并获得了DVD论坛的承认而被大部分DVD播放器应用。现在很多能同时支持这两种格式的DVD机,一般都注明DVD±R标记。
* DVD-RW:可重写DVD,可多次写入。由Pioneer公司开发,容量为4.7GB,可重写近1,000次
DVD的[+]和[-]标准在市场上同样受欢迎,很多刻录机/影碟机都同时支持这两种标准下面是与文件格式相关的一些术语:
* ISO-9660:旧的和DOS兼容的文件系统,仅支持8,3文件名格式
* Rock Ridge:ISO-9660文件系统的扩展。支持长文件名、UNIX符号链接和文件属性(rwx)等< /li>
* Joliet:微软对ISO –9660文件系统的扩展。支持unicode编码的文件名和长文件名(64个unicode字符)。在只支持8个字符文件名的操作系统(比如 Windows 3.1)中,CD上一个长于8个字符的文件名将通过在一位数字后面加一个波浪符号(~)作为这个名字的最后一个字符来将其删减为8字符的文件名。< /li>
* Multisession:多区段刻录,允许多次添加/写入文件。每个刻录过程只刻录并且关闭一个区段(session),剩余空间下次可以继续刻录下一区段。
* DAO:Disc-At-Once,是在一个刻录过程中在一片光盘中刻入全部数据的方式。轨道(track)间没有间隔,在刻录录结束时自动关闭光盘。
* TAO:Track –At-Once,是在一个刻录过程中逐个刻录所有轨道(track),轨道之间有间隔。如果是数据轨道和音轨之间,则间隔为2到3秒,如果是音轨之间则间隔为2秒。刻录时可以选择不关闭区段,以后还可以添加轨道到光盘的这一区段,一般用于音乐CD的刻录,而对数据光盘无效。在CD或VCD播放机上播放时,区段必须关闭。刻录时也可以选择不关闭光盘,则以后还可以继续追加刻录下一区段。扫描刻录机
用cdrecord –scanbus扫描系统SCSI总线确定设备的描述符(例如:0,4,0)
示例:
# cdrecord –scanbus
Cdrecord-ProDVD-Clone 2.01.01a10 (i386-pc-solaris2.11) Copyright © 1995–2006 J�rg Schilling
Warning: Using USCSI interface.
Using libscg version ‘schily-0.8′.
scsibus0:
0,0,0 0) ‘MATSHITA’ ‘DVD-R UJ-857D ’ ‘KCV9’ Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
这里设备描述符是“0,0,0”创建.iso文件
OpenSolaris上刻录通常分两步完成,首先用mkisofs生成ISO映像,然后用cdrecord刻录CD/DVD。创建ISO映像示例如下。
# mkisofs –o backup.iso –J –r –v –V “Backup Volume” /path/to/mybackup
其中,-o输出.iso文件名
-J为了与Windows兼容,使用Joliet命名记录
–r 为了与UNIX/Linux兼容,使用Rock Ridge命名方式
–v 打印命令执行的详细信息
–V 指定卷ID
最后一个参数是要生成iso映像的目录路径
另外,在Solaris中可以用lofiadm命令把iso文件虚拟成块设备而mount到系统中
# lofiadm –a /export/iwork.iso
/dev/lofi/1
# mount –F hsfs –o ro /dev/lofi/1 /mnt刻录CD/DVD
使用前面-scanbus得到的设备描述符进行刻录、
# cdrecord –v dev=1,0,0 –eject backup.iso
其中,-v打印详细信息
–eject 刻录完成后自动弹出光盘
dev是-scanbus得到的设备描述符
缺省将使用TAO(-tao)刻录模式Multisession刻录
multisession常用于数据光盘的刻录,分次刻入多个文件。第一次刻录时,使用-multi选项刻录一个区段
# cdrecord –v dev=0,1,0 –eject –multi first.iso
为了在关盘上刻入更多的区段,mkisofs需要知道已刻入区段的起始和结束扇区。
# cdrecord dev-0,1,0 –msinfo
0,119256
# mkisofs –o second.iso –J –r –v –V Session2 –C 0,119256 –M 0,0,0 /path/to/files
在刻录最后一个区段的时候,cdrecord命令中不要使用-multi选项。把MP3刻录成音乐CD
首先用lame把MP3转换成.wav格式。lame可从该地址 下载。
# for f in *.mp3; do lame –decode $f ‘basename $f .mp3‘.wav; done
然后把.wav文件刻录到光盘上
# cdrecord –v dev=0,0,0 –eject –pad –audio *.wavOriginal Link: http://blogs.sun.com/judychen/entry/%E5%9C%A8opensolaris%E4%B8%8A%E7%94%A8cdrecord%E5%88%BB%E5%BD%95cd_dvd
-
AWK命令学习
今天在写shell脚本的时候发现了一个新的命令:awk。不看不知道,原来它十分之强大,直到今天才知道有这么个命令,汗~~~
下面是我从网上找到的一篇使用手册,贴上来学习。什么是awk?
你 可能对UNIX比较熟悉,但你可能对awk很陌生,这一点也不奇怪,的确,与其优秀的功能相比,awk还远没达到它应有的知名度。awk是什么?与其它大 多数UNIX命令不同的是,从名字上看,我们不可能知道awk的功能:它既不是具有独立意义的英文单词,也不是几个相关单词的缩写。事实上,awk是三个 人名的缩写,他们是:Aho、(Peter)Weinberg和(Brain)Kernighan。正是这三个人创造了awk—一个优秀的样式扫描与 处理工具。
AWK的功能是什么?与sed和grep很相似,awk是一种样式扫描与处理工具。但其功能却大大强于sed和grep。 awk提供了极其强大的功能:它几乎可以完成grep和sed所能完成的全部工作,同时,它还可以可以进行样式装入、流控制、数学运算符、进程控制语句甚 至于内置的变量和函数。它具备了一个完整的语言所应具有的几乎所有精美特性。实际上,awk的确拥有自己的语言:awk程序设计语言,awk的三位创建者 已将它正式定义为:样式扫描和处理语言。
为什么使用awk?
即使如此,你也许仍然会问,我为什么要使用awk?
使 用awk的第一个理由是基于文本的样式扫描和处理是我们经常做的工作,awk所做的工作有些象数据库,但与数据库不同的是,它处理的是文本文件,这些文件 没有专门的存储格式,普通的人们就能编辑、阅读、理解和处理它们。而数据库文件往往具有特殊的存储格式,这使得它们必须用数据库处理程序来处理它们。既然 这种类似于数据库的处理工作我们经常会遇到,我们就应当找到处理它们的简便易行的方法,UNIX有很多这方面的工具,例如sed 、grep、sort以及find等等,awk是其中十分优秀的一种。
使用awk的第二个理由是awk是一个简单的工具,当然这是相 对于其强大的功能来说的。的确,UNIX有许多优秀的工具,例如UNIX天然的开发工具C语言及其延续C++就非常的优秀。但相对于它们来说,awk完成 同样的功能要方便和简捷得多。这首先是因为awk提供了适应多种需要的解决方案:从解决简单问题的awk命令行到复杂而精巧的awk程序设计语言,这样做 的好处是,你可以不必用复杂的方法去解决本来很简单的问题。例如,你可以用一个命令行解决简单的问题,而C不行,即使一个再简单的程序,C语言也必须经过 编写、编译的全过程。其次,awk本身是解释执行的,这就使得awk程序不必经过编译的过程,同时,这也使得它与shell script程序能够很好的契合。最后,awk本身较C语言简单,虽然awk吸收了C语言很多优秀的成分,熟悉C语言会对学习awk有很大的帮助,但 awk本身不须要会使用C语言——一种功能强大但需要大量时间学习才能掌握其技巧的开发工具。
使用awk的第三个理由是awk是一个 容易获得的工具。与C和C++语言不同,awk只有一个文件(/bin/awk),而且几乎每个版本的UNIX都提供各自版本的awk,你完全不必费心去 想如何获得awk。但C语言却不是这样,虽然C语言是UNIX天然的开发工具,但这个开发工具却是单独发行的,换言之,你必须为你的UNIX版本的C语言 开发工具单独付费(当然使用D版者除外),获得并安装它,然后你才可以使用它。
基于以上理由,再加上awk强大的功能,我们有理由 说,如果你要处理与文本样式扫描相关的工作,awk应该是你的第一选择。在这里有一个可遵循的一般原则:如果你用普通的shell工具或shell script有困难的话,试试awk,如果awk仍不能解决问题,则便用C语言,如果C语言仍然失败,则移至C++。
-
Photos with Sin-Yaw Wang
Sin-Yaw’s Staff Team held a big farewell party for our ex-VP. There are some group pictures of us.
Paul’s Online Services
Dynamic Tag Cloud
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.
Recent Posts
- AIX Storage Learning 1
- 春节快乐! Happy Spring Festival!
- Sun is to the end of life
- 为cos-html-cache插件增加页面(Page)、标签(Tag)和分类(Category)的静态化功能
- How to configure Subversion in OpenSolaris
- 转载:IIS FastCGI PHP 环境下搭建 WordPress
- 在OpenSolaris下动态绑定域名
- Goodbye 2009, Hello 2010
- This Is It
- A Morse Code Exchanger
Recent Comments
- 新视界 (New Vision) » 在OpenSolaris下动态绑定域名 on 使用ZFS打造家庭廉价数据中心
- paul on Wordpress数据库转移网址变换的方法
- 知识 on Wordpress数据库转移网址变换的方法
- WP Super Cache V0.98 and IIS7 « Anders Heie on Speed up your WordPress Blog on IIS 7 by using WP-Super-Cache
- 博沈 on This Is It
- paul on 使用ZFS打造家庭廉价数据中心
- Anonymous on OpenSolaris 上的 Samba 服务器
- Anonymous on 使用ZFS打造家庭廉价数据中心
- Anonymous on OpenSolaris 上的 Samba 服务器
- Paul on 十年前和十年后的我们






