Joomla and Ubuntu Server 14.04 LTS issues

Need help installing Joomla! 3.x? For all Joomla! 3.x installation issues please use this forum.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Locked
dclarke420
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Mon Feb 08, 2016 7:52 pm

Joomla and Ubuntu Server 14.04 LTS issues

Post by dclarke420 » Mon Feb 08, 2016 8:09 pm

Hey guys,

So here is my issue, sorry if I am not in the right forums. I am currently trying to install and configure a LAMPP on Ubuntu Server 14.04 LTS using this tutorial:

https://docs.joomla.org/Configuring_a_L ... ux_desktop

I am able to successfully get to "Creating the New Site" section, specifically where is wants to test the new site by placing a today.php script in the folder then test it by using the web browser. When I try going to localhost/today.php I get the following error:

Forbidden
You don't have permission to access /test.php on this server.
Apache/2.4.7 (Ubuntu) Server at 192.168.200.17 Port 80

I went ahead and followed the rest of the tutorial and thought I would troubleshoot after I was done, so here I am. Can someone help with this issue?

I am also planning on hosting multiple sites/domains from this Virtual Server so any help on that would be appreciated as well.

Thanks in advance.

-daniel

User avatar
sudo-web
Joomla! Ace
Joomla! Ace
Posts: 1325
Joined: Fri Jan 22, 2016 7:10 pm
Location: Vienna - Austria
Contact:

Re: Joomla and Ubuntu Server 14.04 LTS issues

Post by sudo-web » Mon Feb 08, 2016 8:31 pm

This is a Apache setup issue. I'm not sure if this is the right forum for this.
You should Google for apache setup, or for a more apache specific form.
All I can say is that your Virtual host is not configured right.
Visit me on my Webdesign Webpage: https://www.posit.at

dclarke420
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Mon Feb 08, 2016 7:52 pm

Re: Joomla and Ubuntu Server 14.04 LTS issues

Post by dclarke420 » Mon Feb 08, 2016 8:39 pm

I understand this is an Apache issue, however as you can see I am following a guide I found on this site. Any additional suggestions or should I go elsewhere?

Thanks

-daniel

User avatar
sudo-web
Joomla! Ace
Joomla! Ace
Posts: 1325
Joined: Fri Jan 22, 2016 7:10 pm
Location: Vienna - Austria
Contact:

Re: Joomla and Ubuntu Server 14.04 LTS issues

Post by sudo-web » Mon Feb 08, 2016 8:48 pm

Did you get the default apache page after installation?
https://assets.digitalocean.com/article ... apache.png
How is your Apache VirtualHost setup?
Visit me on my Webdesign Webpage: https://www.posit.at

dclarke420
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Mon Feb 08, 2016 7:52 pm

Re: Joomla and Ubuntu Server 14.04 LTS issues

Post by dclarke420 » Mon Feb 08, 2016 9:29 pm

Hi, thank you for the responses. I did get the default Apache page after installation and can still get it, just not the "localhost/today.php"

Here is the setup of my VM:

Windows Server 2012 DataCenter, Hyper-V - Gen 1 VM, Ubuntu 14.04 LTS (OS)

If this was not what you were looking for please let me know and I can give any additional information I may have missed. Did you take a look at the documentation I sent a link to that I was following?

Thanks

-daniel

User avatar
sudo-web
Joomla! Ace
Joomla! Ace
Posts: 1325
Joined: Fri Jan 22, 2016 7:10 pm
Location: Vienna - Austria
Contact:

Re: Joomla and Ubuntu Server 14.04 LTS issues

Post by sudo-web » Mon Feb 08, 2016 9:41 pm

No, I did not mean the VM Server ;) I mean the configuration of Apache, descripted after: Creating the New Site in the documentation you referred in your post.
Visit me on my Webdesign Webpage: https://www.posit.at

dclarke420
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Mon Feb 08, 2016 7:52 pm

Re: Joomla and Ubuntu Server 14.04 LTS issues

Post by dclarke420 » Mon Feb 08, 2016 9:52 pm

Haha sorry, I figured you were looking for something else as I was answering that. Here is my conf file for my site:

