<?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>LiangXu Wang &#187; sarge</title>
	<atom:link href="http://wlx.westgis.ac.cn/tag/sarge/feed/" rel="self" type="application/rss+xml" />
	<link>http://wlx.westgis.ac.cn</link>
	<description>technology backup/share</description>
	<lastBuildDate>Sat, 14 Jan 2012 03:56:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>SSH拒绝登录的问题</title>
		<link>http://wlx.westgis.ac.cn/205/</link>
		<comments>http://wlx.westgis.ac.cn/205/#comments</comments>
		<pubDate>Tue, 25 Jul 2006 02:47:20 +0000</pubDate>
		<dc:creator>wlx</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[sarge]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://wlxblog.westgis.ac.cn/205/</guid>
		<description><![CDATA[DEBIAN SARGE服务器，升级到testing后，无法ssh登录了。 经在服务器上检查，SSHD没有问题，帐号没有问题，密码没有问题，服务器安全也没有问题。最终发现是由于默认的安全性得到了提高，导致此问题的。 最后在http://www.debian-administration.org/articles/152找到了问题的答案。 或者不使用publickey登录，使用密码登录，要确认PasswordAuthentication该选项设置成 yes。 我的问题在于我的home目录属性发生了变化，即别人也可以写，导致安全检查无法通过。 修复过程： 1、直接到机房登录服务器，修改PasswordAuthentication为yes。 2、重启SSH服务，客户端生成RSA： ssh-keygen -t rsa ssh-copy-id -i ~/.ssh/id_rsa.pub username@myserver cd chmod 700 .ssh cd /home chmod 700 myhome]]></description>
			<content:encoded><![CDATA[<p>DEBIAN SARGE服务器，升级到testing后，无法ssh登录了。<br />
经在服务器上检查，SSHD没有问题，帐号没有问题，密码没有问题，服务器安全也没有问题。最终发现是由于默认的安全性得到了提高，导致此问题的。</p>
<p>最后在<a href="http://www.debian-administration.org/articles/152">http://www.debian-administration.org/articles/152</a>找到了问题的答案。</p>
<p>或者不使用publickey登录，使用密码登录，要确认PasswordAuthentication该选项设置成 yes。</p>
<p>我的问题在于我的home目录属性发生了变化，即别人也可以写，导致安全检查无法通过。<br />
修复过程：<br />
1、直接到机房登录服务器，修改PasswordAuthentication为yes。<br />
2、重启SSH服务，客户端生成RSA：<br />
ssh-keygen -t rsa<br />
ssh-copy-id -i ~/.ssh/id_rsa.pub username@myserver<br />
cd<br />
chmod 700 .ssh<br />
cd /home<br />
chmod 700 myhome<strong><br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://wlx.westgis.ac.cn/205/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grass 6.1cvs 在 Debian Sarge下的编译</title>
		<link>http://wlx.westgis.ac.cn/183/</link>
		<comments>http://wlx.westgis.ac.cn/183/#comments</comments>
		<pubDate>Thu, 30 Mar 2006 14:13:01 +0000</pubDate>
		<dc:creator>wlx</dc:creator>
				<category><![CDATA[GIS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[GRASS]]></category>
		<category><![CDATA[sarge]]></category>

		<guid isPermaLink="false">http://blog.mygis.org/183/</guid>
		<description><![CDATA[quoted from the grass&#8217;s user mail list. 1) The DebianGIS project publishes backported packages of GRASS 6.0.2 and 6.1-cvs for Debian/Stable (sarge) as well as other geospatial software (eg gdal 1.3.1). see http://pkg-grass.alioth.debian.org/cgi-bin/wiki.pl 2) If you explore the “build depends” &#8230; <a href="http://wlx.westgis.ac.cn/183/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>quoted from the grass&#8217;s user mail list.</p>
<blockquote><p>1) The DebianGIS project publishes backported packages of GRASS 6.0.2<br />
and 6.1-cvs for Debian/Stable (sarge) as well as other geospatial<br />
software (eg gdal 1.3.1).</p>
<p>see  http://pkg-grass.alioth.debian.org/cgi-bin/wiki.pl</p>
<p>2) If you explore the “build depends” line in the package description<br />
you can quickly figure out what packages you need to compile it<br />
yourself. You can even use the debian package building framework as a<br />
one line command. See the debian/ directory in the GRASS source code. </p>
<p>see  http://freegis.org/cgi-bin/viewcvs.cgi/grass6/debian/</p>
<p>(Paulo, could you write up a quick README file for there on how to build<br />
your own packages? I don&#8217;t know the “correct” way.)</p>
<p>3) compile it yourself. If you get *latest* CVS code you can compile<br />
with tcltk 8.4 and fftw3, otherwise use tcltk8.3 and fftw2 without<br />
losing anything.</p>
<p>I think for the FFMPEG animation support in NVIZ you need to get some<br />
non-Free packages from Christian Marillat&#8217;s repository:</p>
<p>add to /etc/apt/sources.list:<br />
 deb ftp://ftp.nerim.net/debian-marillat/ sarge main</p>
<p>./configure step:  (season to taste)</p>
<p>CFLAGS=”-ggdb -march=pentium4 -Wall” ./configure \<br />
    &#8211;with-tcltk-includes=/usr/include/tcl8.3 \<br />
    &#8211;with-motif &#8211;with-motif-includes=/usr/X11R6/include \<br />
    &#8211;with-readline &#8211;with-cxx &#8211;with-glw &#8211;with-odbc &#8211;with-sqlite \<br />
    &#8211;with-freetype &#8211;with-freetype-includes=/usr/include/freetype2 \<br />
    &#8211;without-postgres \<br />
    2>&#038;1 | tee config_log.txt</p>
<p># &#8211;with-ffmpeg &#8211;with-ffmpeg-includes=/usr/include/ffmpeg</p>
<p>$ make</p>
<p>To run GRASS, simply start (or symlink to)<br />
$ ./bin.$ARCH/grass61</p>
<p>or, as root,<br />
# make install</p>
<p>GRASS 6.1-cvs Compile package reqs for Debian/Stable, 31 Oct 2005</p>
<p>gcc              # for compile<br />
libc6-dev        # for basics<br />
flex             # for lex<br />
bison            # for yacc<br />
libncurses5-dev  # for curses<br />
zlib1g-dev       # zlib<br />
libreadline5-dev # readline<br />
libjpeg62-dev  or  libjpeg-mmx-dev  # for JPEG support<br />
libtiff4-dev     # for TIFF support<br />
libpng12-dev     # for PNG support<br />
tcl8.3-dev       # for TCL<br />
tk8.3-dev        # for TK<br />
#postgresql      # for Postgresql support<br />
#postgresql-dev  # for Postgresql support<br />
xlibmesa-gl-dev  # for OpenGL<br />
#libstdc++5-3.3-dev # for glu-dev<br />
xlibmesa-glu-dev # for OpenGL<br />
unixodbc-dev     # for ODBC<br />
fftw-dev         # for FFT functions<br />
lesstif2-dev     # for Motif<br />
libfreetype6-dev # for Freetype Fonts<br />
libgdal1-dev     # for GDAL<br />
gdal-bin         # for GDAL (doesn&#8217;t include libraries or gdal-config)<br />
proj             # for PROJ.4<br />
sqlite3          # for SQLite<br />
libsqlite3-dev   # for SQLite<br />
#libavcodec-dev   # for FFMPEG support<br />
libavcodeccvs-dev# for FFMPEG support<br />
libavutilcvs-dev # for FFMPEG support</p>
<p>make             # won&#8217;t get far without this..<br />
g++              # for r.terraflow</p>
<p>new:<br />
tcl8.4-dev       # for TCL<br />
tk8.4-dev        # for TK<br />
fftw3-dev        # for FFT modules</p>
<p>good luck,<br />
Hamish</p>
</blockquote>
<p>看样子，原来NVIZ在TCL/TK 8.4下的BUG已经解决了，而且支持FFTW3了，还可以输出视频了。</p>
]]></content:encoded>
			<wfw:commentRss>http://wlx.westgis.ac.cn/183/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian Sarge下的squid配置</title>
		<link>http://wlx.westgis.ac.cn/170/</link>
		<comments>http://wlx.westgis.ac.cn/170/#comments</comments>
		<pubDate>Sat, 18 Mar 2006 05:51:37 +0000</pubDate>
		<dc:creator>wlx</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[sarge]]></category>
		<category><![CDATA[squid]]></category>

		<guid isPermaLink="false">http://blog.mygis.org/170/</guid>
		<description><![CDATA[默认情况下，SQUID是禁止所有用户的。 可以对/etc/squid/squid.conf进行一下简单的修改： visible_hostname xxx acl cas src 210.77.0.0/255.255.0.0 http_access allow cas 然后运行： squid -z /etc/init.d/squid restart]]></description>
			<content:encoded><![CDATA[<p>默认情况下，SQUID是禁止所有用户的。<br />
可以对/etc/squid/squid.conf进行一下简单的修改：</p>
<blockquote><p>visible_hostname xxx<br />
acl cas src 210.77.0.0/255.255.0.0<br />
http_access allow cas</p></blockquote>
<p>然后运行：<br />
squid -z<br />
/etc/init.d/squid restart</p>
]]></content:encoded>
			<wfw:commentRss>http://wlx.westgis.ac.cn/170/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>debian sarge中文输入</title>
		<link>http://wlx.westgis.ac.cn/61/</link>
		<comments>http://wlx.westgis.ac.cn/61/#comments</comments>
		<pubDate>Sun, 27 Mar 2005 05:12:17 +0000</pubDate>
		<dc:creator>wlx</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[sarge]]></category>
		<category><![CDATA[vnc]]></category>
		<category><![CDATA[中文]]></category>

		<guid isPermaLink="false">http://blog.mygis.org/61/</guid>
		<description><![CDATA[在debian sarge中如何进行中文？特别是通过VNC进行远程桌面时。 首先要安装scim： apt-get install scim scim-tables-zh scim-chinese 然后建立一个新文件：/etc/X11/Xsession.d/95xinput case “$LANG” in zh_TW*) /usr/bin/scim -d XMODIFIERS=”@im=SCIM” ;; zh_HK*) /usr/bin/scim -d XMODIFIERS=”@im=SCIM” ;; zh_CN*) /usr/bin/scim -d XMODIFIERS=”@im=SCIM” ;; esac export XMODIFIERS 然后，远程桌面登陆后，首先修改启动热键，因为默认的会和WINDOWS上的冲突，被WINDOWS先接收走了，不再传递给VNC了。（比如，可以更改为ctrl+alt+space） 参考：http://wiki.linux.org.hk/index.php/How_to_make_Debian_support_chinese]]></description>
			<content:encoded><![CDATA[<p>在debian sarge中如何进行中文？特别是通过VNC进行远程桌面时。<br />
首先要安装scim：<br />
apt-get install scim scim-tables-zh scim-chinese<br />
然后建立一个新文件：/etc/X11/Xsession.d/95xinput</p>
<blockquote><p>case “$LANG” in<br />
zh_TW*)<br />
    /usr/bin/scim -d<br />
    XMODIFIERS=”@im=SCIM”<br />
    ;;<br />
zh_HK*)<br />
    /usr/bin/scim -d<br />
    XMODIFIERS=”@im=SCIM”<br />
    ;;<br />
