Re: How to run wordpress

2012-01-23 Thread Mike Savory
According to http://wordpress.org/about/requirements/
The requirements have changed as of WordPress 3.2. The minimum requirements for 
WordPress 3.1 are PHP 4.3 and MySQL 4.1.2.

The wordpress port (currently at version 3.2.1) declares a library dependency 
they will result incurrent versions of  PHP, Apache and MYSQL being installed 
if they are not already present. There are Notes with this port that cover 
initial permissions setup (just type 'port notes wordpress' to see them.

Mike
(not that I use wordpress)


On Jan 23, 2012, at 12:20 PM, mikel king wrote:
>   You need to ensure that you have installed the following;
> 
>   1. apache22
>   2. php52
>   3. mysql client & server
>   4. wordpress 

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: How to run wordpress

2012-01-23 Thread mikel king

On Jan 21, 2012, at 12:33 PM, Michael Parchet wrote:

> Hi,
> 
> I have installed the wordpress package to try it to migrate a websitee on 
> this Now I wold like to start wordpress but I don't know how to start it
> 
> Can you help me please ?
> 
> Tanks
> 
> Best regards
> 
> mparchet

Michael,

You need to ensure that you have installed the following;

1. apache22
2. php52
3. mysql client & server
4. wordpress

The easiest way is to port install php52 +apache22+mysql5. You will 
also need to install the mysql5-server separately form the above. I highly 
encourage you to read through the docs on setting up mysql server it's very 
straight forward except the initialization of the db core (man 
mysql_install_db). 

Once you have successfully setup the basic database systems you will be 
able to connect as root to the db server on localhost. DO NOT enable outside 
network connections or you are asking for serious trouble. You will need to 
follow the setup of an empty db schema and appropriate user access. Do not set 
up wordpress to use your root account. Create a new db admin id for the WP site 
something akin to  siteadm and give it a unique password. Also don't forget to 
set the default password for the root user of your db server (this is different 
from the root shell user).

Wordpress needs the siteadm and password for the sitedb before you can 
properly set it up.

I hope that help clarify some of this for you. If you need more 
direction than this with the available documentation, perhaps it is time to 
hire a consultant and grant them ssh access to your server. Complete 
compilation aside this process should take approximately 2 hours on a bad day 
with a normal internet connection. 

Regards,
Mikel King
BSD News Network
http://bsdnews.net
skype: mikel.king
http://twitter.com/mikelking



___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: How to run wordpress

2012-01-23 Thread
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256



Bradley Giesbrecht  schrieb:

>On Jan 21, 2012, at 9:33 AM, Michael Parchet wrote:

>> I have installed the wordpress package to try it to migrate a
>websitee on this Now I wold like to start wordpress but I don't know
>how to start it

If you want to migrate from a existing wordpress setup/instance you have to 
copy the regarding mysql database to the new mysql database server.

This is usually done by mysqldump on the source and mysql import on the target 
machine.

hth,
cheers,


Niels.
- --
Niels Dettenbach
Syndicat IT&Internet
http://www.syndicat.com
-BEGIN PGP SIGNATURE-
Version: APG v1.0.8

iIEEAREIAEEFAk8dlOs6HE5pZWxzIERldHRlbmJhY2ggKFN5bmRpY2F0IElUJklu
dGVybmV0KSA8bmRAc3luZGljYXQuY29tPgAKCRBU3ERlZRyiDWfhAJwL/89sxPJk
nUKr0vtQE7I4H96kDgCfV+45J9P2h+4Wqex+9CGdie/XGho=
=G/hb
-END PGP SIGNATURE-

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: How to run wordpress

2012-01-23 Thread Bradley Giesbrecht
On Jan 21, 2012, at 9:33 AM, Michael Parchet wrote:

> Hi,
> 
> I have installed the wordpress package to try it to migrate a websitee on 
> this Now I wold like to start wordpress but I don't know how to start it
> 
> Can you help me please ?

Start simple.

Check that apache2 is configured: (assuming vhosts)
$ sudo apachectl -t -D DUMP_VHOSTS


Check that mysql is available:
$ mysqladmin5 ping -h127.0.0.1


Report the results.


Regards,
Bradley Giesbrecht (pixilla)





___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: How to run wordpress

2012-01-23 Thread Niels Dettenbach
Am Montag, 23. Januar 2012, 08:47:36 schrieb James Linder:
> and having done it once on a system that just works
This would be incorrect for most application cases for different reasons:

- A "LAMP" is nothing more then a Linux with Apache, MySQL and PHP 
(pre-)installed. There is no reason why Linux should really be better then Mac 
OS X here and mysql and php could be installed by ports as easy as with most 
modern linux distributions.

- even highly specific LAMP distros just bring that kind of software installed 
and preconfigured as far as this is done by most other package / port 
managers, but NOT configured to your specific needs (and by the nature of 
software like Apache and MySQL you usually have to configure it for your needs 
in the very most productional environments - i.e. which has to run on a public 
internet). The installation byself is a very smaller part compared to this.

- even on ready to run LAMP distros you have to configure wordpress and a 
reasonable database incl. their rights for it as required. The only exception 
would be a highly specific "wordpress distro" which only makes sense in demo 
scenarios (but then you could try wordpress online anywhere...), but nothing 
really more.

- it makes no sense to run a complete operating system instance just to avoid 
the configuration of one application like wordpress.


cheers,


Niels.





cheers,

Niels.
-- 
---
Niels Dettenbach
Syndicat IT&Internet
http://www.syndicat.com/

signature.asc
Description: This is a digitally signed message part.
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: How to run wordpress

2012-01-22 Thread Phil Dobbin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 23/01/2012 00:35, Ryan Schmidt wrote:
> 
> On Jan 22, 2012, at 18:29, James Linder wrote:
> 
 To test wordpress on my local machine, I have tried to
 install the wordpress package on oz computer but I can't
 start it
 
 Can you help me please
>>> 
>>> Configuring Wordpress needs the setup of a corresponding mysql
>>> database. This is afaik not part of macports and depends from
>>> your needs as most LAMP applications do need their own
>>> configurations - independent from any installation system /
>>> framework like macports.
>>> 
>>> Take a look at the wordpress install docs and - if required -
>>> into mysql docs about how to create a database incl. database
>>> user with proper access rights to it.
>> 
>> Heretical on this list, but why would you not just run a linux
>> LAMP server
> 
> Not heretical. If running Linux is better for a particular task
> than running OS X, do it. However, the user does not know how to
> configure wordpress. The answer to that is not to run Linux; the
> answer is to learn how to configure wordpress.

When all's said & done the best place for the user to go is
 & search the Forum
for specific, related questions. If nothing turns up, just lodge a new
post. They're pretty friendly & you can generally get WP up & running
without too much trouble.

Cheers,

   Phil...


- -- 
Some [people] feel that the best way to improve Perl would be to go
back in time and shoot the author before he wrote it.
   -Larry Wall
-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: §auto-key-locate cert pka ldap hkp://keys.gnupg.net
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPHLXkAAoJEKpMeDHWT5ADw30H/0ttAEOjU998C3ak5dm//Sag
9Ip0t3TvZ3zlbq8uFUdYfOOv5BZz9ExhBMAukKG2BQNKfA+fB6XI8VwsWmkCeDCm
+Zo/ljHZjGjzbCEZw7gZ6wRMt7MHti9vD7c5pJ+3WcKFqHw/GotI2pjHWLK830oR
0E7r1/XBgtczHf+X2/4Pc/1FVfywO64RPWR89amadIvIl1O96WRWV6krs8p3rFY6
asF3F2xOhULIaetZrua7/LlXBcTu0EzNb9KIJuDlsKIPh8gi8FNphWUMOPCKNs/b
UvlL6lhJECKW5kOOznWl0uMOG5O5B8dm99jEvBGD46KONP3jEX59/ontcaf7E4M=
=aaNT
-END PGP SIGNATURE-
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: How to run wordpress

2012-01-22 Thread James Linder

On 23/01/2012, at 8:35 AM, Ryan Schmidt wrote:

> 
> On Jan 22, 2012, at 18:29, James Linder wrote:
> 
 To test wordpress on my local machine, I have tried to install the
 wordpress package on oz computer but I can't start it
 
 Can you help me please
>>> 
>>> Configuring Wordpress needs the setup of a corresponding mysql database. 
>>> This is afaik not part of macports and depends from your needs as most LAMP 
>>> applications do need their own configurations - independent from any 
>>> installation system / framework like macports.
>>> 
>>> Take a look at the wordpress install docs and - if required - into mysql 
>>> docs about how to create a database incl. database user with proper access 
>>> rights to it.
>> 
>> Heretical on this list, but why would you not just run a linux LAMP server
> 
> Not heretical. If running Linux is better for a particular task than running 
> OS X, do it. However, the user does not know how to configure wordpress. The 
> answer to that is not to run Linux; the answer is to learn how to configure 
> wordpress.

I do agree with you but for the whole issue of getting mysql to run
or using another DB that nobody else uses and you are on your own wrt any 
problems
and having done it once on a system that just works (and actually configuring 
wp is really dead easy) then doing it on OSX is going to be much easier

cheers
James
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


RE: How to run wordpress

2012-01-22 Thread James Linder

On 22/01/2012, at 11:00 PM, macports-users-requ...@lists.macosforge.org wrote:

>> To test wordpress on my local machine, I have tried to install the
>> wordpress package on oz computer but I can't start it
>> 
>> Can you help me please
> 
> Configuring Wordpress needs the setup of a corresponding mysql database. This 
> is afaik not part of macports and depends from your needs as most LAMP 
> applications do need their own configurations - independent from any 
> installation system / framework like macports.
> 
> Take a look at the wordpress install docs and - if required - into mysql docs 
> about how to create a database incl. database user with proper access rights 
> to it.

Heretical on this list, but why would you not just run a linux LAMP server
 
An afterthought 
If your WWW server is just added to your desktop machine then vbox with a linux 
LAMP server works well

James
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: How to run wordpress

2012-01-22 Thread Ryan Schmidt

On Jan 22, 2012, at 18:29, James Linder wrote:

>>> To test wordpress on my local machine, I have tried to install the
>>> wordpress package on oz computer but I can't start it
>>> 
>>> Can you help me please
>> 
>> Configuring Wordpress needs the setup of a corresponding mysql database. 
>> This is afaik not part of macports and depends from your needs as most LAMP 
>> applications do need their own configurations - independent from any 
>> installation system / framework like macports.
>> 
>> Take a look at the wordpress install docs and - if required - into mysql 
>> docs about how to create a database incl. database user with proper access 
>> rights to it.
> 
> Heretical on this list, but why would you not just run a linux LAMP server

Not heretical. If running Linux is better for a particular task than running OS 
X, do it. However, the user does not know how to configure wordpress. The 
answer to that is not to run Linux; the answer is to learn how to configure 
wordpress.



___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


RE: How to run wordpress

2012-01-22 Thread James Linder

On 22/01/2012, at 11:00 PM, macports-users-requ...@lists.macosforge.org wrote:

>> To test wordpress on my local machine, I have tried to install the
>> wordpress package on oz computer but I can't start it
>> 
>> Can you help me please
> 
> Configuring Wordpress needs the setup of a corresponding mysql database. This 
> is afaik not part of macports and depends from your needs as most LAMP 
> applications do need their own configurations - independent from any 
> installation system / framework like macports.
> 
> Take a look at the wordpress install docs and - if required - into mysql docs 
> about how to create a database incl. database user with proper access rights 
> to it.

Heretical on this list, but why would you not just run a linux LAMP server
iMACs run too hot with freq-adjust, they surely need freq-idle, but I've not 
fiddled
I've not tried mac-mini 
MacServers will surely work fine.
Try booting a live CD. You choose which - I like SuSE but ubuntu works well and 
is easy too.
That way you can play without touching your HD in any way
James
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


RE: How to run wordpress

2012-01-21 Thread
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256



Michael Parchdt  schrieb:

>To test wordpress on my local machine, I have tried to install the
>wordpress package on oz computer but I can't start it
>
>Can you help me please

Configuring Wordpress needs the setup of a corresponding mysql database. This 
is afaik not part of macports and depends from your needs as most LAMP 
applications do need their own configurations - independent from any 
installation system / framework like macports.

Take a look at the wordpress install docs and - if required - into mysql docs 
about how to create a database incl. database user with proper access rights to 
it.


hth
best regards,


Niels.
- --
Niels Dettenbach
Syndicat IT&Internet
http://www.syndicat.com
-BEGIN PGP SIGNATURE-
Version: APG v1.0.8

iIEEAREIAEEFAk8bGXA6HE5pZWxzIERldHRlbmJhY2ggKFN5bmRpY2F0IElUJklu
dGVybmV0KSA8bmRAc3luZGljYXQuY29tPgAKCRBU3ERlZRyiDT+pAJ9MaO8AyvGl
ay/MyF6qKnzd3PQWQwCfULrp1j3mpQq9rK6g3aNlvp8NI5U=
=L8Nd
-END PGP SIGNATURE-

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


RE: How to run wordpress

2012-01-21 Thread Michael Parchdt
Hello,

i have read the step to install wordpress on a server but I don't know how to 
configure a mysql database for wordpress.

To test wordpress on my local machine, I have tried to install the wordpress 
package on oz computer but I can't start it

Can you help me please

Best regards

mparchet
-Message d'origine-
De:mikel king
Envoyé: 21/01/2012, 18:54 
A: Michael Parchet
Cc: macports-users@lists.macosforge.org
Sujet: Re: How to run wordpress



On Jan 21, 2012, at 12:33 PM, Michael Parchet wrote:

> Hi,
> 
> I have installed the wordpress package to try it to migrate a websitee on 
> this Now I wold like to start wordpress but I don't know how to start it
> 
> Can you help me please ?
> 
> Tanks
> 
> Best regards
> 
> mparchet

You need to run WP in a webserver that supports PHP5 and something like 
mod_rewrite - apache, nginx or lighttpd. Then it's a matter of unpacking the WP 
code base into your vhost and setting up the mysql db.There is a good how-to on 
 Wordpress.org that should help you with the finer points (how-to 
http://bit.ly/FOUwj). 

Regards,
Mikel King
BSD News Network
http://bsdnews.net
skype: mikel.king
http://twitter.com/mikelking
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users