当前位置: 首页 > news >正文

网站上线方案有哪些是外国人做的网站

网站上线方案,有哪些是外国人做的网站,039 织梦云idc网站源码,网站的发展前景转贴网址#xff1a;http://www.oldlinux.org/oldlinux/viewthread.php?tid2551extrapage%3D1 [这个贴子最后由redgrid在 2006/08/09 00:45pm 第 17 次编辑]Linux 0.11虽然不是什么“珠穆朗玛峰”#xff0c;但它肯定还是“华山”或“泰山”。虽然有路但你还是需要最基…转贴网址http://www.oldlinux.org/oldlinux/viewthread.php?tid2551extrapage%3D1 [这个贴子最后由redgrid在 2006/08/09 00:45pm 第 17 次编辑]Linux 0.11虽然不是什么“珠穆朗玛峰”但它肯定还是“华山”或“泰山”。虽然有路但你还是需要最基本的努力和花费一定的代价才能“攀登”上去。1. PC兼容机硬件工作原理比如8259A,8253, 8042UART等硬件2. Intel 32位 运行模式工作原理寻址方式3. 传统C语言4. 一些Intel asm基础。5. 会使用Linux操作系统懂得Linux系统的基本操作。推荐参考书籍《UNIX操作系统设计》http://www.china-pub.com/computers/common/info.asp?id34*《UNIX环境高级编程》http://www.china-pub.com/computers/common/info.asp?id30《操作系统设计与实现》MINIXhttp://www.china-pub.com/computers/common/info.asp?id2033《IBM PC 汇编语言程序设计》http://www.china-pub.com/computers/common/info.asp?id7721*《深入理解计算机系统》http://www.china-pub.com/computers/common/info.asp?id18133《Linux权威指南》http://www.china-pub.com/computers/common/info.asp?id1174《Linux Assembly Language Programming》ftp://plinux.org/pub/linux/docs/ ... age_Programming.pdf*《Intel 80386 Programmer;s Reference Manual》ftp://plinux.org/pub/linux/docs/Intel_80386_Manual.pdf*《The C Programming Language》ftp://plinux.org/pub/linux/docs/The_C_programming_Language.rar加星号“*”者为重点推荐读物如果有些忘了就请先花哪怕一天时间将这些基础知识先浏览一遍在看本书。硬件方面可参考教科书。Intel 32 mode 可见Intel 386 manual内核代码中用到的汇编程序as86和ATT语法可参照以下一些文档。-------------------------------------------------------------MINIX 汇编手册: http://www.oldlinux.org/oldlinux/viewthread.php?tid291NASM 汇编手册: http://www.oldlinux.org/oldlinux/viewthread.php?tid877as86   在线手册: http://www.oldlinux.org/oldlinux/viewthread.php?tid1895ld86   在线手册http://www.oldlinux.org/oldlinux/viewthread.php?tid1428/*****************************************//* 本站资源                            *//* http://oldlinux.org/Linux.old/        *//*****************************************/如果你具有大学计算机本科或以上学历那么你可以在适当复习以上知识后就能顺利看懂本书。如果你是在读本科计算机系的学生那么在学习过操作系统课程或者正在学习时只要复习一些有关Intel PC机组成原理就应该很顺利地理解本书并能很好地帮助你理解操作系统的基本原理。如果你是其它专业在读本科学生那么你可以首先自学一些有关操作系统的理论知识和计算机微机原理课程如果没有学过的话了解一些操作系统的基本术语再继续学习本书。如果你是一个专科学生那么你首先需要准备的知识与一个非计算机本科生所要做的一样。如果你是一个中学毕业的学生那么你可以先自学一些《计算机原理》、《微机原理》、《C语言》、《英语》等基本课程然后再继续阅读本书。当然也可以把摊子铺开同时阅读注意 无论你现在的学位或学历怎样这都不是主要问题。关键在于努力和刻苦。而兴趣是学习的最好动力之一。即使你没有任何学位只要识字能上网那么你面前的道路还是宽广的。“世上无难事只要肯登攀”。---------------------------------------------------------------------------------------------源代码浏览工具介绍http://www.oldlinux.org/oldlinux/viewthread.php?tid1470  在本机上阅读源代码可以使用redhat 的snavigator或Source Dynamics的Source Insight软件。snavigator是免费的source Insight可以去www.sourceInsight.com去下载。或者在此处下载http://oldlinux.org/download/tools/si350.rar (3.2MB)http://oldlinux.org/download/tools/Release-SN51E-win32.zip (7.8MB)http://oldlinux.org/download/tools/src2html/Source Insight的使用方法可参见文章http://www-900.ibm.com/developer ... t/tip17/index.shtml  也可以使用本站网页上提供的再线交叉引用阅读程序http://oldlinux.org/lxr/http/source/在阅读本书时最好在计算机中安装这两个软件之一边阅读书中注释边浏览代码。------------------------------------------------------------------------------------------------lxr设置方法介绍1How to make your own Cross ReferenceBy qhshang at 163.comIt is a long long time to gen xref for it, a not so long time to glimpse-index it.If you are lucky enough to make lxr.conf done like it on this host in half an hour, do NOT drop me a mail:-)----------------------------------------Install lxrModify Makefile to customize the PERLBIN and INSTALLPREFIX, to indicate the perl program and where you install lxr.then #36; make installTo generate your reference for files in Your_dir:#36; genxref Your_dirwhile genxref is in lxr/binIn my practice using genxref, locale should be set to C, en_US.utf-8 is not ok.I don;t know why, because I don;t read the perl script throughly.----------------------------------------Install glimpse:First make  glimpse, then cp bin/{glimpse,glimpseindex} to /bin or /usr/binGenerate index using glimpse:#36; glimpseindex -H . Your_dirhere -H means where to put the generated index files.Test your index:#36; glimpse Your_string----------------------------------------Web server configurationTo make lxr viewable in web pages, add lines for xrefs in apache conf 文件:Directory /Your_path_to_lxrOptions AllAllowOverride Allorder allow,denyallow from all/DirectoryTo make sure perl script can be executed:make a file .htaccess in  your lxr perl script dir:Options IndexesFiles ~ (search|source|ident|diff|find)#36;   SetHandler cgi-script   Options ExecCGI/FilesNOTE: some said only one line is OK:   SetHandler cgi-scriptI don;t know if it works.----------------------------------------Make your files browsable from browsers:First you should make sure the lxr dir can be accessed via web server.then#36; chmod 755 xref fileidx#36; chmod 755 .glimpse_*#36; chmod 755 Your_Dir_To_WWWROOT -R#36; chmod 755 Your_Dir_To_LXR -R----------------------------------------Configuration 文件: xrefs.confMy file is only for example use.Your can modify your conf file according to your own condition.#35; Define typed variable v, read valueset from file.variable: v, Version, [/Your_web_server_root/xrefs/src/versions], [/Your_web_server_root/xrefs/src/defversion]#35; here variable v is for Version, read from file, and defversion is for#35; default version, which will be shown to you by default.#35; Define typed variable a.  First value is default.variable: a, Architecture, [/Your_web_server_root/xrefs/src/archs]#35; and a is for Arch, the first one will be shown by default.#35; Define the base url for the LXR files.baseurl: http://Your_web_server_root/xrefs/#35; this url variable can be refered in template-head#35; These are the templates for the HTML heading, directory listing and#35; footer, respectively.htmlhead: /Your_web_server_root/xrefs/template-headhtmltail: /Your_web_server_root/xrefs/template-tailhtmldir:  /Your_web_server_root/xrefs/template-dir#35; The source is here.sourceroot: /Your_web_server_root/xrefs/src/linux-#36;v/linuxsrcrootname: Linux-#36;v#35; because I have more then one Linux kernel version, so I put them like the #35; above for clear reference#35; I make a linux subdir to hold the original kernel source here#35; #35;include foo.h is mapped to this directory (in the LXR source#35; tree)incprefix: /usr/include#35; I don;t know what is this mean, who can tell qhshang?#35; The database files go here.dbdir: /Your_web_server_root/xrefs/src/linux-#36;v#35; here is where you put the fileidx and xref file db.#35; the location can be various according to your operation.#35; Glimpse can be found here.glimpsebin: /usr/local/bin/glimpse#35; for freetext search#35; The power of regexps.  This is pretty Linux-specific, but quite#35; useful.  Tinker with it and see what it does.  (How;s that for#35; documentation?)map: /include/asm[^//]*/ /include/asm-#36;a/map: /arch/[^//]/ /arch/#36;a/----------------------------------------To provide the cross reference with Green-colored comments for C/C,there is a patch for lxr.(I am sorry that I forgot the url of this patch.)It should be put to lxr/lib/LXR.--- Common.pmWed Mar  7 15:34:24 2001 Common.pmSat Jan 27 12:42:41 2001 -18,8 18,8 cterm (;atom;,;.;,;;,-  ;comment;,;//*;,;/*/;,-  ;comment;,;//;,/n,  ;comment1;,;//;,/n,  ;comment2;,;//*;,;/*/;,;string;,;;,;;,;string;,;,;,;include;,;#35;include;,/n); -179,12 179,17 while (defined(#36;frag)) {   markspecials(#36;frag);-    if (#36;btype eq ;comment;) {-#35; Comment    if (#36;btype eq ;comment1;) {#35; C-style comment ;//;#35; Convert mail adresses to mailto:freetextmarkup(#36;frag);-#36;frag bi#36;frag/i/b;-#36;frag ~ s#35;/n#35;/i/b/nbi#35;g;#36;frag font color/#35;00AA00/i#36;frag;#36;frag ~ s#35;/n#35;/i/font/n#35;g;    } elsif (#36;btype eq ;comment2;) {#35; C-style comment ;/* ... */;freetextmarkup(#36;frag);#36;frag font color/#35;00AA00/i#36;frag/i/font;#36;frag ~ s#35;/n#35;/i/font/nfont color//#35;00AA00/i#35;g;   } elsif (#36;btype eq ;string;) {#35; String#36;frag i#36;frag/i;----------------------------------------Some misc questions:开始lxr作perl查询的时候出错有时侯能工作但是有警告       /** Warning: Use of uninitialized value in subroutine entry at       /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DB_File.pm line 259./于是找到这个文件中的相应行不知是错什么了DoTie_(#36;tieHASH, arg) ;觉得是mod_perl问题。下载一个mod_perl-1.99_10,照别人曾经写的作解压到/root#36; perl Makefile.PL EVERYTHING1 APACHE_SRC../httpd.x.x.x /srcUSE_APACI1 PREP_HTTPD1 DO_HTTPD1结果是[rootsecteam mod_perl-1.99_10]#35; perl Makefile.PL EVERYTHING1APACHE_SRC../httpd-2.0.47/ USE_APACI1 PREP_HTTPD1 DO_HTTPD1Reading Makefile.PL args from #64;ARGV!!! Unable to determine server version, aborting.!!! Please specify MP_APXS or MP_AP_PREFIX.不行,我猜测是版本不同导致的问题于是按照mod_perl 的INSTALL 文件作% perl Makefile.PL MP_APXS/usr/local/apache2/bin/apxsmake没有问题make test 有很多错:/usr/bin/perl -Iblib/arch -Iblib/lib /t/TEST -clean*** setting ulimit to allow core filesulimit -c unlimited; t/TEST -cleanAPACHE_USER APACHE_GROUP APACHE_PORT APACHE APXS //usr/bin/perl -Iblib/arch -Iblib/lib /t/TEST -verbose0*** setting ulimit to allow core filesulimit -c unlimited; t/TEST -verbose0*** root mode: changing the files ownership to ;nobody; (99:99)*** sudo -u ;#35;99; /usr/bin/perl -e ;print -r /root/mod_perl-1.99_10/t -w _ -x _ ? OK : NOK;*** result: NOK!!! You are running the test suite under user ;root;.Apache cannot spawn child processes as ;root;, thereforewe attempt to run the test suite with user ;nobody; (99:99).The problem is that the path:/root/mod_perl-1.99_10/tmust be ;rwx; by user ;nobody;, so Apache can read and write under thatpath.There several ways to resolve this issue. For example move;/root/mod_perl-1.99_10/t; to ;/tmp/; and repeat the ;make test; phase.You can test whether the location is good by running the following test:% sudo -u ;#35;99; /usr/bin/perl -e ;print -r /root/mod_perl-1.99_10/t -w _ -x _ ? OK : NOK;make: *** [run_tests] Error 29原来是解tar gz包到root路径的原因先不理会make install也可以安装重启apache查询警告依旧。于是重新解到tmp下% perl Makefile.PL MP_APXS/usr/local/apache2/bin/apxs% make make test还是同样的错突然看到错误中还有 /root/mod_perl-1.99_10/t可是我已经解到/tmp下作的呀很不解(:-)没有深究)只有删掉/root下的重新解到/tmpmake test的时候巨多的OK。。。然后就一路顺风成功install。于是启动apache[rootsecteam apache2]#35; ./bin/apachectl startSyntax error on line 235 of /usr/local/apache2/conf/httpd.conf:Invalid command ;AddModule;, perhaps mis-spelled or defined by a modulenot included in the server configuration现在注释掉下面的[rootsecteam apache2]#35; vi /usr/local/apache2/conf/httpd.conf#35;AddModule mod_perl.c启动[rootsecteam apache2]#35; ./bin/apachectl start[Thu Oct 09 10:00:34 2003] [error] Can;t locate Apache.pm in INC (INCcontains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi/usr/lib/perl5/5.8.0/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl/5.6.1/usr/lib/perl5/site_perl/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl ./usr/local/apache2/ /usr/local/apache2/lib/perl) at (ev#97;l 1) line 3.[Thu Oct 09 10:00:34 2003] [error] Can;t load Perl module Apache forserver 192.9.200.102:80, exiting...奇怪怎么没有Apache.pm呢locate Apache.pm出来好几个因为不知道哪里修改INC所以我找到一个Apache.pm拷贝到INC中的一个位置。启动[rootsecteam apache2]#35; ./bin/apachectl start可以但是查询的时候警告仍然如初这样认为是pm问题需要perl5.8.1于是makemake install启动apachectl发现libperl.so找不到连vim都不能用了vim: error while loading shared libraries: libperl.so: cannot openshared object 文件: No such file or directory于是从别的地方找了一个拷贝到/usr/lib可以了。然后去掉perl5.8.0的内容这次启动apache发现又有很多pm找不到觉的是mod_perl的配置决定了perl相关程序的位置。于是重新把mod_perl makemake install此时执行lxr发现错误The server encountered an internal error or misconfiguration and wasunable to complete your request.分析了一下觉的是perl的路径问题修改lxr的以下文件的perl路径difffindidentsearchsourceOK(或者把perl链接到/usr/bin因为大多perl脚本都是)这样lxr的标识符索引也没有警告了但是freetext搜索还不可以认为是glimpse的问题。(freetext有glimpse支持)然后把glimpse的属性搞定freetext搜索就好了现在默认是Linux-2.5.72-lsm1/其他问题apachectl的问题我是ssh到server上的执行/usr/local/apache2/bin/apachectl restart每次都使得我的ssh链接关闭不得其解到server本机终端执行/usr/local/apache2/bin/apachectl restart每次都退出一层shell奇怪。(没有仔细读apachectl script)只好到apache 所在路径下执行。各位可否给点指点 而且apachectl不给出成功与否[rootsecteam apache2]#35; ./bin/apachectl stophttpd (pid 20453?) not running------------------------------------------------------------------------------------------------Lxr设置方法介绍20. 假设你把lxr安装在你的web主目录中也即例如http://oldlinux.org/lxr/那么1. web目录下建立文件“.htaccess”其内容如下-----------------开始不包括本行#35; Web Access script permissionFiles ~ (search|ident|diff|find|source|ident1)#36;SetHandler cgi-script/Files------------------结束2. 编辑配置文件 lxr/http/lxr.conf 例如oldlinux.org的配置文件内容为--------------------开始#35; Configuration file.#35; Define typed variable v, read valueset from file.variable: v, 版本, [/var/www/oldlinux.org/lxr/source/versions], [/var/www/oldlinux.org/lxr/source/defversion]#35; Define typed variable a.  First value is default.variable: a, 体系结构, (i386)#35; Define the base url for the LXR files.baseurl: http://oldlinux.org/lxr/http/#35; These are the templates for the HTML heading, directory listing and#35; footer, respectively.htmlhead: /var/www/oldlinux.org/lxr/http/template-headhtmltail: /var/www/oldlinux.org/lxr/http/template-tailhtmldir:  /var/www/oldlinux.org/lxr/http/template-dir#35; The source is here.sourceroot: /var/www/oldlinux.org/lxr/source/#36;v/linux/srcrootname: Linux#35; #35;include foo.h is mapped to this directory (in the LXR source#35; tree)incprefix: /include#35; The database files go here.dbdir: /var/www/oldlinux.org/lxr/source/#36;v#35; Glimpse can be found here.glimpsebin: /usr/local/bin/glimpse#35; The power of regexps.  This is pretty Linux-specific, but quite#35; useful.  Tinker with it and see what it does.  (How;s that for#35; documentation?)map: /include/asm[^//]*/ /include/asm-#36;a/map: /arch/[^//]/ /arch/#36;a/----------------------------结束。3. 建立源文件内容。对每一个想要浏览的内核版本按以下步骤进行若要使用第56选项步骤你要首先安装glimpse软件#35; Source install procedures1. mkdir a subdirectory with the code version number;2. chdir into the subdirectory;3. tar -zxvf the compressed soucecode(this will generate a ;linux; subdir);4. /var/www/html/lxr/bin/genxref linux5. [ Optional ] glimpseindex -H . linux6. [ Optional ] chmod 644 .glim*7. Edit the ;versions; file to contain this new code version number;8. done!Example: To Install the linux kernel code version 2.1.33:The compressed code packet is : linux-2.1.33.tar.gz----------------------------------------------------------1. mkdir /var/www/html/lxr/source/2.1.332. chdir /var/www/html/lxr/source/2.1.333. tar -zxvf linux-2.1.33.tar.gz4. /var/www/html/lxr/bin/genxref linux5. [ Optional ] glimpseindex -H . linux6. [ Optional ] chmod 644 .glim*7. Insert the line ;2.1.33; into the ;versions; file.8. Done! 最后提醒一下从我们讨论的内核版本号(0.11)可以知道这个内核版本并不是一个没有错误的完善版本当然这也不存在其中有些代码必然不可能都是最好或是最有效率的但是作为了解内核工作实现原理来讲肯定已经做够了。****** 这里是终点更是一个新的起点 ******
http://www.zqtcl.cn/news/741532/

