Fedora Servers :: Simple Apache/PHP Setup For A Start

Feb 26, 2010

I've installed Fedora 12 Desktop in order to develop a simple website, which is going to use some PHP.

I will need:code editor to write html/css/php local apache server running php browser how to get me up and running in no time with least extra configurations.

Bonus: I'm going to run all this in a virtual box on my company computer. I'd love to be able to stay undercover with this, so if one of you can tell me how to configure the apache server not to be too visible to the company network/domain, that'd be excellent.

View 7 Replies


ADVERTISEMENT

Fedora Servers :: Setup The ERuby On Apache?

Jun 17, 2009

I'm trying to setup eRuby on my Apache server, and I'm having problems. Currently, I have this in a separate config file in "/etc/httpd/conf.d/eruby.conf":

Code:

AddType application/x-httpd-eruby .rhtml
Action application/x-httpd-eruby /cgi-bin/eruby
DirectoryIndex index.rhtml

I have a file named "index.rhtml" in a folder called "test" that's in the root of my server. When I try to get to the file I get this, though:

Code:

You don't have permission to access /cgi-bin/eruby/test/index.rhtml on this server.

View 3 Replies View Related

Fedora Servers :: Apache - DNS Setup That Works Over Internet

Mar 15, 2011

I know what I need to do I just cant seem to achieve it and that is correctly setup a DNS server that works over the internet, I'm using BIND9 with webmin. I have Fedora 14 - Apache is install its all working locally, so this final step I just can't grasp to be honest.

View 14 Replies View Related

Fedora Servers :: Apache Does Not Start?

Feb 15, 2010

FedoraVersion 12 ConstantineNoyau Linux 2.6.31.12-174.2.3.fc.x86_64Gnome 2.28.2Memory 871.4 MoAMD Athlon LE-600Free disk 71.5GoSelinux is deactivated.Httpd doesnot start and, when I start "onfiguration des services", and click D�marrer, it runs for ever, but never starts Apache...

View 8 Replies View Related

Fedora Servers :: START PAGE In Apache

Mar 4, 2011

I have an apache server and /var/www/html/index.html startpage working fine. But I want to have files accessed by apache in my /home/beny/ director.

View 8 Replies View Related

Fedora Servers :: Apache Httpd Doesn't Start On 11

Sep 3, 2009

I have just installed Fedora 11 on a "fresh machine" and everything works ok, except for Apache httpd
the message seen in the error_log is the following: Name or service not known: mod_unique_id: unable to find IPv4 address of "myserver"

View 14 Replies View Related

Fedora Servers :: Apache Won't Start After Installing Openss

Sep 3, 2011

I'm running Fedora 15. I installed mod_ssl and tried restarting Apache. I get the following error:

Code:
(98)Address already in use: make_sock: could not bind to address [::]:443
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:443

no listening sockets available, shutting down Unable to open logs I rebooted the server, thinking there was some process in the background that was stopping Apache from listening on 443. Same problem.

I ran:

netstat -A inet -lnp and lsof -i tcp:443

I remove mod_ssl and Apache starts.

The other question I have is what to do with /var/www/html

In the default install, root:root owns it, but I want people to be able to ftp in to that folder and write to it without using the root account. I'm thinking of changing the group to apache and putting the ftp users in the apache group. What is the recommended behavior here?

View 5 Replies View Related

Ubuntu Servers :: Simple Q Multiple Apache Users And Remote Administration

Feb 7, 2011

how one professionaly would solve the security and administration for the multiple webadmins, but firstly I give some general information.I spent 2 days searching and there are alot of good guides but I dont see my specific questions answered, not so I can understand them atleast.I have Ubuntu 10.10 64bit server edition installed.I am educating myself and am new to linux but use vmware and have installed Gentoo multiple times and a copy of Ubuntu server. This server is going to be setup on the 64-bit 10.10 Ubuntu virtual machine.

View 3 Replies View Related

Fedora Servers :: Cannot Start Apache - No Read / Write Access To HTTP Files

Jan 14, 2009

I am trying to setup my webserver and I am trying to make a website to run under suexec but somehow I cannot start my apache it directly fails and SELinux is giving me errors and don't really know what to do with it, it is giving me some command to type but not sure if this will make my server less secure. The SELinux error is as follow:

Code:
Summary:
SELinux prevented httpd reading and writing access to http files.

