Show All   1 2 3 4



本次Michael的FTP服务器使用的是FreeBSD 4.10 Release版本,Michael决定使用FreeBSD非常优秀的Ports系统进行所有软件的安装。以下的所有操作均是在Root用户或者sudo root的情况下完成。

#cd /usr/ports/databases/mysql41-server
#make install

#pw groupadd mysql -g 88
#pw adduser mysql -u 88 -g 88 -d /nonexistent -s /sbin/nologin
#chown -R mysql:mysql /var/db/mysql
#chown -R mysql:mysql /usr/local/share/mysql
#cp /usr/local/share/mysql/mysql.server /usr/local/etc/rc.d/
4、创建mysql配置文件 my.cnf
#cp /usr/local/share/mysql/my-medium.cnf /etc/my.cnf (有my-medium、small、large、huge等可选)

现在,你可以通过 /usr/local/etc/rc.d/ start 或者重启系统来启动mysql了

#cd /usr/ports/ftp/proftpd-mysql
#make install

Show All   1 2 3 4
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
4 Responses
  1. DRILL says:

    #pw groupadd ftpusers -g 2002
    #pw adduser ftp -u 2002 -g 2001 -d /var/ftp/incoming -s /sbin/nologin

    pwadduser ftp -u 2002 -g 2001 (这个地方是2001还是2002?把ftp 到FTPGRP 组?)

  2. Michael says:


  3. dyfire says:

    很实用 ,想转载过去·

  4. thank you for your efforts.

  5. Hello there! This is my first visit to your blog!
    We are a collection of volunteers and starting a new
    initiative in a community in the same niche.
    Your blog provided us useful information to work on. You have done a marvellous job!

  6. g says:

    I am really happy to read this webpage posts which contains tons
    of valuable information, thanks for providing these kinds of data.

  7. I really like it whenever people come together and share opinions.
    Great website, stick with it!

  8. For hottest information you have to pay a visit world-wide-web and on web I found this web site as a
    most excellent web page for newest updates.

  9. Spot on with this write-up, I absolutely believe this web site needs
    a great deal more attention. I’ll probably be returning to see more, thanks for
    the information!

  10. Hmm is anyone else encountering problems with
    the images on this blog loading? I’m trying
    to find out if its a problem on my end or if it’s the blog.
    Any responses would be greatly appreciated.

  11. Howdy! I’m at work browsing your blog from my new apple iphone!

    Just wanted to say I love reading through your blog and look forward to
    all your posts! Carry on the great work!

  12. Hello, just wanted to tell you, I enjoyed this article. It was inspiring.
    Keep on posting!

  13. Wonderful blog! I found it while surfing around on Yahoo News.
    Do you have any tips on how to get listed in Yahoo News?
    I’ve been trying for a while but I never seem to get there!
    Appreciate it

  14. This design is incredible! You most certainly know how to keep a reader amused.
    Between your wit and your videos, I was almost moved to start my
    own blog (well, almost…HaHa!) Fantastic job. I really enjoyed what you had to
    say, and more than that, how you presented it. Too cool!

  15. Good post. I learn something totally new and challenging on websites I stumbleupon everyday.
    It’s always helpful to read through articles from other
    writers and practice a little something from other web sites.

  16. Hi, all the time i used to check webpage posts here early in the break of day,
    because i enjoy to learn more and more.

  17. I really like reading a post that will make men and women think.
    Also, thanks for permitting me to comment!

  18. Heya i’m for the first time here. I found this board and I find It truly useful & it helped me out a lot.
    I hope to give something back and aid others like you aided me.

Leave a Reply

Your email address will not be published. Required fields are marked *

To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Anti-spam image