NAVIGATION
This shows you the differences between two versions of the page.
|
deutsch:andere-erweiterungen:installation:installation-mit-shell-skript [2009/05/08 19:29] Knut Heermann (flip-flop) |
deutsch:andere-erweiterungen:installation:installation-mit-shell-skript [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ====== Shell-Script: Installation in 10 Sek. ====== | ====== Shell-Script: Installation in 10 Sek. ====== | ||
| - | FIXME translate | ||
| - | Hi there, | + | |
| - | since I was recently introduced into all the benefits from shell access, I wrote a little shell script that sets up a fresh phpwcms v 1.4.1 within seconds :) | + | Hallo, |
| - | Of course you still need to run the online-setup routine afterwards since it creates the admin user and sets some basic variables. But if you have shell access, this script might spare you approx. 20 minutes!! :-) :-) :-) | + | |
| + | Seit ich vor kurzem die Möglichkeiten der Shell Programmierung kennengelernt habe, schrieb ich ein kleines Shell-Skript mit dem innerhalb von Sekunden eine neue phpwcms V 1.4.1/2 Installation durchgeführt werden kann. :-) | ||
| + | |||
| + | Selbstverständlich muss danach noch das Setup ausgeführt werden, da hier der admin-Benutzer und einige Grundeinstellungen erzeugt werden. Wenn ein Shellzugang vothanden ist lassen sich etwa 20 Minuten Zeit sparen!! :-) :-) :-) | ||
| Docu: -- \\ | Docu: -- \\ | ||
| Line 28: | Line 31: | ||
| - | This what the script does in detail: | + | ===== Das tut das Skript im Detail: ===== |
| - | - It asks in which subfolder the installation should go | + | |
| - | - It automatically downloads the (latest) phpwcms 1.4.1 version from google code | + | - Es fragt nach, in welchem Unterordner die Installation geschehen soll |
| - | - It unpacks phpwcms into the subfolder | + | - Es lädt automatisch die (letzte) phpwcms 1.4.1 Version fon google code |
| - | - It sets all the necessary file and folder rights | + | - Es entpackt phpwcms in den Underordner |
| - | - It deletes the downloaded package | + | - Es setzt alle notwendigen Datei- und Verzeichnisrechte |
| + | - Es löscht das heruntergeladene Paket | ||
| <code php|h Shell Skript |h> | <code php|h Shell Skript |h> | ||
| Line 107: | Line 111: | ||
| </code> | </code> | ||
| - | ===== How to use: ===== | + | \\ |
| - | - Copy script to a file called phpwcms_install.sh | ||
| - | - Upload to the users root | ||
| - | - Set the script to 777 and execute via shell using this command "./phpwcms_install.sh" (without quotes) | ||
| + | ===== Wie wird es genutzt: ===== | ||
| + | |||
| + | - Kopiere das Skript in eine Datei mit dem Namen **phpwcms_install.sh** | ||
| + | - Heraufladen (upload) in user root | ||
| + | - Setze die Rechte des Skript auf 777 und führe es via Shell command **./phpwcms_install.sh** | ||
| + | |||
| + | FIXME translate | ||
| <note>Since there might issues if you upload a shell script edited on a windows system to a linux server you might sometimes get the following error: **bad interpreter: No such file or directory** \\ | <note>Since there might issues if you upload a shell script edited on a windows system to a linux server you might sometimes get the following error: **bad interpreter: No such file or directory** \\ | ||
| See this hint for a quick remedy :-D \\ [[http://www.devdaily.com/blog/post/linux-unix/shell-script-error-bad-interpreter-no-such-file/]] | See this hint for a quick remedy :-D \\ [[http://www.devdaily.com/blog/post/linux-unix/shell-script-error-bad-interpreter-no-such-file/]] | ||