zh_CN*)<br />
    /usr/bin/scim -d<br />
    XMODIFIERS=”@im=SCIM”<br />
    ;;<br />
esac</p>
<p>export XMODIFIERS
</p></blockquote>
<p>然后，远程桌面登陆后，首先修改启动热键，因为默认的会和WINDOWS上的冲突，被WINDOWS先接收走了，不再传递给VNC了。（比如，可以更改为ctrl+alt+space）<br />
参考：http://wiki.linux.org.hk/index.php/How_to_make_Debian_support_chinese</p>
]]></content:encoded>
			<wfw:commentRss>http://wlx.westgis.ac.cn/61/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>debian sarge 不认2G内存</title>
		<link>http://wlx.westgis.ac.cn/60/</link>
		<comments>http://wlx.westgis.ac.cn/60/#comments</comments>
		<pubDate>Fri, 25 Mar 2005 07:34:51 +0000</pubDate>
		<dc:creator>wlx</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[sarge]]></category>

		<guid isPermaLink="false">http://blog.mygis.org/60/</guid>
		<description><![CDATA[sarge中默认的安装光盘安装的内核是2.6.8-1，但不支持大于1G的内存。 但安装新的内核后就可以了。 apt-get install kernel-image-2.6.8-2-686]]></description>
			<content:encoded><![CDATA[<p>sarge中默认的安装光盘安装的内核是2.6.8-1，但不支持大于1G的内存。<br />
但安装新的内核后就可以了。<br />
apt-get install kernel-image-2.6.8-2-686</p>
]]></content:encoded>
			<wfw:commentRss>http://wlx.westgis.ac.cn/60/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>install tomcat5 in debian sarge</title>
		<link>http://wlx.westgis.ac.cn/58/</link>
		<comments>http://wlx.westgis.ac.cn/58/#comments</comments>
		<pubDate>Wed, 16 Mar 2005 12:52:03 +0000</pubDate>
		<dc:creator>wlx</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[MapServer]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[sarge]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://blog.mygis.org/58/</guid>
		<description><![CDATA[1.install j2sdk 1.5 http://wiki.debian.org.tw/index.php/Java 2. 下载tomcat5的bin版本 wget &#8230; tar &#8230; mv &#8230; /usr/local/ ln -s /usr/local/&#8230; /usr/local/tomcat export JAVA_HOME=/usr/lib/j2sdk1.5-sun /usr/local/tomcat/bin/startup.sh 3. 设置Mapserver cp *.so /usr/lib/j2sdk1.5-sun/jre/lib/i386/ 然后参考: http://www.unicolet.org/mapserver/tomcat.html]]></description>
			<content:encoded><![CDATA[<p>1.install j2sdk 1.5</p>
<p>http://wiki.debian.org.tw/index.php/Java</p>
<p>2. 下载tomcat5的bin版本<br />
wget &#8230;<br />
tar &#8230;<br />
mv &#8230; /usr/local/<br />
ln -s /usr/local/&#8230; /usr/local/tomcat<br />
export JAVA_HOME=/usr/lib/j2sdk1.5-sun<br />
/usr/local/tomcat/bin/startup.sh<br />
3. 设置Mapserver<br />
cp *.so /usr/lib/j2sdk1.5-sun/jre/lib/i386/<br />
然后参考: http://www.unicolet.org/mapserver/tomcat.html</p>
]]></content:encoded>
			<wfw:commentRss>http://wlx.westgis.ac.cn/58/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>debian sarge mapserver tomcat4</title>
		<link>http://wlx.westgis.ac.cn/55/</link>
		<comments>http://wlx.westgis.ac.cn/55/#comments</comments>
		<pubDate>Fri, 11 Mar 2005 13:31:30 +0000</pubDate>
		<dc:creator>wlx</dc:creator>
				<category><![CDATA[MapServer]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[sarge]]></category>
		<category><![CDATA[tomcat]]></category>

		<guid isPermaLink="false">http://blog.mygis.org/55/</guid>
		<description><![CDATA[最简单方案 apt-get install gdal-bin libgdal-doc libgdal1 libgdal1-dev proj apt-get install libgd2 libgd2-dev ./configure --with-gd=/usr --with-gdal=/usr/bin/gdal-config --with-ogr --with-proj --with-threads --with-postgis=/usr/local/pgsql/bin/pg_config make cd mapscript/java make make test cp *.so /usr/lib/jni/ cp *.jar /usr/share/tomcat4/common/lib]]></description>
			<content:encoded><![CDATA[<p>最简单方案</p>
<blockquote><p><code>apt-get install gdal-bin libgdal-doc libgdal1 libgdal1-dev proj<br />
apt-get install libgd2 libgd2-dev<br />
./configure --with-gd=/usr --with-gdal=/usr/bin/gdal-config --with-ogr --with-proj --with-threads --with-postgis=/usr/local/pgsql/bin/pg_config<br />
make</p>
<p>cd mapscript/java<br />
make<br />
make test<br />
cp *.so /usr/lib/jni/<br />
cp *.jar /usr/share/tomcat4/common/lib</code>
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://wlx.westgis.ac.cn/55/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>debian sarge的PHP4的编译参数</title>
		<link>http://wlx.westgis.ac.cn/39/</link>
		<comments>http://wlx.westgis.ac.cn/39/#comments</comments>
		<pubDate>Fri, 25 Feb 2005 13:05:14 +0000</pubDate>
		<dc:creator>wlx</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[sarge]]></category>

		<guid isPermaLink="false">http://blog.mygis.org/39/</guid>
		<description><![CDATA[debian中默认的PHP4编译参数，太长了，导致MAPSERVER的MAPSCRIPT无法编译。 './configure' '--prefix=/usr' '--with-apxs2=/usr/bin/apxs2' '--with-regex=system' '--with-config-file-path=/etc/php4/apache2' '--disable-rpath' '--enable-memory-limit' '--disable-debug' '--with-layout=GNU' '--with-pear=/usr/share/php' '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-bcmath' '--with-bz2' '--enable-ctype' '--with-db4' '--with-iconv' '--enable-exif' '--enable-filepro' '--enable-ftp' '--with-gettext' '--enable-mbstring' '--with-pcre-regex=/usr' '--enable-shmop' '--enable-sockets' '--enable-wddx' '--disable-xml' '--with-expat-dir=/usr' '--with-xmlrpc' '--enable-yp' '--with-zlib' '--with-pgsql' '--with-kerberos=/usr' '--with-openssl=/usr' '--enable-dbx' &#8230; <a href="http://wlx.westgis.ac.cn/39/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>debian中默认的PHP4编译参数，太长了，导致MAPSERVER的MAPSCRIPT无法编译。</p>
<blockquote><p><code>'./configure' '--prefix=/usr' '--with-apxs2=/usr/bin/apxs2' '--with-regex=system' '--with-config-file-path=/etc/php4/apache2' '--disable-rpath' '--enable-memory-limit' '--disable-debug' '--with-layout=GNU' '--with-pear=/usr/share/php' '--enable-calendar' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-bcmath' '--with-bz2' '--enable-ctype' '--with-db4' '--with-iconv' '--enable-exif' '--enable-filepro' '--enable-ftp' '--with-gettext' '--enable-mbstring' '--with-pcre-regex=/usr' '--enable-shmop' '--enable-sockets' '--enable-wddx' '--disable-xml' '--with-expat-dir=/usr' '--with-xmlrpc' '--enable-yp' '--with-zlib' '--with-pgsql' '--with-kerberos=/usr' '--with-openssl=/usr' '--enable-dbx' '--with-mime-magic=/usr/share/misc/file/magic.mime' '--with-exec-dir=/usr/lib/php4/libexec' '--disable-static' '--with-curl=shared,/usr' '--with-dom=shared,/usr' '--with-dom-xslt=shared,/usr' '--with-dom-exslt=shared,/usr' '--with-zlib-dir=/usr' '--with-gd=shared,/usr' '--enable-gd-native-ttf' '--with-jpeg-dir=shared,/usr' '--with-xpm-dir=shared,/usr/X11R6' '--with-png-dir=shared,/usr' '--with-freetype-dir=shared,/usr' '--with-imap=shared,/usr' '--with-imap-ssl' '--with-ldap=shared,/usr' '--with-mcal=shared,/usr' '--with-mhash=shared,/usr' '--without-mm' '--with-mysql=shared,/usr' '--with-unixODBC=shared,/usr' '--with-recode=shared,/usr' '--enable-xslt=shared' '--with-xslt-sablot=shared,/usr' '--with-snmp=shared,/usr' '--with-ttf=shared,/usr' '--with-t1lib=shared,/usr' '--with-gd=shared,/usr' '--with-mysql=shared,/usr'</code></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://wlx.westgis.ac.cn/39/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

