BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old September 12th, 2004, 02:22 PM
Antnee Antnee is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 21 Antnee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 34 m 36 sec
Reputation Power: 0
Help me install, in English please! ;)

Hey guys

My webhost has kindly given me a FreeBSD box to trial but I have to install everything myself. I have made PHP5 and included Apache2 when prompted. I also made MySQL4, now all I need to do is get them up and running. I'd also like to set up a decent FTP server so I can just FTP my web-files in.

PROBLEM: I can't make head nor tail of a lot of the help that I read on the web. All I want is the ability to install updates and fixes myself when I need to as my host won't do that due to shared servers etc.

I did something like this after su-ing to root:

Code:
cd /usr/ports/www/mod_php5
make install clean

cd /usr/ports/databases/mysql40-server
make install clean


When I try "/usr/local/bin/mysqld_safe --user=mysql" and "/usr/local/etc/rc.d/mysql.sh" I just get a standard "Command not found" message in reply

If I try "/usr/local/bin/mysqld_safe &" I get a message saying that MySQLD ended!

"ps -ax" doesn't show MySQL at all either and I get "Failed in mysql_real_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)" if I try to run /usr/local/bin/mysqltest

Please help, in English!

Reply With Quote
  #2  
Old September 16th, 2004, 09:36 AM
sufehmi sufehmi is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 6 sufehmi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m 17 sec
Reputation Power: 0
Lightbulb

Hi Antnee,

I had similar problems, and then I decided to write up the solutions to them in hope that it'd be useful to others as well.

You can find the article in:
OpenBSD: Fully Loaded

Although it's written for OpenBSD, it should work for other *BSDs as well with minimum modification.

Hope it helps.



cheers,
Harry

Quote:
Originally Posted by Antnee
Hey guys

My webhost has kindly given me a FreeBSD box to trial but I have to install everything myself. I have made PHP5 and included Apache2 when prompted. I also made MySQL4, now all I need to do is get them up and running. I'd also like to set up a decent FTP server so I can just FTP my web-files in.

PROBLEM: I can't make head nor tail of a lot of the help that I read on the web. All I want is the ability to install updates and fixes myself when I need to as my host won't do that due to shared servers etc.

I did something like this after su-ing to root:

Code:
cd /usr/ports/www/mod_php5
make install clean

cd /usr/ports/databases/mysql40-server
make install clean


When I try "/usr/local/bin/mysqld_safe --user=mysql" and "/usr/local/etc/rc.d/mysql.sh" I just get a standard "Command not found" message in reply

If I try "/usr/local/bin/mysqld_safe &" I get a message saying that MySQLD ended!

"ps -ax" doesn't show MySQL at all either and I get "Failed in mysql_real_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)" if I try to run /usr/local/bin/mysqltest

Please help, in English!
OpenBSD: Fully Loaded

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > Help me install, in English please! ;)


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway