Quick look at the commands. Skip below to view the explanation of the commands
tar zxvf latest.tar.gz
vi wordpress/wp-config.php <-- Edit MySQL settings
mv -R wordpress/ /var/www/html/
steve@localhost ~: chrome incredigeek.com/
SSH into your webserver
Download the latest version of WordPress
cd ~/ && wget https://wordpress.org/latest.tar.gz
Extract the WordPress archive
tar zxvf latest.tar.gz
Create MySQL database and user
Refer to here if you want to do it from the command line. The recommended way is through your web control panel i.e. cPanel, Plesk, EHCP etc.
Enter in the DB information.
Move WordPress files to web directory
mv -R wordpress/* /path/to/webdir
If you want to install WordPress inside a sub directory on your website i.e. instead of going to “example.com” to access your WordPress site, you go to “example.com/wordpress”, then create a sub directory in your root web directory and move the WordPress files there.
Open up a browser and go to your website (example.com) to finish the WordPress installation.
Here are the basic steps of how to setup ssh keys for zenoss.
Log into the zenoss server
Open up docker container
Change to zenoss user
Generate ssh keys
Upload ssh keys
Exit out of container
[root@zenoss ~]# serviced service shell -s AddingSSHkey -i zope bash
I0709 3:02:47.791788 01773 server.go:341] Connected to the control center at port 192.168.1.10:4979
I0709 3:02:48.127949 01773 server.go:435] Acquiring image from the dfs...
I0709 3:02:48.131438 01773 server.go:437] Acquired! Starting shell
Trying to connect to logstash server... 127.0.0.1:5042
Connected to logstash server.
[root@321feeg2253a /]# su zenoss
[zenoss@321feeg2253a /]$ ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/home/zenoss/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in /home/zenoss/.ssh/id_dsa.
Your public key has been saved in /home/zenoss/.ssh/id_dsa.pub.
The key fingerprint is:
The key's randomart image is:
+--[ DSA 2048]----+
| =====F |
| S+== + AA |
| A=+=++ + |
| AB= .. + = |
| ++S S +. |
| .. - |
[zenoss@321feeg2253a /]# ssh-copy-id firstname.lastname@example.org
The authenticity of host '192.168.1.10 (192.168.1.10)' can't be established.
RSA key fingerprint is 12:ab:14:d5:54:09:d3:1f:f7:12:21:ae:hd:16:a5:1b.
Are you sure you want to continue connecting (yes/no)? yes
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
Number of key(s) added: 1
Now try logging into the machine, with: "ssh 'email@example.com'"
and check to make sure that only the key(s) you wanted were added.
[zenoss@321feeg2253a /]# exit
[root@321feeg2253a /]# exit
[root@zenoss ~]# serviced snapshot commit AddingSSHkey
[root@zenoss ~]# exit