Wordpress installation on Nethserver (multiple vhosts)

@stephdl (“Beta, please test and provide feedbacks”)
yum install nethserver-wordpress-AutoUpdater --enablerepo=stephdl
signal-event nethserver-wordpress-update
successful

unfortunately

yum install nethserver-wordpress --enablerepo=stephdl
...
Resolving Dependencies
--> Running transaction check
---> Package nethserver-wordpress.noarch 0:1.1.9-2.ns7.sdl will be installed
--> Processing Dependency: wordpress for package: nethserver-wordpress-1.1.9-2.ns7.sdl.noarch
--> Running transaction check
---> Package wordpress.noarch 0:5.1.6-1.el7 will be installed
--> Processing Conflict: nethserver-wordpress-AutoUpdater-1.1.11-2.ns7.sdl.noarch conflicts wordpress
--> Processing Conflict: nethserver-wordpress-AutoUpdater-1.1.11-2.ns7.sdl.noarch conflicts nethserver-wordpress
--> Processing Conflict: nethserver-wordpress-1.1.9-2.ns7.sdl.noarch conflicts wordpress-AutoUpdater
--> Processing Conflict: nethserver-wordpress-1.1.9-2.ns7.sdl.noarch conflicts nethserver-wordpress-AutoUpdater
--> Finished Dependency Resolution
Error: nethserver-wordpress conflicts with nethserver-wordpress-AutoUpdater-1.1.11-2.ns7.sdl.noarch
Error: nethserver-wordpress conflicts with wordpress-AutoUpdater-5.2.3-1.ns7.sdl.noarch
Error: nethserver-wordpress-AutoUpdater conflicts with nethserver-wordpress-1.1.9-2.ns7.sdl.noarch
Error: nethserver-wordpress-AutoUpdater conflicts with wordpress-5.1.6-1.el7.noarch
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Best regards, Marko

1 Like

Yep it is not an upgrade path, remove first nethserver-wordpress and wordpress, then install the autoupdater

The data and the database wil stay

I didn’t install that before.

not surprisingly…
# yum remove nethserver-wordpress
Loaded plugins: changelog, fastestmirror, nethserver_events
No Match for argument: nethserver-wordpress
No Packages marked for removal
# yum remove wordpress
Loaded plugins: changelog, fastestmirror, nethserver_events
No Match for argument: wordpress
No Packages marked for removal

A few basic questions about installing Wordpress.
Normally I would (if there is no installation package that does the complete installation) first create a database, save the scripts to the vhost via FTP and run the installation script.

Is that not possible under Nethserver?

Besides: is there no GUI-based installation of a MySQL-DB? I thought the module MySQL-Tools would provide something like that. But no such thing.

What do I have to do to create a MySQL-DB and a system user that I can use with Wordpress?

And why do I need the auto-updater module? Normally Wordpress takes care of this itself, if you don’t use a special add-on.

For sure it’s possible. This is exactly what the virtualhost module provides.

https://wiki.nethserver.org/doku.php?id=phpmyadmin

I strongly suggest you to use MariaDB instead of MySQL, just for avoid Oracle contamination…

I cannot reproduce on a new VM, you should toubleshot your server

rpm -qa | grep -i 'wordpress'

# rpm -qa | grep -i 'wordpress'
wordpress-AutoUpdater-5.2.3-1.ns7.sdl.noarch
nethserver-wordpress-AutoUpdater-1.1.11-2.ns7.sdl.noarch

So nethserver-wordpress-AutoUpdater is installed

I do not understand your issue :-?

I’m really frustrated about this complicated installation of a simple Wordpress.
Within Plesk a 3 Minute Task…

Wordpress is really not an exotic system, as that would not be worth an installation package.

I will install Nethserver fresh - my last try. Then I capitulate.

Don’t know what I can do if you claim you want to use another system.

Each system is different, each system needs a learning curve.

@+

I do not want do that.
I actually wanted to get away from Plesk.
But simply is different…

1 Like

Clear it is different, for me wordpress is installed,

Go to https://yourip/worpdress

Can you reach the web installer

Thanks for your patience. I reinstalled completely new:
NS7 Base + Firewall, IPS, DPI, Mail-Server, Web-Server with Virtual Host.

What ist the right starting point and way to a Wordpress installation?

Install my repository first

Install wordpress
https://wiki.nethserver.org/doku.php?id=wordpress

1 Like

also the same procedure like before.

The last command
yum install nethserver-wordpress --enablerepo=stephdl

was successful

Now I have installed Wordpress, quite easy :slight_smile:
3 Minutes :slight_smile: :slight_smile:

1 Like

IIRC with nethserver-wordpress is stuck with wordpress 5.1 from epel, this is why I did AutoUpdater

1 Like

one additional question… How can I host multiple Instances for different vhosts?
And where are the scripts located

if you read the doc you can create a specific vhost, but it is only for one vhost, you have to create a custom template for multiple vhost