Trying to install Joomla on NethServer

(Phil Parker) #1

So far very strange its going well but seems to have installed a whole bunch of add-ons into the installations into the software center, i hope i didnt break the distro… it doesnt look right to me but who am i to judge?

I am linking to some screenshots i did and tell me if that is normal as I am unfamiliar with things adding themselves suddenly with a distro like this…without it breaking…

Here is a link to the screenshots of what it added, its rather large sorry:

Nevermind: Thats the EPEL and REMI Repository coming thru! lol

I just finished apache, i did not do anything with the firewalls as of yet, and about to add Joomla to see what happens… lol

Joomla is completed on my screen end ready for install at:https://ipaddress

Does not show up in the Dashboard as I told you it would not, however it proves things can be installed without breaking the distribution. I dont know where you would want to take it from here?


I did have some issues with not breaking the distro, some things were missing like installing t1lib before upgrading php, PLEASE NOTE: I had used a CentOS 6.6 minimal install,added NethServer and did not install any add-ons to do this, i had to change the MySQLD password located at /etc/my.pwd and made no changes to the firewall as I have several here.

I did not update at all during the process, as it would have become unstable i used EPEL and REMI Repositories.

Instructions are here:

install yum install t1lib
I had to create a new MySqld password,
PHP.ini only change the PostMax Size=30 Upload Max Size=30M
httpd.conf NO Changes.

There is nothing special here, only i did NOT break the distro, in the process, it flows like a normal install otherwise.

Webmin, has now been added to my NethServer distro and is working fine, just had to add this to IPTABLES


A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT

This opens the door for Bacula, and other things on my distro copy, if others want to add it, it does work but you will have to update things manually as listed before.

Welcome to NethServer Community
What is the most awesome module/feature for NethServer, that does not yet exist?
What is the most awesome module/feature for NethServer, that does not yet exist?
(Giacomo Sanchietti) #2

If you need to open a port in the firewall, just follow this doc:

(Phil Parker) #3

I got it open, something happened to Snort so i have to wipe and reinstall as of now, working on that currently, occurred after installing OSMA for Dell PowerEdge Servers.Snort IPS was wiped and removed directories and it is pulling back expansion errors right now, so this is a priority as i move on into more exploring, this is the first thing that broke in the distro… gave:

Undefined Variable in the String $SIP_SERVERS /etc/snort/rules/snort.rules

(Alessio Fattorini) #4

So can we have a clear and simple howto to install Joomla?
@AbsyntH can yo try to help @PParker?

(Phil Parker) #5

I fixed it on my end, i used pigsty as a module.

(Marcelo Costa) #6


I have following these steps to install joomla:

  1. On Nethserver, I create a shared folder with web acess. (http://myServer/myWebFolder)
  2. I got the mysql root password in “/root/.my.cnf”.
  3. On Terminal, install PhpMyAdmin
  4. Add a few php resources on “/etc/php.ini”.
  5. Copy the joomla structure to myWebFolder
  6. Install joomla, via web browser.

For me, these steps works fine.


(Stéphane de Labrusse) #7

You have a module nethserver-phpmyadmin with all automatic configurations

Thanks for your return

(Alessio Fattorini) #8

That’s a fantastic news! Please, could you write down more details? Which resources did you add on php.ini?
Could you use nethserver-phpmyadmin module? Adding some screenshot?
It might be a helpful HowTo
What do you think @AbsyntH?

(Marcelo Costa) #9


I have a brief tutorial, but is in portuguese. I will translate to english and post here.


(Alessio Fattorini) #10

Wow I want this :smiley: please paste here your tutorial! So we can work on it…

(Marcelo Costa) #11


Links for howto:

English version:

Portuguese version:


(Stéphane de Labrusse) #12

Hi marcello thank for your work.

My 2c

A.When you want to modify php values you have to use the internal command of neth database. It is completely specific to neth but really easy to manage when you will know that. By the way i’m working on a panel to modify these values directly.

For example

config setprop php MemoryLimit 250
signal-event nethserver-php-save

B. If you are root you don’t need to use ‘sudo’

C.And concerning phpmyadmin you have a module in the software center…

(Stéphane de Labrusse) #13

I forgot to add this morning i’m also working on nethserver-phpsettings, search on the forum, a module to adjust only for the ibay specific settings to the ibay.

It is still in beta stage but for what i tested it is workable

(Mark Edworthy) #14

I am trying to integrate Joomla into Nethserver ALCs. I always find LDAP confusion and complecated, can somebody help me?

The following image contains a screenshot of Joomla’s LDAP authentication plugin.

Can somebody tell me what to add to this configuration?

(Stéphane de Labrusse) #15

Some doc

And a concret example

In fact you use the user ‘libuser’ and the password is in /var/lib/nethserver/secret

LDAP Information pagex
(Stéphane de Labrusse) #16

And another one for

(Marcelo Costa) #17

Hi Stephane,

Thanks for your tips. I am a newbie on Nethserver and I have much to learn.

I used the global “php.ini”, because, in my environment, Joomla load this file and the “/etc/php.d” folder. A management panel to php.ini will be a great tool.

I don’t found PhpMyadmin module in software center.

Yes. I have removed “sudo”…I write because this is a habit.


(Stéphane de Labrusse) #18

No problem Marcello, please read this it is not strictly related to neth but it is workable and when you want to find an event, type 'signal-event ’ (with a space after) and press the ‘Tab’ key, all available events will be printed.

A nethserver is based on a database of keys/properties and these values are used to write configuration files
if you want to see all the database configuration

[root@nethserver-dev ~]# config show |less

but in order to see only php key

[root@nethserver-dev ~]# config show php
php=configuration   <---- KEY
    AllowUrlFopen=1   <----PROPERTY
    DateTimezone=UTC <----PROPERTY
    ExposePhp=0  <----PROPERTY
    MaxExecutionTime=30  <----PROPERTY
    MemoryLimit=32  <----PROPERTY
    PostMaxSize=8  <----PROPERTY
    ShortOpenTag=0  <----PROPERTY
    UploadMaxFilesize=2  <----PROPERTY

and here for example if you want to modify a values

db configuration setprop php MemoryLimit 256
config setprop php MemoryLimit 256

and for multiple properties

db configuration setprop php MemoryLimit 256 MaxExecutionTime 300 PostMaxSize 225 UploadMaxFilesize 220


config setprop php MemoryLimit 256 MaxExecutionTime 300 PostMaxSize 225 UploadMaxFilesize 220

when you modify properties, you have to launch an event, here it is

signal-event nethserver-php-save


signal-event nethserver-php-update    #update is an event more complete launched every time you install or remove rpm

you have no equivalent in the linux world of that concept, or I don’t know them, once you have understood that, it is really simple.

the day where the project will decide where the wiki will be, I can have a go on this type of documentation, and other.

[root@nethserver-dev ~]# rpm -qa | grep -i phpmyad

please read this

but @davidep I believed that now the software center can find nethforge directly without modifications ?

(Alessio Fattorini) #19

No worries at all
We’re all here to learn something of new, every single day :wink:

(Davide Principi) #20

NethForge repository is not part of default NethServer installation. To configure it:

yum install nethserver-nethforge-release
rpm --import  /etc/pki/rpm-gpg/RPM-GPG-KEY-NETHFORGE-6