[ WordPress (Apache74) ][ 5.4.2.1 ] WordPress to create a beautiful website, blog, or app

This is the best place for community developers to publish their genius work. Your Apps enrich the QNAP Turbo NAS.
Post Reply
bl4d3
Starting out
Posts: 26
Joined: Fri Oct 05, 2012 3:03 am

[ WordPress (Apache74) ][ 5.4.2.1 ] WordPress to create a beautiful website, blog, or app

Post by bl4d3 »

Image

Source : https://wordpress.org/

Download : https://www.qnapclub.eu/en/qpkg/860

Changelog :

About :

Create a beautiful website, blog, or app.
Last edited by bl4d3 on Fri Jul 31, 2020 1:59 am, edited 2 times in total.
bl4d3
Starting out
Posts: 26
Joined: Fri Oct 05, 2012 3:03 am

Re: [ WordPress (Apache74) ][ 5.4.2 ]

Post by bl4d3 »

Hello everyone,

after downloading and installing "WordPress74_5.4.2.0_*.qpkg" I've and found several issues.

Issues:
  1. In the AppCenter I click on the app to open it, then it opens a new tab with the address http://192.168.0.1:54326. If this WordPress QPKG is for the Apache74, which listening per default on the HTTP port 3288 and HTTPS port 448, then the port 54326 is wrong configured. Is There a way to fix the port?
  2. The package is installed to "/opt/WordPress74/". In this root folder there is a "httpd.conf" and inside this text file there is this line: ' ServerRoot "/opt/Apache73" '. Shouldn't be this "/opt/Apache74"? Is this the reason why it doesn't work?
  3. When I open the text file WordPress.sh I can see how the ports are configured:
    • #export LISTENHTTP=54326
    • export LISTENHTTP=3288
    • #export LISTENHTTPS=54327
    • export LISTENHTTPS=448
    Here is the port "54326" mentioned, but comment out. This explains partially, why the address to WordPress is "http://192.168.0.1:54326". Why those ports, same like in Apache, don't work? Shouldn't be the folder with all WordPress file not installed to the ""/share/htdocs/" folder? By default the Apache74 uses exactly that folder.
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ WordPress (Apache74) ][ 5.4.2 ] WordPress to create a beautiful website, blog, or app

Post by QNAP_Stephane »

Will double check

Envoyé de mon MI 9 en utilisant Tapatalk

---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
User avatar
QNAP_Stephane
Experience counts
Posts: 4802
Joined: Wed Mar 27, 2013 1:00 am

Re: [ WordPress (Apache74) ][ 5.4.2 ] WordPress to create a beautiful website, blog, or app

Post by QNAP_Stephane »

fixed in 5.4.2.1
---------------------------------------------------------------------------------------------------------------------------

Find all QPKG in the MyQnap.org repository https://www.myqnap.org
join our discord server for any inquiry related to qpkg - https://discord.gg/4fPxHSWKQW

----------------------------------------------------------------------------------------------------------------------------
bl4d3
Starting out
Posts: 26
Joined: Fri Oct 05, 2012 3:03 am

Re: [ WordPress (Apache74) ][ 5.4.2 ] WordPress to create a beautiful website, blog, or app

Post by bl4d3 »

QNAP_Stephane wrote: Thu Jul 30, 2020 2:37 pm fixed in 5.4.2.1
It works flawlessly now. Thanks QNAP_Stephane. Merci beaucoup de l'Allemagne.
bl4d3
Starting out
Posts: 26
Joined: Fri Oct 05, 2012 3:03 am

Re: [ WordPress (Apache74) ][ 5.4.2.1 ] WordPress to create a beautiful website, blog, or app

Post by bl4d3 »

Hello to all users of the "WordPress74_5.4.2.1_*.qpkg" and newer,

here is a brief manual for this QPKG. I hope it will help you to enjoy it.
This is an inofficial manual as I'm only a customer like you and I don't get paid for my work. Use at your own risk.


Table of contents
1. Annotation
2. Download issues on QNAPclub.eu
3. WordPress installation folder
4. Start the WordPress installation
5. French installation instructions in your mother tongue
6. Database connection details
7. Use the WordPress command line WP-CLI
8. Security through obscurity
9. Restart WordPress
10. Remote Access via SSH to your station
11. Glossary


1. Annotation
Please help to support the community by letting me know, if there is a mistake, how to explain in a better way and what is missing. Please don't hesitate and send a message.


2. Download issues on QNAPclub.eu
It doesn't matter if you try to download a QPKG directly from QNAPclub.eu, from the freeware repository or your unique store link. Sometimes, especially with large files, your download will fail because of network errors.
Image
The fix is easy and costs you only patience. After your download has failed, try again and again. You will see, after several tries you will manage your download successfully.


