Hi guys,
If installing X on a secure website, what are the terminal commands to place the contents of the x_package in the correct folders (say within public_html directory)?
The following for the benefit of the uninitiated like me to get to this stage:
- background: installed via ssh / ftp wordpress, firewall, headers, secured chmod, php.ini mods
- current situation: wesbsite maybe ‘too secure’ (good, but comes with, for me, acceptable installation pains) e.g. had to install X theme and cornerstone manually (for anybody interested see following commands executed from terminal, may save you hours to days:
first - in your host create a folder (e.g. ‘X_theme’) in root (usually: /var/www/public_html) using mkdir command
from your home computer terminal execute below to transfer the files to your hosting environment
rsync -avru /home/Downloads/themeforest-4FnSUhQW-x-the-theme.zip -e ‘ssh -p insert_your_port’ root@your_ip_address:/var/www/public_html/X_theme
move the x.zip into html folder (e.g. mv /var/www/public_html/X_theme/x.zip var/www/public_html)
(assuming you have wp-cli installed)
wp theme install /var/www/html/x.zip --allow-root
above installed just the core X theme, had to move cornerstone.zip
similar to above move cornerstone to /var/www/html folder, then
wp plugin install /var/www/html/cornerstone.zip --allow-root
you should go into to your wp-content themes and plugins folders and see the files saved
so far so good and not too painful
could not find any topic which showed step by step where the following contents of x_package should be moved / copied / placed , with appropriate terminal commands:
‘extensions’ folder
‘Licensing’ folder
x.zip - see above figured out
x-demo-content.xml
x-documentation.pdf (if required)?
support staff - feel free to edit any of above for accuracy / clarity
Thanks,