<VirtualHost *:80 *:8080>
ServerAdmin webmaster@localhost

DocumentRoot /home/dclarke/lamp/public_html
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
<Directory /home/dclarke/lamp/public_html>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride All
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>

ErrorLog /home/dclarke/lamp/logs/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog /home/dclarke/lamp/logs/access.log combined

Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>

</VirtualHost>

Thanks

User avatar
sudo-web
Joomla! Ace
Joomla! Ace
Posts: 1325
Joined: Fri Jan 22, 2016 7:10 pm
Location: Vienna - Austria
Contact:

Re: Joomla and Ubuntu Server 14.04 LTS issues

Post by sudo-web » Mon Feb 08, 2016 10:09 pm

I'm a little bit confused. The error says no access to test.php but before you talking about localhost/today.php. Where is this (or both) file located? in /var/www/test.php or in /home/dclarke/lamp/public_html?
Can you run

Code: Select all

sudo service apache2 configtest
just to check if your configuration is ok.
Visit me on my Webdesign Webpage: https://www.posit.at

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44018
Joined: Sat Apr 05, 2008 9:58 pm

Re: Joomla and Ubuntu Server 14.04 LTS issues

Post by Webdongle » Mon Feb 08, 2016 10:17 pm

Install xampp
Run it's php, mysql and filezilla server
Download the latest Joomla installation zip [1]

Unzip to your hard drive

Connect to localhost with an FTP client Default

nobody
lampp

Create a folder for your Joomla on the localhost server

FTP the unpacked Joomla installation files to the newly created Joomla folder
You may need to create an ftp user(with full permissions)/password
note that xampp has an ftp server and that is different to an ftp client. By using an ftp client to ftp the files to localhost xampp' ftp server will sort out the Ownership issues
https://docs.joomla.org/Installing_Joom ... inux#XAMPP
Important:

The XAMPP installation sets the correct Ownership of the files and permissions.
Using the CHOWN command will cause Ownership problems with xampp.
Using nautilus to manipulate folders/files on localhost will cause Ownership problems with xampp.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

dclarke420
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Mon Feb 08, 2016 7:52 pm

Re: Joomla and Ubuntu Server 14.04 LTS issues

Post by dclarke420 » Tue Feb 09, 2016 2:10 pm

Hey sorry for the confusion, following the guide I changed the location of my webfiles to: /home/dclarke/lamp/public_html due to possible permission issues.

I was doing a test for both test.php and today.php. I must have copied the wrong error text when I was creating my post.

I can't use XAMPP, this will be a production server for the company I work for.

Thanks

-Daniel

User avatar
sudo-web
Joomla! Ace
Joomla! Ace
Posts: 1325
Joined: Fri Jan 22, 2016 7:10 pm
Location: Vienna - Austria
Contact:

Re: Joomla and Ubuntu Server 14.04 LTS issues

Post by sudo-web » Tue Feb 09, 2016 3:53 pm

dclarke420 wrote:Hey sorry for the confusion, following the guide I changed the location of my webfiles to: /home/dclarke/lamp/public_html due to possible permission issues.
This could be one of the reasons. So if you fixed it, and have a solution please posit it and mark your first post as solved. If not, please descript your configuration more precise.
Visit me on my Webdesign Webpage: https://www.posit.at

dclarke420
Joomla! Apprentice
Joomla! Apprentice
Posts: 13
Joined: Mon Feb 08, 2016 7:52 pm

Re: Joomla and Ubuntu Server 14.04 LTS issues

Post by dclarke420 » Tue Feb 09, 2016 4:23 pm

I made the change because the guide told me to due to possible permission issue when trying to install modules and extensions for Joomla which I can confirm happens when I leave it at /var/www.

I have installed Ubuntu/Lamp several times and I always seem to have issues with the default configuration of /var/www. Joomla will install fine but I get permission issues when installing mods/extensions.

I was hoping this guide was a good source to get my server up and running with the proper permissions. Does anyone have a solid working tutorial/guide that would help me get through this process if we cannot resolve this issue?

Thanks in advance

-Daniel


Locked

Return to “Installation Joomla! 3.x”