上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 30 下一页
摘要: 尊重原创,原文地址:http://www.slyar.com/blog/ubuntu-alternate-iso-upgrade.html1、下载Ubuntu ISO镜像2、挂载光盘镜像,要使用-o loop参数,镜像文件及挂载位置可自行修改sudo mount -t iso9660 -o loop /media/disk/ubuntu-i386.iso /media/cdrom03、开始升级,如果之前改了挂载位置,这里也要对应修改sudo gksu "sh /cdrom/cdromupgrade"还有一种就是1、添加iso文件源:sudo mount -t iso9660 阅读全文
posted @ 2010-10-15 15:49 DavidHHuan 阅读(2130) 评论(0) 推荐(0)
摘要: 其实,文章的重点是放在了如何配置php的xdebug环境,毕竟环境搭好了,像NetBeans,Eclipse这样的IDE,随便哪个都可以做php的调试的。操作环境:OS: Ubuntu 10.04Server: xampp 1.7.3a1. 下载xdebug.so方便懒人,不用去编译,所以就提供一个32位的xdebug.so。http://download.csdn.net/source/2757... 阅读全文
posted @ 2010-10-15 11:21 DavidHHuan 阅读(713) 评论(0) 推荐(0)
摘要: 1. Scene of building a theme.代码2. Build a function: hook_theme()[代码]3. Build a function: theme_hook()[代码] 阅读全文
posted @ 2010-10-08 18:25 DavidHHuan 阅读(285) 评论(0) 推荐(0)
摘要: I am a fresh man of java and play framework, maybe there is everyone know how to seperate the admin to a module, so please forgive me and help to build play framework better. :)Let use yabe for exampl... 阅读全文
posted @ 2010-09-28 17:56 DavidHHuan 阅读(791) 评论(0) 推荐(0)
摘要: 代码代码 阅读全文
posted @ 2010-09-28 15:04 DavidHHuan 阅读(383) 评论(0) 推荐(0)
摘要: Please see the command below: 代码That is to say i got the error: Too many levels of symbolic links. The reason is that, when I creating the symbolic link, I only used the relative path, but not the abs... 阅读全文
posted @ 2010-09-27 13:51 DavidHHuan 阅读(481) 评论(0) 推荐(0)
摘要: 1. Download the stax, and then uncompress it.http://stax-downloads.s3.amazonaws.com/sdk/stax-sdk-0.3.8-dist.zip2. Set the enviroment, open the file ~/.bash_profile (in fact that you may have to create... 阅读全文
posted @ 2010-09-26 11:05 DavidHHuan 阅读(775) 评论(0) 推荐(0)
摘要: In fact that I am too poor to buy a server to run my website, but I want to run cron auto, so I use ajax to do it! :PIn the file of the layout, add the code as below:代码in the path /site/cron, you can ... 阅读全文
posted @ 2010-09-22 23:04 DavidHHuan 阅读(356) 评论(0) 推荐(0)
摘要: Maybe there is not a good introduction about how to embed css and images in a module in the forum (or cookbook) of Yii framework, but thanks to Qiang, who builds the great framework, that I found the ... 阅读全文
posted @ 2010-09-22 12:58 DavidHHuan 阅读(669) 评论(1) 推荐(1)
摘要: All I test the code below is under Ubuntu.1. Install expect[代码]2. Create a .sh file, here is login.sh, and insert the code as below[代码]Please note that you have to change to codes what is marked with ... 阅读全文
posted @ 2010-09-17 14:58 DavidHHuan 阅读(295) 评论(0) 推荐(0)
摘要: As we know, in drupal, the frontend and backend are mixed together, but when we click the button "delete" or "revisions" of a node, we are redirected to frontend, so how can we set to stay in backend ... 阅读全文
posted @ 2010-09-15 18:14 DavidHHuan 阅读(306) 评论(0) 推荐(0)
摘要: Change the URL for the admin panel: /admin/ will be no more accessible. The goal is to avoid hacks.Let say we want to change the entry of backend from /admin to /config, that is the web user is deny w... 阅读全文
posted @ 2010-09-09 16:07 DavidHHuan 阅读(369) 评论(0) 推荐(0)
摘要: First you have to create a new module called "my_submit", and in the my_submit.module, insert the code as below:代码I have added readMe in the code comment. 阅读全文
posted @ 2010-09-08 11:19 DavidHHuan 阅读(506) 评论(0) 推荐(0)
摘要: Modify the file, sites/all/modules/date/date_elements.incfunction date_combo_validate(), maybe line 521,after the code[代码]add these:[代码]sites/all/modules/date/date.themefunction theme_date_display_com... 阅读全文
posted @ 2010-09-07 20:52 DavidHHuan 阅读(279) 评论(0) 推荐(0)
摘要: When I insert a wrong url to the server, I got the error as blow : [代码]And then I check the log of apache, I got some notice : [代码]Thanks for Google, I got the resolve.Open the .htaccess files, we can... 阅读全文
posted @ 2010-09-01 13:48 DavidHHuan 阅读(496) 评论(0) 推荐(0)
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 30 下一页