RE: [Raspberry_Pi_4-Ham_RADIO] Eben Upton's Book "Raspberry PI User Guide"
Yes I am using Raspbian with an 8 GB card.
Are you using Raspbian?
El 03/02/2013 22:07, "Donald J Tambeau" <tambeaud@...> escribió:
Both of these were done long ago.
sudo apt-get update
apt-get install mysql-server
also wordpress was installed long ago
sudo bash setup-mysql -n wordpress 192.168.1.110
gets me.... setup-mysql: is a directory
sudo gzip -d mysql-server I get
gzip: mysql-server.gz no such file or directory.
As you can see....I am very new to these Linux commands.
Thanks for you help
[mailto:Raspberry_Pi_4-Ham_RADIO@yahoogroups.com] On Behalf Of Jaime Robles
Sent: February 3, 2013 2:37 PM
Subject: Re: [Raspberry_Pi_4-Ham_RADIO] Eben Upton's Book "Raspberry PI User
I have just noticed that it is not a problem of the mysql-server package...
It is on the "wordpress" doc package
Have you installed the wordpress package?
I am installing the wordpress package just now... for a check...
sudo apt-get install wordpress
[... some minutes after ...]
It installed MANY packages (as my raspbian installation was clean (I have my
raspberry since last weekend!)) but I think I got the problem and... I have
If you do:
You will see that the setup-mysql in gzipped... so you should uncompress it.
gzip -d will do the job.
Now, you should have the file you are looking for...
I my case I enter:
sudo bash setup-mysql -n wordpress 192.168.1.34
Then you have to modify the webserver configuration (if you did not do it
already) to point to your wordpress installation (in /usr/share/wordpress).
Create the DB, config the /etc/wordpress/config- file...
Does it help?
2013/2/3 Jaime Robles jaime@...>:
> Did you triedtambeaud@...> wrote:
> sudo apt-get update
> apt-get install mysql-server
> I installed dselect (sudo apt-get install dselect) as I like dselect
> to browse the package archive... and I confirmed the package is named
> 2013/2/3 Jeremy McDermond mcdermj@...>:
>> On Feb 3, 2013, at 6:25 AM, Donald J Tambeau
>>when I give the following command.
>>> Hello John,
>>> You might be on to something John. Here is what happens
>>> Sudo apt-get install mysql-servergave the following command.
>>> Reading package lists..Done
>>> Building dependency tree
>>> Reading state information..Done
>>> E: Unable to locate package mysql-server
>>> So I thought that the mysql was not installed so just to make sure, I
>>>is a separate package. The client will prompt you for the password before
>>> Sudo mysql -uroot -p
>>> And it asked me for my password..so it must be installed.
>> No, that merely means that the mysql *client* is installed. The server
it even tries to connect to the server process.
>>none of them have turned up anything. Find isn't dependent on a database or
>> You've run 10,000 different permutations of find for people on here and
anything, so if it was there, it'd show up. Your attempt to install the
mysql-server package failing shows that there's definitely something wrong
there and it's very likely that the mysql-server package isn't there. You
can check by executing:
>> sudo dpkg --get-selections mysql-server
>> If it's not installed, it'll show something like:
>> dpkg: no packages found matching mysql-server
>> You might want to check to make sure your package lists are up to date by
>> sudo apt-get update
>> and then try to install the mysql-server package again.
>>> Thanks for your help.
>> Jeremy McDermond (NH6Z)
>> Xenotropic Systems
Yahoo! Groups Links
- Hi Don,Any progress? I am still dead in the water.73Stank8srb
sudo find / -name setup-mysql
got the No such file or directory and so did
sudo find / -name mysql-setup
From: Raspberry_Pi_4-Ham_RADIO@yahoogroups.com [mailto:Raspberry_Pi_4-Ham_RADIO@yahoogroups.com] On Behalf Of Jaime Robles
Sent: February 3, 2013 3:14 AM
Subject: Re: [Raspberry_Pi_4-Ham_RADIO] Eben Upton's Book "Raspberry PI User Guide"
You cab try
sudo find / -name setup-mysql
to find the file or directory, in case it exists and the install script is wrong.
It may be that the script setup-mysql is there but it does not have exec permissions...
Then chmod +x setup-mysql
My 2 cents :-)
El 03/02/2013 02:46, "Stan Grigaliunas" <k8srb@...> escribió:
I am also stuck on the same spot. Was going great until now.
Did you find the solution yet?
I am up to Chapter 9, "The Pi as a Web Server" in Eben's book and I have run into a problem Installing WordPress. When I put the following command: "sudo bash /usr/share/doc/wordpress/examples/setup-mysql -n wordpress localhost" I get the following error..
bash: /usr/share/doc/wordpress/examples/setup-mysql: No such file or directory.
If anybody is using the same book and has run into the same problem, how have you solve it.
- Don't know if this is useful, but not having a Pi/book with me today I can't check it out.I downloaded the Wordpress .deb from http://archive.raspbian.org/raspbian/pool/main/w/ & opened it (using an archive manager) and it contains the standard 3 files. Again open the data.tar.gz archive and under ./usr/share/doc/wordpress/examples/ you'll find setup-mysql.gzMy assumption is that the file will be found at /usr/share/doc/wordpress/examples/ on the SD and MAY require decompressing.Feel free to heap scorn on my head if it's not there.___________________________________________________________________________________Disclaimers: I have entered into no agreements regarding mails erroneously sent to this address, and reserve the right to do as I wish with any such emails.