Neue Antwort schreiben 
 
Themabewertung:
  • 0 Bewertung(en) - 0 im Durchschnitt
  • 1
  • 2
  • 3
  • 4
  • 5
Raspberry PI Wordpress Problem
adun
Unregistered

 
Beitrag #11
RE: Raspberry PI Wordpress Problem
Ok danke erstmal :)
Aber leider finde ich keine setup.php im wordpress Ordner :(

Auf der wordpress Seite steht eben folgendes was ich versuchte:

http://codex.wordpress.org/Installing_WordPress
Zitat: Famous 5-Minute Install

Here's the quick version of the instructions for those who are already comfortable with performing such installations. More detailed instructions follow.

If you are not comfortable with renaming files, step 3 is optional and you can skip it as the install program will create the wp-config.php file for you.

Download and unzip the WordPress package if you haven't already.
Create a database for WordPress on your web server, as well as a MySQL user who has all privileges for accessing and modifying it.
(Optional) Find and rename wp-config-sample.php to wp-config.php, then edit the file (see Editing wp-config.php) and add your database information.
Upload the WordPress files to the desired location on your web server:
If you want to integrate WordPress into the root of your domain (e.g. http://example.com/), move or upload all contents of the unzipped WordPress directory (excluding the WordPress directory itself) into the root directory of your web server.
If you want to have your WordPress installation in its own subdirectory on your web site (e.g. http://example.com/blog/), create the blog directory on your server and upload the contents of the unzipped WordPress package to the directory via FTP.
Note: If your FTP client has an option to convert file names to lower case, make sure it's disabled.
Run the WordPress installation script by accessing the URL in a web browser. This should be the URL where you uploaded the WordPress files.
If you installed WordPress in the root directory, you should visit: http://example.com/
If you installed WordPress in its own subdirectory called blog, for example, you should visit: http://example.com/blog/

That's it! WordPress should now be installed.
10.11.2013 19:53
Diese Nachricht in einer Antwort zitieren
mrshadowtux
Unregistered

 
Beitrag #12
RE: Raspberry PI Wordpress Problem
Normalerweise sollte Wordpress es beim ersten Start aufrufen. Vermutlich hat es das nicht getan, da du von Hand an der config editiert hast. Loesch nochmal den gesamten Wordpress-Ordner, entpack die tar neu und rufe dann http://raspberry/wordpress/ auf. Dann sollte er das setup-Script starten, was die Daten von dir abfragt und alles erledigt.
10.11.2013 19:58
Diese Nachricht in einer Antwort zitieren
adun
Unregistered

 
Beitrag #13
RE: Raspberry PI Wordpress Problem
omg jetzt kommt:
Code:
It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.
wenn ich raspberrypi/wordpress aufrufe
und die wp-config nicht bearbeitet habe
10.11.2013 20:32
Diese Nachricht in einer Antwort zitieren
winfreak Offline
アンゲシュテルタ

Beiträge: 10.495
Registriert seit: Aug 2008
Beitrag #14
RE: Raspberry PI Wordpress Problem
Dann hast du nicht nur ne index.php sondern auch noch ne index.html. Mach die mal weg.

[Bild: winfreak_32972_14.png]
10.11.2013 20:44
Alle Beiträge dieses Benutzers finden Diese Nachricht in einer Antwort zitieren
mrshadowtux
Unregistered

 
Beitrag #15
RE: Raspberry PI Wordpress Problem
Apaches index.html sollte aber nicht im wordpress-Ordner liegen oO
Sicher, dass du im richtigen Verzeichnis bist?
10.11.2013 20:48
Diese Nachricht in einer Antwort zitieren
adun
Unregistered

 
Beitrag #16
RE: Raspberry PI Wordpress Problem
ja eben das ist ja der apach default screen

bin im /var/www/wordpress ordner aber im browser habe ich raspberrypi/wordpress eingegeben
eine index.html ist wirklich vorhanden, werde die mal löschen....

Update:
nach dem Löschen der index.html und dem Aufrufen von wordpress über den Browser kommt jetzt endlich ein fenster wo ich die wp-conifg configurieren kann ;)

Code:
There doesn't seem to be a wp-config.php file. I need this before we can get started.

Need more help? We got it.

You can create a wp-config.php file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.

Create a Configuration File

Ok jetzt kann ich die wp-config bearbeiten

ich gebe folgendes ein:

Database Name wordpress
User Name wordpressuser
Password 1234
Database Host localhost
Table Prefix wp_

doch nachdem ich bestätige kommt:

Code:
Error establishing a database connection

This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.

    Are you sure you have the correct username and password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?
10.11.2013 20:55
Diese Nachricht in einer Antwort zitieren
tk1908 Offline
Unixer

Beiträge: 7.353
Registriert seit: Apr 2009
Beitrag #17
RE: Raspberry PI Wordpress Problem
(10.11.2013 20:55)adun schrieb:  Ok jetzt kann ich die wp-config bearbeiten

ich gebe folgendes ein:

Database Name wordpress
User Name wordpressuser
Password 1234
Database Host localhost
Table Prefix wp_

doch nachdem ich bestätige kommt:

Code:
Error establishing a database connection

This either means that the username and password information in your wp-config.php file is incorrect or we can't contact the database server at localhost. This could mean your host's database server is down.

    Are you sure you have the correct username and password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?

Sicher, dass dieser Nutzername und dieses PW stimmen?

[Bild: Rz3JNLI.gif]
Meine Beiträge stehen unter der MIT-Lizenz:D

(09.04.2016 13:26)tk1908 schrieb:  externe HDD am Router? Klar ich tausch mein Auto gegen nen Tretroller mit Bremsklotz.
(Dieser Beitrag wurde zuletzt bearbeitet: 10.11.2013 21:06 von tk1908.)
10.11.2013 21:05
Alle Beiträge dieses Benutzers finden Diese Nachricht in einer Antwort zitieren
adun
Unregistered

 
Beitrag #18
RE: Raspberry PI Wordpress Problem
Hab jetzt mal den "root" user genommen mit root pw
und jetzt kommt

Code:
Sorry, but I can’t write the wp-config.php file.
You can create the wp-config.php manually and paste the following text into it.

After you’ve done that, click “Run the install.”

Run the install
10.11.2013 21:12
Diese Nachricht in einer Antwort zitieren
mrshadowtux
Unregistered

 
Beitrag #19
RE: Raspberry PI Wordpress Problem
Mach mal
chown -R www-data:www-data /var/www/
und probiers dann erneut.
10.11.2013 21:14
Diese Nachricht in einer Antwort zitieren
adun
Unregistered

 
Beitrag #20
RE: Raspberry PI Wordpress Problem
selbe fehlermeldung wenn ich den wordpressuser nehme.
wenn ich root nehme funktioniert es jetzt und ich könnte die installation beginnen ;)
was bedeutet das ?
10.11.2013 21:17
Diese Nachricht in einer Antwort zitieren
Neue Antwort schreiben 


Gehe zu:


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste