snipt

Ctrl+h for KB shortcuts

Bash

Remote install wordpress via SSH

1
2
3
4
5
6
wget http://wordpress.org/latest.tar.gz
tar xfz latest.tar.gz
mv wordpress/* ./
rmdir ./wordpress/
rm -f latest.tar.gz
#then go do your install via the folder you have this in...
https://snipt.net/embed/b03bce9b650866da5f00ea5d5793b95a/
/raw/b03bce9b650866da5f00ea5d5793b95a/
b03bce9b650866da5f00ea5d5793b95a
bash
Bash
6
2019-08-24T00:22:35
True
False
False
Nov 28, 2012 at 04:20 PM
/api/public/snipt/50914/
remote-install-wordpress-via-ssh
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a> <a href="#L-6">6</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>wget http://wordpress.org/latest.tar.gz </span><span id="L-2"><a name="L-2"></a>tar xfz latest.tar.gz </span><span id="L-3"><a name="L-3"></a>mv wordpress/* ./ </span><span id="L-4"><a name="L-4"></a>rmdir ./wordpress/ </span><span id="L-5"><a name="L-5"></a>rm -f latest.tar.gz </span><span id="L-6"><a name="L-6"></a><span class="c1">#then go do your install via the folder you have this in...</span> </span></pre></div> </td></tr></table>
SSH, wordpress