Re: How to run a custum portfile ?
On Jun 20, 2012, at 8:14 a.m., Michael Parchet wrote: I have received a cdrtools portfile I would like to run it but I don't know the command line to do it. Should be something like this: cd [directory containing your portfile] sudo port install vq ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: How to run a custum portfile ?
On Jun 20, 2012, at 07:49, Lawrence Velázquez wrote: On Jun 20, 2012, at 8:14 a.m., Michael Parchet wrote: I have received a cdrtools portfile I would like to run it but I don't know the command line to do it. Should be something like this: cd [directory containing your portfile] sudo port install And make sure the filename is Portfile (not Portfile.txt or anything else). ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: How to run a sql script sql script on mysql5
On Wed, 4 Apr 2012, Michael Parchet wrote: Hello, I have install the mysql5 port. I do a secure installation whith only the root user and a password. So noe I wold like to run a sql script to create a database. I have tried the following command but this last has no effect sudo mysql5 -u root -p password script.sql Can you help me please ? Close, but try this: sudo mysql5 -u root -p password script.sql -- Michael Parson Unix Thug Austin, TX KF5LGQ ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: How to run a sql script sql script on mysql5
On Apr 5, 2012, at 9:21 AM, Michael Parson wrote: On Wed, 4 Apr 2012, Michael Parchet wrote: I have install the mysql5 port. I do a secure installation whith only the root user and a password. So noe I wold like to run a sql script to create a database. I have tried the following command but this last has no effect sudo mysql5 -u root -p password script.sql Can you help me please ? Close, but try this: sudo mysql5 -u root -p password script.sql If script.sql does not create/use a database you may need to add the database to the command. $ mysql5 -uroot -p -e create database if not exists dbname; $ mysql5 -uroot -p dbname script.sql Regards, Bradley Giesbrecht (pixilla) smime.p7s Description: S/MIME cryptographic signature ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: How to run a sql script sql script on mysql5
On Apr 4, 2012, at 12:14 PM, Michael Parchet wrote: Hello, I have install the mysql5 port. I do a secure installation whith only the root user and a password. So noe I wold like to run a sql script to create a database. I have tried the following command but this last has no effect sudo mysql5 -u root -p password script.sql Can you help me please ? You should probably take this to a mysql support forum. I do this: $ mysql5 -uroot -p mysql create database mydb; mysql use mydb; mysql system ls; mysql source script.sql; mysql show tables; mysql exit; Your script.sql file may well create a database or has a use dbname statement at the top. http://dev.mysql.com/doc/refman/5.0/en/batch-commands.html Regards, Bradley Giesbrecht (pixilla) smime.p7s Description: S/MIME cryptographic signature ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: How to run a sql script sql script on mysql5
On Apr 4, 2012, at 3:14 p.m., Michael Parchet wrote: I have install the mysql5 port. I do a secure installation whith only the root user and a password. So noe I wold like to run a sql script to create a database. Are you making a local database? Have you installed mysql5-server? vq ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: How to run a sql script sql script on mysql5
Le 04.04.12 21:37, Lawrence Velázquez a écrit : On Apr 4, 2012, at 3:14 p.m., Michael Parchet wrote: I have install the mysql5 port. I do a secure installation whith only the root user and a password. So noe I wold like to run a sql script to create a database. Are you making a local database? Have you installed mysql5-server? Yes ouf course. vq ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: How to run wordpress
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 ITInternet 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
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
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
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
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
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
Re: How to run
Keith Kaiser wrote: OK, I've installed an application using MacPorts. How do I run it? Actually, you can port info portname and go look at the homepage there for information about the software. Another possibility is to port contents portname to see what was installed (maybe documentation, binaries, etc) Dave ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: How to run
Keith Kaiser wrote: OK, I've installed an application using MacPorts. How do I run it? Which one? ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users