Detailed Description:
SELinux prevented httpd reading and writing access to http files. Ordinarily httpd is allowed full access to all files labeled with http file context. This machine has a tightened security policy with the httpd_unified turned off, this requires explicit labeling of all files. If a file is a cgi script it needs to be labeled with httpd_TYPE_script_exec_t in order to be executed. If it is read-only content, it needs to be labeled httpd_TYPE_content_t, it is writable content. it needs to be labeled httpd_TYPE_script_rw_t or httpd_TYPE_script_ra_t. You can use the chcon command to change these contexts. Please refer to the man page "man httpd_selinux" or FAQ [URL] "TYPE" refers to one of "sys", "user" or "staff" or potentially other script types.

Allowing Access:
Changing the "httpd_unified" boolean to true will allow this access: "setsebool
-P httpd_unified=1"

Fix Command:
setsebool -P httpd_unified=1

I will write down how I did setup my server so maybe you can see a mistake I did. First I changed my Apache httpd.conf I added the following to it:
Code:
NameVirtualHost 192.168.1.2:80
<VirtualHost 192.168.1.2:80>
ServerName localhost
DocumentRoot /var/www/html
DirectoryIndex index.html index.html index.shtml index.php
</VirtualHost>

<VirtualHost 192.168.1.2:80>
SuexecUserGroup ulyaoth ulyaoth
ServerAdmin webmaster@ulyaoth.org
ServerName test.ulyaoth.org
DocumentRoot /var/www/ulyaoth/www/html
ErrorLog /var/www/ulyaoth/logs/error_log
CustomLog /var/www/ulyaoth/logs/access_log common
DirectoryIndex index.html index.htm index.shtml index.php
ScriptAlias /cgi-bin/ /var/www/ulyaoth/www/cgi-bin/
<Directory /var/www/ulyaoth/www/cgi-bin/>
AllowOverride none
Order allow,deny
Allow from all
Options +execCGI
AddHandler cgi-script .cgi .pl
</Directory>
</VirtualHost>

Then I created the username "ulyaoth" with the group "ulyaoth" as I specified with my suexec, then I created all the directories as specified in my httpd.conf and "chown ulyaoth:ulyaoth (dirname)" them to the right group and username.

View 10 Replies View Related

Ubuntu Servers :: Setup Simple File Server In A Native Environment?

Dec 7, 2010

I have two computers on my home lan I am trying to share files between...My desktop which is running Ubuntu Server 10.10 (x64) with a GUI, and my laptop which is running Ubuntu Desktop 10.04. I have tried a million different tutorials regarding SAMBA setup, but they never work.

In addition, most of those tutorials are geared towards hybrid Linux/Windows environment. I do not have any microsoft product in my home. I have created the share on my server, but I'm not sure how to connect to it from the laptop (once again at this point in the tutorials it explains how to access it from a Windows PC). I tried using the menu doing this:

Places-->Connect To Server-->Service Type-->Windows Share (for the server I tried my server hostname and IP) to no avail. Does anyone know of a recent step by step tutorial for setting up a complete Ubuntu environment? Is there a simpler method I can use since I do not particularly need to use SMB protocol?

All I want to do is share my music folder from my server so I can access it (from the same LAN) on my laptop...Arrrghhh frustrating.

View 8 Replies View Related

Ubuntu Servers :: Noob Setup Simple SMTP Relay Contradiction In Terms?

Jun 7, 2011

Is the term a 'simple SMTP relay' a contradiction in terms?!I have an elderly Dell server on which I have just made a fresh install of 10.04 LTS server. I had 8.04 running on it for a long time, but I haven't tried an SMTP server before. It is a headless server with CLI (no GUI) and the latest version of Webmin installed.I have a basic LAMP server installed for a few websites using PHPbb and Joomla, and also I run a Mediatomb server for our household. When I installed I also chose to install mail services, but these remain masked behind NAT at the moment

I now want to set up an SMTP relay server so when I am working away and using different wifi points or my notoriously unreliable 3G dongle I can always send emails through the home server (from my iPhone and my laptop) rather than having to look up the SMTP server for each ISP of the place where I am working.

What I want is an authenticated server which takes my email and redirects it to my home ISP's SMTP server. I need only 3 authenticated users to have access (myself, my wife and my son). I don't need (or want) any incoming mail services at all.

Useful modules installed are: Dovecot, Postfix, Procmail mail filter, PAM - but how do I set them up?

Is there any simple setup that I could do, preferably through Webmin, but I can handle CLI if necessary?

I have looked at the Ubuntu help pages, but it looks so complicated to set up something that seems like it should be so simple to me.

View 9 Replies View Related

General :: Apache 2.2 Setup On Debian - About Name Servers?

Jan 5, 2011

