Site menu:

 

12月 2006
« Nov   Jan »
 123
45678910
11121314151617
18192021222324
25262728293031

分类

最新日志

最新评论

Site search

标签

存档页

Links:

冲动是魔鬼啊——手痒的下场

最近在学习debian,也算略有小成,也就在这个半懂半不懂的时候最容易搞出事情来,我今天终于把系统搞坏了 5555~~~

debian的apt-get确是非常的方便,安装apache mysql php非常的简单,经过今天不断钻研自信能够搞定一切了!今天突然发现偶安装的apache2是prefork而不是worker工作模式,偶这种爱追求时髦的人怎么能不用worker?改一定要改!!!噩梦开始了

删除现有的apache2

apache2ctl stop

apt-get –purge remove apache2 apache2-common apache2-mpm-prefork

成功 当然当中我很小心的备份了/etc/apache2

apt-get install apache2 apache2-common apache2-mpm-prefork

发现没办法安装

FreeBSD下的经验 是php的问题 把php删掉

 apt-get –purge remove 所有的php相关的咚咚

发现因为mysql的问题php删不掉

现在debian就像教唆犯一步一步引偶走向犯罪的道路

删!安装的东西全部删掉

期间偶备份了mysql php.ini,让偶欲哭无泪的事,等偶把全部的东西都删掉再次安装的时候发现apache2-mpm=worker 依然装不上!偶开始懊恼后悔,开始google……

而然服务器不能down太久,没办法偶不得偶痛下决定还是安装原来的,稳定等于一切,可悲的是这是一条不归路,debian的mysql不同于FreeBSD 他有个debian-sys什么的jb user,再次google,终于把这个用户的问题解决了,但发现偶得vhcs2不能用了 555555 坚持斗争了 2-3个小时后 ,没办法,决定重做系统……

Comments

Comment from trying powder
Time 2008年02月21日 at 12:13 上午

The right of the people to keep and bear…arms shall not be infringed. A well regulated militia, composed of the people, trained to arms is the best and most natural defense of a free country… JAMES MADISON, 1 Annals of Congress 434 (June 8, 1789).
I don’t care to belong to a club that accepts people like me as members — Groucho Marx

Build a man a fire, and he’ll be warm for a day Set a man on fire, and he’ll be warm for the rest of his life — Terry Pratchett
My current job sucks so hard, black holes are going green with envy — Liz Kimber, in borland***delphiwin32

Write a comment