相关文章:

  • 婚介网站方案小说网站架构
  • 英文在线购物网站建设湖北建设厅举报网站
  • 漯河网络推广哪家好宁波网站seo公司
  • 网站设计ppt案例做物流用哪个网站好
  • 做网站官网需多少钱天元建设集团有限公司财务分析
  • 一般网站建设用什么语言网络规划设计师历年考点
  • 做网站卖菜刀需要什么手续江苏网站优化
  • 花生壳内网穿透网站如何做seo优化鞍山58同城网
  • 怎么为一个网站做外链跨境电商app
  • 医疗网站不备案seo技巧课程
  • 网页和网站有什么区别湖南省郴州市邮编
  • 公考在哪个网站上做试题武威做网站的公司
  • 河南如何做网站常州网站建设价位
  • 昆山网站建设培训班成都百度
  • 兰山网站建设郑州最好的网站建设
  • 手机网站后台源码枣庄市建设局网站
  • 网站建设傲鸿wordpress 获取分类下的文章
  • 网站运行速度优化wordpress国内优化
  • wordpress全站网易云音乐播放网站建设案例公司
  • 湘潭网站建设多少钱 报价表湘潭磐石网络北京百度seo点击器
  • 什么做的网站电子商务网站的建设的原理
  • 河北建站科技网络公司媒体平台
  • 做同城信息类网站如何赚钱石景山网站建设多少钱
  • 用ip的网站要备案吗网站的建设维护及管理制度
  • dedecms 百度网站地图南宁比优建站
  • 沈阳大熊网站建设制作怎么增加网站的权重
  • 网站建设 价格低建设网站大约多少钱
  • 好看简单易做的网站北京网站建设华网天下定制
  • 黑群晖做网站云主机搭建网站
  • 网站首页默认的文件名一般为微信app网站建设