Line 31: |
Line 31: |
| === A) Wordpress install in an iBay of SME server: === | | === A) Wordpress install in an iBay of SME server: === |
| | | |
− | A1) Create an iBay in which you wish to install wordpress on. | + | '''<u>A1)</u>''' Create an iBay in which you wish to install wordpress on. |
| | | |
| When creating the iBay in server-manager: | | When creating the iBay in server-manager: |
Line 42: |
Line 42: |
| (Viewers will receive "Problem with websites security certificate" error message, unless you install trusted certificates. See [[Letsencrypt|HERE]]) | | (Viewers will receive "Problem with websites security certificate" error message, unless you install trusted certificates. See [[Letsencrypt|HERE]]) |
| | | |
− | A2) Issue a following command to enable PHP temporary upload folder in that iBay.(Change "iBay" to the name of your ibay and remove quote marks). Note you may have to add additional directories beyond what is shown here depending on the plugins you select. Take a look at /var/log/messages if something isn't working. PHP will issue warnings to that log file. Additional directories are added to the db accounts statement below by separating them with a colon. | + | '''<u>A2)</u>''' Issue a following command to enable PHP temporary upload folder in that iBay.(Change "iBay" to the name of your ibay and remove quote marks). Note you may have to add additional directories beyond what is shown here depending on the plugins you select. Take a look at /var/log/messages if something isn't working. PHP will issue warnings to that log file. Additional directories are added to the db accounts statement below by separating them with a colon. |
| db accounts setprop "iBay" PHPBaseDir /home/e-smith/files/ibays/"iBay":/tmp | | db accounts setprop "iBay" PHPBaseDir /home/e-smith/files/ibays/"iBay":/tmp |
| signal-event ibay-modify "iBay" | | signal-event ibay-modify "iBay" |
| | | |
| | | |
− | A3) Issue a following command to enable Symlinks in that iBay.(Change "iBay" to the name of your ibay and remove quote marks) | + | '''<u>A3)</u>''' Issue a following command to enable Symlinks in that iBay.(Change "iBay" to the name of your ibay and remove quote marks) |
| | | |
| db accounts setprop "iBay" AllowOverride all | | db accounts setprop "iBay" AllowOverride all |
Line 54: |
Line 54: |
| signal-event ibay-modify "iBay" | | signal-event ibay-modify "iBay" |
| | | |
− | A4) Create mysql database and database user for wordpress to use *(1,2). Make sure database user has all the privileges to the database you have created. For security reasons, allow access to the database from localhost only. | + | '''<u>A4)</u>''' Create mysql database and database user for wordpress to use *(1,2). Make sure database user has all the privileges to the database you have created. For security reasons, allow access to the database from localhost only. |
| | | |
− | A5) Download latest version from www.wordpress.org to your computer and unzip it. Upload unzipped wordpress to desired "iBay"/html | + | '''<u>A5)</u>''' Download latest version from www.wordpress.org to your computer and unzip it. Upload unzipped wordpress to desired "iBay"/html |
| | | |
| | | |
− | A6) In the SME server-manager, Create a new domain and point it to the iBay where the wordpress is installed. (Assuming you have already registered a domain with domain registrar and pointed it to your server IP) | + | '''<u>A6)</u>''' In the SME server-manager, Create a new domain and point it to the iBay where the wordpress is installed. (Assuming you have already registered a domain with domain registrar and pointed it to your server IP) |
| | | |
| | | |
− | A7) Point your web browser to your domain and go through the installation process. | + | '''<u>A7)</u>''' Point your web browser to your domain and go through the installation process. |
| '''!! * 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. |
| | | |
− | A8) 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 |
| 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 78: |
Line 78: |
| === B) Enable a Multisite: (several blogs under one domain) === | | === B) Enable a Multisite: (several blogs under one domain) === |
| | | |
− | B1) Open wp-config.php and add the folowing code: | + | '''<u>B1)</u>''' Open wp-config.php and add the folowing code: |
| | | |
| | | |
Line 88: |
Line 88: |
| | | |
| | | |
− | B2) Log into your wordpress Dashboard | + | '''<u>B2)</u>''' Log into your wordpress Dashboard |
| | | |
| Under: Tools, Network | | Under: Tools, Network |
Line 100: |
Line 100: |
| | | |
| | | |
− | B3) After you click install, you will be taken to a "Create a Network of WordPress Sites" screen | + | '''<u>B3)</u>''' After you click install, you will be taken to a "Create a Network of WordPress Sites" screen |
| | | |
| Make sure you follow ALL 3 steps. | | Make sure you follow ALL 3 steps. |
Line 108: |
Line 108: |
| === C) To run several Domains on one wordpress install: === | | === C) To run several Domains on one wordpress install: === |
| | | |
− | C1) You will need to install Wordpress Domain Mapping plugin. | + | '''<u>C1)</u>''' You will need to install Wordpress Domain Mapping plugin. |
| | | |
| Find it here: http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/ | | Find it here: http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/ |
Line 115: |
Line 115: |
| | | |
| | | |
− | C2) Create all your domains in the SME server-manager and point them to the iBay where you installed wordpress. (Assuming you have already registered your domains with domain registrar and pointed them to your server IP) | + | '''<u>C2)</u>''' Create all your domains in the SME server-manager and point them to the iBay where you installed wordpress. (Assuming you have already registered your domains with domain registrar and pointed them to your server IP) |
| | | |
− | C3) create new sites in wordpress dashboard that will handle new domains created in step C2 | + | '''<u>C3)</u>''' create new sites in wordpress dashboard that will handle new domains created in step C2 |
| | | |
| '''!! SME Specific Change: !!''' | | '''!! SME Specific Change: !!''' |