Changes

From SME Server
Jump to navigationJump to search
1,021 bytes added ,  04:35, 3 June 2019
Line 10: Line 10:  
Instructions below will show you how to install both single wordpress install and Multisite. All steps build on each other, so if your ultimate goal is step C, Step A and B must be done first.  
 
Instructions below will show you how to install both single wordpress install and Multisite. All steps build on each other, so if your ultimate goal is step C, Step A and B must be done first.  
   −
After following step(s) below you will have a fully functional Wordpress site <u>with the exception of automatic updating</u>. Automatic Updating requires FTP access to the core files. You can manage FTP access to iBays with the contrib located [[FTP Access to Ibays|HERE]]. <u>Alternatively</u>, auto updates can be left off and: Wordpress system, plugins and themes can all be updated manually following instructions from [https://www.wordfence.com/learn/how-to-manually-upgrade-wordpress-themes-and-plugins/ HERE]   
+
After following step(s) below you will have a fully functional Wordpress site <u>with the exception of automatic updating</u>. Automatic Updating requires FTP access to the core files. You can manage FTP access to iBays with the contrib located [[FTP Access to Ibays|HERE]]. <u>Alternatively</u>, auto updates can be left off and: Wordpress system, plugins and themes can all be updated manually by following instructions from [https://www.wordfence.com/learn/how-to-manually-upgrade-wordpress-themes-and-plugins/ HERE]   
    
Instructions were originally written and tested on SME 8.x,('''*''') but should function fine in any future versions of SME Server.
 
Instructions were originally written and tested on SME 8.x,('''*''') but should function fine in any future versions of SME Server.
Line 62: Line 62:       −
'''<u>A7)</u>''' Point your web browser to your domain and go through the installation process.++<blockquote>++ Wordpress version 5.1+ requires PHP 5.6.20 but default PHP install on SME Server 9.2 is 5.3.3</blockquote><blockquote>You will need to install contrib: [[PHP Software Collections]] and assign your iBay PHP version 5.6 or higher</blockquote>
+
'''<u>A7)</u>''' Point your web browser to your domain and go through the installation process.++<blockquote>++ Wordpress version 5.1+ requires PHP 5.6.20 but default PHP install on SME Server 9.2 is 5.3.3</blockquote><blockquote>You will need to install contrib: [[PHP Software Collections]] and assign your iBay PHP version <s>5.6</s> 7.1 or higher (PHP 5.6 and 7.0 are already EOL, 7.1 EOL Dec 2019). If you don't complete this step, you will get a blank screen when doing step '''A7'''</blockquote>
 
     '''!! * FOR SECURITY REASONS:'''
 
     '''!! * FOR SECURITY REASONS:'''
 
  1) Never use "admin" for admin user name, that is the first thing hackers try
 
  1) Never use "admin" for admin user name, that is the first thing hackers try
Line 68: Line 68:  
     Changing the table prefix to a random string makes it difficult if not impossible for a hacker to execute remote SQL injection attacks.
 
     Changing the table prefix to a random string makes it difficult if not impossible for a hacker to execute remote SQL injection attacks.
   −
'''<u>A8)</u>''' Enable the wp-content/uploads folder to be writeable by the webserver process
+
'''<u>A8)</u>''' Enable the wp-content/uploads folder to be writeable by the webserver process (Change "iBay" to the name of your ibay and remove quote marks)
 +
 
 +
(If your WP is installed directly in .../ibays/"iBay"/html/ , you can ignore/remove "wpsitepath", if you have WP installed in sub-directory of /html/"wpsitepath", change "wpsitepath" to the name of your sub-directory and remove quote marks)
 
  chown -R admin:shared /home/e-smith/files/ibays/"iBay"/html/"wpsitepath"
 
  chown -R admin:shared /home/e-smith/files/ibays/"iBay"/html/"wpsitepath"
 
  mkdir -p /home/e-smith/files/ibays/"iBay"/html/"wpsitepath"/wp-content/uploads
 
  mkdir -p /home/e-smith/files/ibays/"iBay"/html/"wpsitepath"/wp-content/uploads
Line 255: Line 257:        +
++ This code makes changes to default PHP installation. If you are using [[PHP Software Collections]] (As suggested in step '''A7''') see below.
 
   db configuration setprop php MemoryLimit 128M
 
   db configuration setprop php MemoryLimit 128M
 
   db configuration setprop php PostMaxSize 112M
 
   db configuration setprop php PostMaxSize 112M
Line 261: Line 264:  
   sv t httpd-e-smith
 
   sv t httpd-e-smith
   −
Sidenote: To see how to change file size limits for other aplications, see here: http://wiki.contribs.org/Email#Set_max_email_size
+
++ If you are using [[PHP Software Collections]], use this code. If you are using different PHP-SCL version other than php71, you can replace that section with version you are using for your Wordpress iBay.<syntaxhighlight>
 
+
db configuration setprop php71 MemoryLimit 128M
 +
db configuration setprop php71 PostMaxSize 112M
 +
db configuration setprop php71 UploadMaxFilesize 96M
 +
signal-event php-update
 +
</syntaxhighlight>
    +
Side note: To see how to change file size limits for other applications, see here: http://wiki.contribs.org/Email#Set_max_email_size
    
Good Luck
 
Good Luck
175

edits

Navigation menu