install:
- sudo apt-get install mysql-server
support php:
- sudo apt-get install php5-mysql
done!
remove?
- apt-get autoremove --purge mysql-server-5.0
also
- sudo apt-get autoremove mysql-server
- sudo apt-get autoremove mysql-client
also
- apt-get remove mysql-common
install Django
download from http://www.djangoproject.com/download/ and then extrac
- sudo python setup.py install
cd into a directory where you’d like to store your code, then run the command:
- django-admin.py startproject mysite
This will create a mysite directory in your current directory.change into mysite directory and run the command:
- python manage.py runserver
now open "http://127.0.0.1:8000" with your firefox.You'll see a "Welcome to Django" page, It worked!
you can change the port with the following command:
- python manage.py runserver 8080
install mysqldb(this command "sudo sh MySQL_python-1.2.3c1-py2.6-linux-i686.egg" does not work?):
- sudo apt-get install python-mysqldb
use:
- django-admin.py startproject blog
but NOT:
- python django-admin.py startproject blog
install ulipad:
- sudo apt-get install python-wxgtk2.8
换了个asp.net空间,imfeng.net也由typecho转换到Bitrac。
评论和附件数据不再进行转换。
Invite others to Google Wave
Google Wave is more fun when you have others to wave with, so please nominate people you would like to add. Keep in mind that this is a preview so it could be a bit rocky at times.
Invitations will not be sent immediately. We have a lot of stamps to lick. Happy waving!
20
invitation left
话说上次办公室天花板的死老鼠被清理之后。没两天又发现天花板出现老鼠吱吱的叫声。没办法只有把害虫防治公司再叫过来全面检查一遍。结果找到了几个外墙洞,估计老鼠是通过这些外墙洞钻入办公室的。最后决定在天花板上放置老鼠药来诱捕这些老鼠。
可是吃了药的老鼠到处乱跑然后再死掉怎么处理呢?呃,这是个大问题。
想起以前是怎么对付老鼠的。
往用笼子抓住的老鼠的“patpat”塞一些黄豆,然后用订书机把屁眼订起来,当然你要是不怕恶心多一会想用针线缝起来也是可以的,然后放生。
Google一下,发现也有不少人推荐这种方法。
炙热的8月,收到两个炸弹,都在月底。
一个是同事,在附近;一个是朋友,在家乡,也就5个小时的车程。
朋友都来电邀请两次了,我说忙,他说工作是做不完的。然后是我的沉默。
其实我不忙,反倒很清闲,清闲得自己觉得有点害怕。
这份友情放在那里,我看了很久想了很久,始终不敢想说点什么,不那么重要但也有一定分量。
没完成的报告,就好象背上了沉重的道德包袱,做什么都没劲,想得多了,近乎抑郁。
一件事情想得太多了,就开始变得畏首畏尾了。
倒不如一开始就理性的冲动去干。
昨天跟老大的谈话让我想起袁朗对许三多说的那句话,跟人争论的时候要坚持立场。
其实,你并不像自己想象中的那么重要。
疯子越来越不疯了,只是希望,不那么畏首畏尾。
能不能在你系统上面加一个表情功能 -_-||
没看到,再加我404807533.注明一下小鱼
我加你QQ 了 结果你给我拒了。。汗。。。 我的空间里面有篇文章就是
你是怎么做的?我当时都没实现到
那个imfeng 最近我也遇到了你所说的 顶级域名的.htaccess 重写。
呵呵,换了个asp.net空间不支持php了
为啥。。。你不用typecho了。。。呵呵。老友来拜访了。
哇。我不会哦。
.................
ubuntu is powerfull!
Powered by Bitrac, Designed by Loveyuki, Icon by Led Icon Set. 粤ICP备09013569号