3. WordPress installation folder
Connect with PuTTY or WinSCP to your station, then navigate to "/share/CE_CACHEDEV1_DATA/.qpkg/WordPress74".


4. Start the WordPress installation
You can start the installation from your "App Center" by clicking on the button "◦ Open" or directly open a new tab in your browser and open "https://<<station's_IP_address>>:54326/wp-admin/setup-config.php".


5. French installation instructions in your mother tongue
As you can see, this QPKG contains the French language version of WordPress. If you can't read French, there are two ways to use WordPress in your mother tongue.
Option A
Use the feature Google Translate, which is built-in the Google Chrome browser. You'll find the translation icon in the address bar on the far right. Click on this icon and select your mother tongue. Once you've finished the installation and log in to WordPress you can download your desired language pack.
Option B
  1. Visit https://wordpress.org and have it displayed in your mother tongue.
  2. Download a free copy of the most current WordPress version.
  3. Extract the downloaded ZIP file.
  4. Log in with WinSCP to your station.
  5. Navigate to the installation directory of WordPress, then open the folder "www".
  6. Overwrite all content by with the WordPress version in your mother tongue by drag and drop.

6. Database connection details
If you use this WordPress QPKG together with Qnapclub's QMariaDB and didn't change so far the default password for a MariaDB, then fill in the form these settings:
  • Database Name: wordpress
  • Username: root
  • Password: qnap
  • Database Host: localhost:3308
  • Table Prefix: wp_
On the other side if you use the built-in MariaDB, which comes with your station, then use the same settings like above except:
  • Password: <<The password which you set in the "Control Panel" in category "Applications" in sub-category "SQL server" in the chapter "Database Maintenance".>>
  • Database Host: localhost:3306

7. Use the WordPress command line WP-CLI
Please read [HOW-TO] WP-CLI: Command line interface for WordPress.


8. Security through obscurity
To increase the security of your WordPress installation it is recommend to delete the "readme.html" and "license.txt" from the root folder of WordPress. This kind of protection is called "Security through obscurity". So imagine, that nowhere you mentioning, that you use WordPress as a CMS. If e. g. an attacker type this address "http://www.<<domain_name>>.<<TLD>>/readme.html" he/she finds links in this document which will lead to the WordPress login page for admins. With both documents you give not only evidence about the CMS you're using also on the approximate version of WordPress you've have currently in use. Like any software on this planet also WordPress has bugs and much more important security threat.
Once the attacker reached your login form, it is predestined for for dictionary attacks aka brute-force attacks.


9. Restart WordPress
  1. Login your station and open the "App Center".
  2. In the category "QNAP Store" in the sub-category "My Apps" search for "WordPress (Apache74)".
  3. Click on the blue button with the down arrow and select "Stop".
  4. After a short waiting time this app is stopped and the blue button turns into black.
  5. To start the app again click on the black button "• Start" to start WordPress again.

9. Remote Access via SSH to your station
You must install, or simply use their portable versions, WinSCP or PuTTY. I recommend you both, because with PuTTY you can restart services on you station and with WinSCP it is much more comfortable to navigate through your station's folders and to edit files. Please be aware to first check in QNAP's "ControlPanel", category "Network & File Services" and sub-category "Telnet /SSH" the checkbox "Allow SSH connection" (used for WinSCP and PuTTY) and "Enable SFTP" (used for WinSCP).


11. Glossary
  • C
    • CMS is the abbreviation of content management system.
  • P
    • PuTTY is a free and open-source terminal emulator, serial console and network file transfer application. It supports several network protocols, including SCP, SSH, Telnet, rlogin, and raw socket connection. Get it from the official website: https://www.chiark.greenend.org.uk/~sgtatham/putty/
  • T
    • A top-level domain (TLD) is one of the domains at the highest level in the hierarchical Domain Name System of the Internet. Examples: .com, .org, .fr, .co.uk, .ch, ...
  • W
    • WinSCP (Windows Secure Copy) is a free and open-source SFTP, FTP, WebDAV, Amazon S3 and SCP client for Microsoft Windows. Get it from the official website: https://winscp.net
bl4d3
Starting out
Posts: 26
Joined: Fri Oct 05, 2012 3:03 am

Re: [ WordPress (Apache74) ][ 5.4.2.1 ] WordPress to create a beautiful website, blog, or app

Post by bl4d3 »

Alanhey wrote: Tue Jan 18, 2022 11:11 pm anyone still using it?
Looking at the Qnabclub Store (see screenshot) I guess this .qpkg is still supported by @QNAP_Stephane (aka Qoolbox?). See the newer versions.

qnabclub_wordpress.PNG
You do not have the required permissions to view the files attached to this post.
Post Reply

Return to “Community Apps”