<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Li Yue [学习笔记] &#187; suse</title>
	<atom:link href="http://www.liyue.org/tech/archives/tag/suse/feed" rel="self" type="application/rss+xml" />
	<link>http://www.liyue.org/tech</link>
	<description>技术笔记</description>
	<lastBuildDate>Sun, 18 Jul 2010 02:14:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>suse、jdk、tomcat</title>
		<link>http://www.liyue.org/tech/archives/9</link>
		<comments>http://www.liyue.org/tech/archives/9#comments</comments>
		<pubDate>Thu, 07 Aug 2008 13:39:28 +0000</pubDate>
		<dc:creator>李悦</dc:creator>
				<category><![CDATA[系统]]></category>
		<category><![CDATA[jdk]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[suse]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://www.liyue.org/tech/?p=9</guid>
		<description><![CDATA[将jdk-1_5_0_06-linux-i586.bin文件放到/usr/local下，执行bin文件，生成
jdk1.5.0_06文件夹。
修改配置文件，增加环境变量。
编辑/etc/profile，增加：
PATH=$PATH:/usr/local/jdk1.5.0_06/bin:/usr/local/jdk1.5.0_06/jre/bin:/usr/lo
cal/tomcat/bin:.
export PATH
JAVA_HOME=/usr/local/jdk1.5.0_06
export JAVA_HOME
CATALINA_HOME=/usr/local/tomcat
export CATALINA_HOME
CLASSPATH=./:/usr/local/jdk1.5.0_06/lib:/usr/local/jdk1.5.0_06/jre/lib:$CATA
LINA_HOME/common/lib/servlet.jar
export CLASSPATH
将tomcat压缩包解压到/usr/local下。文件夹名为tomcat。
执行bin下的startup.sh。成功。
将WEB应用部署在webapps以为的路径下，并修改conf/server.xml文件，在&#60;host&#62;段里
面，增加
&#60;Context path=&#8221;/web&#8221; docBase=&#8221;/opt/app/web&#8221;/&#62;
]]></description>
		<wfw:commentRss>http://www.liyue.org/tech/archives/9/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>suse上的oracle</title>
		<link>http://www.liyue.org/tech/archives/7</link>
		<comments>http://www.liyue.org/tech/archives/7#comments</comments>
		<pubDate>Thu, 07 Aug 2008 13:38:20 +0000</pubDate>
		<dc:creator>李悦</dc:creator>
				<category><![CDATA[系统]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[suse]]></category>

		<guid isPermaLink="false">http://www.liyue.org/tech/?p=7</guid>
		<description><![CDATA[Suse10已经对oracle10g有很好的支持，包括账户的建立，参数环境的配置，只需做很少的工作就能够顺利部署oracle数据库。系统已经添加了oracle账户和oinstall组。设置oracle账户密码passwd oracle。
修改安装文件和数据库目录权限：
Chown -R oracle.install /opt/oracle
Chown -R oracle.install /home/database (安装文件目录)
配置文件脚本/etc/profile.d/oracle.sh，里面已经设置好了参数信息。
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
# Set your ORACLE environment variable here
# ORACLE_HOME &#8211; Used here and in /etc/init.d/oracle (ora_environment())
# ORACLE_SID &#8211; Your Oracle System Identifier
#
ORACLE_BASE=/opt/oracle
ORACLE_HOME=$ORACLE_BASE/product/10.2/db_1
ORACLE_SID=orcl
export ORACLE_BASE ORACLE_HOME ORACLE_SID
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
运行runInstaller，linux版本检测没有通过，加参数忽略检测。
runInstaller -ignoreSysPrereqs
安装成功后，我们使用em进行管理。启动em
emctl start dbconsole
提示信息：
TZ set to Asia/Shanghai
Oracle Enterprise Manager 10g Database Control Release 10.2.0.1.0
Copyright (c) 1996, 2005 Oracle Corporation. All rights reserved.
http://linux-eyh7.site:1158/em/console/aboutApplication
Starting Oracle Enterprise [...]]]></description>
		<wfw:commentRss>http://www.liyue.org/tech/archives/7/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SUSE VNC远程控制</title>
		<link>http://www.liyue.org/tech/archives/5</link>
		<comments>http://www.liyue.org/tech/archives/5#comments</comments>
		<pubDate>Thu, 07 Aug 2008 13:36:59 +0000</pubDate>
		<dc:creator>李悦</dc:creator>
				<category><![CDATA[系统]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[suse]]></category>
		<category><![CDATA[vnc]]></category>

		<guid isPermaLink="false">http://www.liyue.org/tech/?p=5</guid>
		<description><![CDATA[LINUX下使用VNC进行图形界面远程桌面控制。
1、启用SUSE远程控制
SUSE默认安装了VNC，打开YaST，网络服务，远程管理（remote administration），选
择“允许远程管理”，在下面的选项进行防火墙设置，选择“打开防火墙端口”。点击
完成。
2、启动VNC服务。
SSH登录后，执行vncserver命令
提示：You will require a password to access your desktops.
设置远程访问的密码。
Password:（输入密码）
Verify: （再次输入）
提示：Would you like to enter a view-only password (y/n)? n（是否输入一个只
能查看的密码，选择否）
提示信息如下：
xauth: creating new authority file /root/.Xauthority
New &#8216;X&#8217; desktop is linux-eyh7:1（桌面编号为1）
Creating default startup script /root/.vnc/xstartup
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/linux-eyh7:1.log
3、配置xstartup启动脚本。
用VI编辑/root/.vnc/xstartup脚本
内容如下：
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80&#215;24+10+10 -ls -title &#8220;$VNCDESKTOP Desktop&#8221; &#38;
twm &#38;
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-
将最后一行更改为
startgnome
DISPLAY=:1 gnome-session
就是启动gnome图形界面窗口。
保存后，重启vnc。
4、下载windows vnc客户端软件。
运行VNC查看器，输入服务器的IP和桌面编号：
如：10.60.30.112:1
而后输入VNC连接密码就可以登录进去了。
5、通过浏览器控制：
如果主控端没有安装vnc viewer，通过浏览器也可以控制，强大吧。例如访问地址：
http://10.60.30.112:5801 （其中端口号＝桌面显示编号 [...]]]></description>
		<wfw:commentRss>http://www.liyue.org/tech/archives/5/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