I'm setting up my Debain machine to host my homepage, and I have installed Apache 2.2, and a browser-based GUI for it called Webmin. I have a domain name with co.cc, it is www.patmore.co.cc. On the domain name site, there are two fields for name servers. Presently, they are set to the name servers for my hosting company. Apache is working on my machine. When I type my host name in my browser, it goes to index.html in the document root, as it should. When I key in my Debain machine's IP address on another machine on the same network, it also goes to index.html.

Attached, there is a screenshot of the Virtual Server Details in the Webmin GUI. I think I have the server name set right, but what do I type in the Address field? What do I need to type in for my name servers on the domain name site?

View 3 Replies View Related

Ubuntu Servers :: 9.1 Setup - How To Get Apache To Display Website

Jan 10, 2010

I have Ubuntu 9.1 setup, with ISPCONFIG3, squirrel mail, apache2, mysql, phpmyadmin, phpbb3 so now what, what do I need to do next to setup to get apache to display my website and where do I need to put my web files?

View 1 Replies View Related

Ubuntu Servers :: Setup Puppet To Install And Configure Apache

Jul 7, 2010

I'm trying to setup puppet to install and configure apache on several servers. Having found: [URL] I thought I was onto something. However I'm a little lost, does anyone know of or can anyone write a small howto on how to get this module working on certain nodes. My current state is puppet is running and connected to the puppetmaster. I can do simple things but the apache install have lost me a little.

View 1 Replies View Related

Ubuntu Servers :: Setup Puppet To Install And Configure Apache?

Nov 23, 2010

I'm trying to setup puppet to install and configure apache on several servers. Having found:

[URL]

I thought I was onto something. However I'm a little lost, does anyone know of or can anyone write a small howto on how to get this module working on certain nodes.My current state is puppet is running and connected to the puppetmaster. I can do simple things but the apache install have lost me a little.

View 4 Replies View Related

Ubuntu Servers :: Setup A Home Web For Personal Site Using 11.04 And Apache

Jul 23, 2011

I am trying to set up a home web server for my personal site using Ubuntu 11.04 and Apache. I have set up a user called www and given it FTP access to its home area (/home/www) using vsftpd. I then edited /etc/apache2/sites-available/default and set the DocumentRoot directive to /home/www. When I made a test index.html file in that directory it worked fine. Then I FTP'd to the server (as www) from another PC and uploaded the site files. Now when I try to access the site I get an error 403 (forbidden).Obviously I'm doing something wrong here but I'm not sure what. What should I do to fix this.

View 2 Replies View Related

Ubuntu Servers :: Apache Setup For Hostname Access On Local Network

Apr 13, 2011

I have installed Ubuntu on four machines at work and have been blown away. On my machine I have Apache setup for web development and other machines can "see" it using my IP address. I would like to have it so they can access by the name of my computer though. I have no local DNS server so I guess I need to hard code the relationship in each machine? Ideally I'd actually like to be able to use subdomains (which I use locally to avoid annoying .htaccess path problems). i.e. from another machine on the network to go to [URL].

View 3 Replies View Related

Ubuntu Servers :: Apache Server Don't Want To Start By Itself On Boot

Apr 6, 2010

My apache server don't want to start by itself on boot.

View 9 Replies View Related

Ubuntu Servers :: Faile To Start Apache : Line 236?

Aug 22, 2010

Failed to start apache :* Starting web server apache2apache2: Syntax error on line 236 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/sites-enabled/000-default: No such file or directory

View 4 Replies View Related

Fedora Servers :: IMAP4 And STMP - Simple Back Up To Be Located?

May 18, 2011

Would like to run an IMAP4 and associated STMP services for a small group [5-10] non-local users. This would run on a dedicated, headless box. simple back-up mail server to be located elsewhere?

View 7 Replies View Related

Ubuntu :: Get Simple GUI For Apache?

Dec 6, 2010

Does anyone know of a simple gui for Apache that I can use to stop and start apache when I need it. I just installed apache on my laptop so I can work and test locally.

I tried webmin but it's to bloated.

View 3 Replies View Related

Ubuntu Servers :: Setup An Apache Web Cluster Using Red Hat Cluster Suite

Sep 1, 2011

I am working in a project that needs to set up an Apache Web Cluster. The cluster needs to be High-availability (HA) cluster and Load-balancing cluster. Someone mentioned the use of Red Hat Cluster Suite, but, honestly, I can't figure out how it works, I haven't been able to configure it correctly. The project currently have two nodes, but we need to support at least three nodes in the cluster.

View 5 Replies View Related

Fedora Installation :: Apache Won't Start On F12

Dec 8, 2009

