Tags: mac
This entry was posted on Sunday, May 18th, 2008.
Written by: ShangNing
I have a Mac Mini conputer and it is too slow to do anything, because there is only 256MB memories and the free memories is few when the Aqua running.
So, I think I can DIY it into a server, just booting up in console mode, and running the Apache, Mysql, PHP and Perl on it.
There are the steps:
First, running SSH server on it, you can login the Mac OS in another conputer in SSH. If you do anything wrong, you can login in another computer and recover the modification.
Then, edit the file “/etc/ttys”, found two lines below:
# console “/usr/libexec/getty std.9600″ vt100 on secure
console “/System/Library/CoreServices/loginwindow.app/loginwindow” vt100 …
Delete the # character from in front of the first line, and place a # character in front of the second line. Then save the file.
Third, delete (or move) the file “/etc/mach_init.d/WindowServer.plist”.
Now, restart your Mac and you will find it is running in the console mode :D
Some friends did not do the third step, so they can not book up Mac in console mode, and their Mac OS stopped in a blue screen, just login in Root in ssh with another computer, and done the third step, then your Mac will be startup again.
When my Mac became a server, the free memories incresase to more than 100MB, now, I installed a lot of interesing servers on it, cool~




KBguy asked me two questions.1. I always wanted to go to China but don't know where to starts first.There are a lot of good places, for example, Guizhou, Yunan, Sichuan or Fujian. We have the Yellow Mountains, Jiu Zhai Guo National Park, Lijiang...
The year is coming to an end and the holiday season has arrived, so now is the time to classify summary of statistical data. This blog was found in the 21th of March, I blog for improve my English writing ability first, and now, it is the most important..
It was snowing when I woke up today, it is the first winter snow, it is snowing now, all the buildings and cars are white, very beautiful, I like it very much. I went out and took some photos, and uploaded them to my Flickr.There are some photos about...
There is no "About Me" long time, because I do not have own photograph of smiling. Just take a look, good photos always wears a smile. Oh, god, my face looks awful, and what more I don't know how to smile :(I am taking pictures of myself all..