I can connect to localhost, and get the test page.However, as soon as I install the apache PHP module, with:[root] # yum install php apache will not restart.Watching active processes with qps, I see apache tries to start, but then it crashes - hence it writes to the error log to say it's started. But there's no PID in /var/run/httpd, and I cannot connect to localhost.

View 6 Replies View Related

Fedora :: Failed To Start Apache

Jul 7, 2011

I was working on my Drupal test site (running Fedora 11) when it froze. I had to hold down the power button to get it to shut off. When I booted back up, I received the error message "Your system had a kernel failure" after logging in. When I tried to access my test site's ip address or 127.0.0.1, I get the error message "unable to connect". However, I can access and log into Webmin (version 1.440) at 127.0.0.1:10000. Then I noticed that my Apache Web Server (Apache version 2.2.15) was not started. When I try to start it, I get the error message:"Failed to start apache. I'm using Fedora 11, Drupal 6.2 and Apache version 2.2.15.

View 1 Replies View Related

Ubuntu :: Web Script For Apache As A Simple File Sharing Server?

May 23, 2010

Quite often I need someone to transfer a file to my laptop, and it's often different OS to different OS, and setting file-sharing, sshd/ssh, ftpd/ftp, and whatever else not is often not worth it. A USB key is also not always handy or big enough.

But, it's easy to be on the same network, just hard to get service working on top of it in less than 3 minutes if you've never dealt with that person's computer before.

What I was thinking would be the simplest thing would be if I could run apache, and have a very simple web script that simply allows file uploads. Something that would serve a web page that has a "choose file" button which brings up the file dialog, pretty standard I guess. I wouldn't say no to a few more functions on top of that.

Given that, does anyone know of a simple apache modules, or a web server script (language doesn't matter) that would allow for this?

View 2 Replies View Related

Ubuntu :: How To Setup A Very Simple Backup

May 23, 2010

I have a second HD in my computer for doing a backup onto. All I want is to select a couple of my documents folders and have them copied to it daily. I would like it to add new files and update newly modified ones. I don't want it encrypted or archived, just a basic copy.

View 4 Replies View Related

Server :: Apache Changing Port For Godaddy's Simple Control Panel

Apr 11, 2011

On Godaddy's Simple Control Panel for their dedicated servers, the URL defaults to URL... I would like to change the location to URL....

View 1 Replies View Related

Fedora Installation :: Apache Web Server Does Not Start Automatically Unless Login

Feb 20, 2009

I have a problem with running Apache web server. I think my problem is either I can not get httpd to load automatically or it's being blocked from external unless I'm logged in, don't know which. Or, I'm completely off base. Either way, being logged in solves the problem. Now I just need to fix it. This is a brand new server running latest apache and fedora 10 (all fully patched). Loaded from source to all default (non RPM directories - apache is /usr/local/apache2/... )

I modified the existing /etc/init.d/httpd script and had it point to the /usr/local/apache2 areas.I even did a chkconfig --add httpd and show it is on for run levels 2345.The problem is that when I reboot the server httpd does not load because I can not access the website.However, the minute I login to the server as a user (non-root) it automatically loads httpd and the website works.Then, when I logout, everything is inaccessible again. I even tried to put the commands in the /etc/rc.local script (or wherever it is).Same thing happens.I know this is a simple fix. Just don't know what it is. Is it related to SElinux? However, wouldn't SElinux create access problems regardless of being logged in or not? Once I'm logged in, everything automatically fixes itself (either it's a service load or a rights filter fix).

Remember, everything works perfectly as long as I'm logged in to the server (even as a non-root user). Just the act of logging in makes the web server accessible from to the rest of the world. However, when I logout, the web server is inaccessible.

View 5 Replies View Related

Ubuntu Networking :: Setup Simple Network For Ssh'ing

Mar 1, 2010

All i really want to do is be able to ssh into my other linux system. I am not interested in internet sharing, or even file sharing.[linux laptop with unused ethernet port]-windows-mobile-ppc connected by usb for internet-tehtering [linux running on my wii accross the room]-nintendo lan adapter.I want to be able to ssh login to my wii, from my laptop. That is all i want. Do i need a router in between the two for this, or can i just connect them with ethernet cable?No samba, no nfs, no fancy stuff. Just want to be able issue commands from laptop to my wii.

View 9 Replies View Related

Ubuntu :: Setup A Simple Backup Cron Job

Jun 10, 2010

I'm trying to set up a simple backup script with cron.

In "crontab -e" (and sudo crontab-e - I tried both) I enter "0 22 * * * /home/USERNAME/.backup.sh", with the hope that it will run the script at 10pm each day. The srcipt work fine if I run in a terminal. why it won't work? It's bound to be something obvious....

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved