Ubuntu Servers :: LAMP Apache2 Starts And Stops Well But No Website

Nov 17, 2010

I have a small network of an Ubuntu server 10.4 , Debian server, Win XP, and an ubuntu desktop 10.4. I have configured a DNS server and DHCP server successfully on my ubuntu server, also a slave DNS server on Debian. I recently configured apache2 as part of LAMP on ubuntu server, but when I type my ServerName in the URL of my Win XP browser, I get this response: The webpage "mansour.net" cannot be found DNS error occurred. Server cannot be found. The link may be broken.

I have an A Record in my DNS zone file for mansour.net and have that as my ServerName in apache2 Definition file, but I don't know why it is not working. I am trying to learn to install and configure various servers on ubuntu.

View 8 Replies


ADVERTISEMENT

Ubuntu Servers :: Uninstalling Apache2 From Lamp?

Aug 25, 2010

Basically I've made a right **** up of my apache2 configuration and I just want to un-install apache2 and re-install so I can start again.

I've done research on this but the guides have always been for people installing using "apt-get" or "rpm" packages. I've tried these methods but nothing has worked.

The way I installed lamp was from selecting it in the different options when installing ubuntu-server from disk.

Is there any way I can do this through the terminal and not through synaptic, only reason being is that I'm ssh'ing across a local network.

View 2 Replies View Related

Ubuntu Networking :: Wireless Starts And Stops And Starts And Stops?

Feb 10, 2010

Sometime after I upgraded to ubuntu 9.10 I've been having trouble with my wireless network connection.It will usually log on to the network, then disconnect a shortly after. Then try to connect again, usually successfully, then it cuts off again. Then connects again, then disconnects. FWIW, ubuntu 9.10 works on a different machine pretty consistently, so I don't think its a problem with the router.

View 2 Replies View Related

Ubuntu Servers :: LAMP Installed > Need To Change Website Directory?

Jun 13, 2010

I just installed LAMP on ubuntu 10.04using this method:ow i want to change the directory where my websites are; default is "/var/www" right. I have a partition using NTSF file system where i have a folder with all my websites. Can i configure LAMP to use this folder?

View 9 Replies View Related

Ubuntu Servers :: Using Vsftp And Apache2 For Website?

Jun 19, 2010

I recently put a new install of Ubuntu 10.04 Server on an old dell I had sitting around the house with the intention of using it as an all purpose server machine (website, teamspeak, ftp, storage, etc.). I am running apache2 for the web server and want to use vsftpd to edit the website contents through FTP. The issue I am running into is that vsftp doesn't have permissions to write /var/www/ which is the default website directory. The flip-side issue is that apache2 doesn't have permission to access the /home/user/ directory which vsftp has permissions to write.

Because I am only interested in running a single website (no virtual machines/no extra IPs) fixing either apache2 permission or vsftpd permissions would fix the problem.Changing DocumentRoot to /home/user/ will make apache2 point to the new directory but I get a 403 error. I have no idea how to change application permissions.I need to use to give permissions for vsftp to write /var/www/ (vsftpd.conf is configured to allow write in home directory) OR the command I need to give permissions for apache2 to access /home/user/? I assume it is a chmod command but I have never used this and don't know what the permission codes (777, etc.) do in terms of giving me the necessary andsufficient app permissions. I don't want to give the app. too much access and risk creating some security flaw.Here are my vsftpd.conf, default (website config file) and apache2.conf.apache2.conf

Code:
#
# Based upon the NCSA server configuration files originally by Rob McCool.

[code]...

View 3 Replies View Related

Ubuntu Servers :: LAMP - Identify The Right Network Structure For A Data Intensive Website

May 18, 2010

identify the right network structure for a data intensive website, built on LAMP. I'm thinking of a load balanced website, and that it should have a mysql master/slave setup server. I'm no expert in this area, so any online resources are welcome. You can check out the website [URL] - but it will have 10 million items once the hardware can support it.

View 1 Replies View Related

Ubuntu Servers :: Perform An Action Before A Service Starts And After A Service Stops

Sep 10, 2010

I am running Server 10. I have a requirement to perform an action before the MySQL service starts, and perform another action after MySQL service stops.

I found the init script for MySQL under /etc/init/mysql.conf. I added my thing to the pre-start script there and works fine.

I am having trouble finding the script that stops the server so I can modify.

View 1 Replies View Related

Software :: After Install LAMP The Apache2 Can't Access Php Files

Feb 24, 2011

After install LAMP, apache2 can't access php files; I can see the info from the phpinfo(); but when I create a php file in /var/www and try to access the file (via web browser), the page is blank. If I change the extension to html I can acces without problems. I checked everythig but I can't understand why any web browser access a blank page. Nothing appears when I'm cheking the error.log file (apache2)

View 12 Replies View Related

Ubuntu :: Hosting Website With LAMP Server With 10.10?

Mar 31, 2011

I'm running with Ubuntu 10.10 Desktop edition and I have LAMP server installed on the machine. I'm wanting to host my Automotive Detailing website that I'm almost done with off of that server. I have decals made up for my car and friends cars with the domain that I have registered on it. Now, can someone please tell me where and how to put the files for my website on the server and how to configure everything so I can get it up and running ASAP?!? I'm fairly new at this Ubuntu and what not so I need a detailed tutorial

So this is what I need to know:

==> Where to put the webpage files
==> How to configure the server to open it up to the world wide web
==> How to change the IP Address to Static and how to know what to change it to.
==> How to point the registered domain to the server.

Like I said I'm fairly new at this so please be as detailed as possible!

View 5 Replies View Related

Fedora Installation :: Create A Website Using LAMP?

Mar 19, 2009

how to create a website using LAMP. Take completed website and port to a web server and run.

System I am currently running an HP Pavillion laptop 500G HD, 6G RAM, dual boot Fedora 10 and Vista.

Questions: How should I partition HD to allow functionality of LAMP and to later transfer to a online webserver.

I have read several different rational on partitioning the disk. Do I really need a /tmp, /var? Currently I have / /boot, /swap, /home, /usr. Is this okay to start? Will it make transferring the project more difficult for "official use?

Should I not use the laptop at all and create a separate machine for this purpose only?

View 6 Replies View Related

OpenSUSE :: Create And Host A Simple Website Using LAMP And Drupal?

Feb 14, 2010

I wanted to create and host a simple website using LAMP and Drupal. I read an article in a Linux magazine a while back on how to do this, but can't seem to find any instructions. Can someone direct me to a site or link that has step by step instructions on setting up lamp and drupal?

View 9 Replies View Related

Ubuntu Installation :: Webmin As Live Website Using Apache2

Mar 17, 2010

I have installed LAMP. Configured acc. to documentation. I have installed webmin and able to access it. Configured Apache2 and able to access default website www.url.com from public network. But now when I am trying to run [URL] as alias, I am really confused because whenever I type [URL] in web browser, it shows me webmin file instead of GUI. I followed this documentation: [URL]. Anyone have webmin running as website?

View 2 Replies View Related

OpenSUSE Network :: 10.3 - Hosting ASP Website (Apache2 Setup)

Feb 8, 2011

I'm completely new to this whole hosting on linux thing. I'm using apache2 and have everything setup as if I was doing it on a windows machine but when I navigate to the site via URL it displays the source code as plan text and thats all I see. I'm running openSuse 10.3.

View 9 Replies View Related

Ubuntu Networking :: Wlan Connection Starts And Stops Every Few Seconds

Apr 17, 2011

I have a problem with my wlan connection. it works for few seconds, then stops for few seconds and then starts again (without interaction from my side). I run Ubuntu 10.4 Lucid. The issue started few days ago. Using ethernet, there is no problem. The problem does not exist with other computers i have, there wifi and internet work continuously and flawless. I ping my wlan router. one sees that connection to the wlan router starts and stops every few seconds... (of course, internet connection then behaves analogous)

Quote:

PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=1.30 ms
64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=1.21 ms

[code]....

View 3 Replies View Related

Ubuntu Installation :: Can't Install Lucid Netbook / Starts Normally, But Stops On Step 3 Of 7?

Jun 21, 2010

I tried to install Ubuntu netbook remix Lucid on a Lenovo IdeaPad netbook with an Intel Atom processor and a SSD HD 4 GB and a SATA HDD of 160 GB. The installation starts normally, but stops on step 3 of 7, where I choose my keyboard layer...it never passes on to step 4 of 7. I must mention that I had a corrupted installation of Windows XP running on it...I made an USB bootable disk, and everything goes fine untill step 3 of 7.

View 3 Replies View Related

Slackware :: Webcam : It Starts Working When Plugged In, But Stops When It's Enabled

Aug 26, 2010

My system: Slackware 13.0, 512MB RAM, x86 This is the webcam I'm trying to get working:

Quote:

Originally Posted by lsusb
2460 Pixart Imaging, Inc. Q-TEC WEBCAM 100

When I plug the webcam in (usb), the led starts to shine, indicating that it is filming. When I use a program (XSane for example) and click the 'scan' button, the led turns off! It seems that the cam works when it shouldn't, and vice versa.

View 5 Replies View Related

Ubuntu Installation :: LiveCD Starts Installation By Itself And Stops At Error / Fix It/

Jun 30, 2010

A friend of mine has asked me to install Ubuntu for a long time. Today I set up his partitions with Lucid LiveCD and GParted.

However, the LiveCd throws an error that makes me hesitant to continue.

If I boot a LiveCD on my computer I get a question meaning "run Live or install?"

This question does not appear on my friends computer. The first thing you see (about 2 min after boot) is an alertpanel saying something like "The installer encountered an unrecoverable error. We will now set up a desktop environment so you can investigate the problem." After that the normal Lucid (Live) desktop appears and functions well, as far as I can understand.

Sorry for not being able to give more data about my friends system. It is a stationary computer about 2 yrs old, running XP. I can't really make investigations on his system either. I had hoped to go there next time and just install Lucid.

Maybe one should try the alternate installer, but my friend just got used to the LiveCD and I would therefore like to use the LiveCD.

I don't understand why it seems to start installation by itself.

Most of all. I wonder if it is a good idea to run the installation from the desktop icon? Maybe it will encounter the same error that the LiveCd seems to encounter at startup?

View 3 Replies View Related

Ubuntu Servers :: How To Use A LAMP Server

Feb 6, 2010

I've successfully installed my LAMP server (9.10). I've ran a test.php but am curious if there are any tutorials onlines or even books to buy in order o learn how it all works. Where the files are and the mechanics of it. I have it installed but what now ha... I've done HTML, I've built websites but I'm lost!...

View 1 Replies View Related

Ubuntu Servers :: Uninstall Lamp From 10.04 OS?

Jul 15, 2010

I need to uninstall Lamp from my Ubuntu 10.04 OS. I just need to commands etc as I am rather noob at Ubuntu. I will be installing it again I just have come across several problems.

View 2 Replies View Related

Ubuntu Servers :: Can't Set Hostname On LAMP 10.4

Dec 22, 2010

I've looked at several tutorials and since i'm a newb I can't figure them out. I'm trying to set my hostname on my LAMP 10.04. What files do I need to configure? (all IP's below are fake)

Here are the first lines from /etc/apache2/sites-available/default

Code:
<VirtualHost 111.111.111.111:80>
ServerAdmin webmaster@localhost
/etc/apache2/ports.conf has these lines after the comments

[Code]....

View 4 Replies View Related

Ubuntu Servers :: Use Email On 11.04 Lamp?

May 24, 2011

I'm using ubuntu server 11.04 in a LAMP configuration. I have my login page setup but my php email verification isnt working. I would like to know how can I install a relay that can take the email verifications and send them through a gmail account.

View 2 Replies View Related

Ubuntu Servers :: LAMP - How To Manage Permissions

Jan 13, 2010

I have a LAMP server running Ubuntu 8.04.03 Server edition running smoothly. Ive setup several websites on the server and all are ok, but I constantly have trouble with permissions. Everytime I setup a new domain to host, I setup a user specific to that domain. This allows SSH login specific to the domain. The problem I have is that every time I setup ownership in the virtual directories for the users they belong to, the settings don't seem to stay. Initially it seems to work ok, but when I install Joomla and setup the webspace, I always seem to have to login to the server itself to chmod the folders I need to have writable. I cant chmod properly from my FTP client which is weird. How to manage permissions?

Currently I am doing the following:
Code:
sudo mkdir -p {name of domain}/{public,private, etc...}
sudo usermod -g www-data {my user name}
sudo chown -R www-data:www-data /var/www/{directory for the domain}
sudo chmod -R 775 {folder path I need to change}

This works for a while but as I add new things to Joomla and I want to modify the folders, I always have to go back and redo the chmod and the chown commands to get them where I want.

View 4 Replies View Related

Ubuntu Servers :: Installing Mod_python With LAMP?

May 4, 2010

End of my first week after using ubuntu. I have setup LAMP for the purposes of my own coding education, place to run php and python scripts.

LAMP seems to be setup fine and working - I even got php5 working with it - however I am having a lot more trouble getting python to work in much the same manner.

I have downloaded the mod_python from [URL], unzipped it, tried to run ./configure and it said apxs was not installed.

After some reading it turns out I had to remove some apache-fork something and install apache-devfork (please forgive lack of exact names).

After doing this the ./configure on mod_python passed the "finding apxs" test but then said it can't find apache2 at /sbin/apache2 and again aborted the configure.

running 10.4 (lucid)

View 1 Replies View Related

Ubuntu Servers :: PHP Not Working In *.html In LAMP

Jul 23, 2010

PHP in *.php files works in LAMP. PHP script within an *.html file is not executed. Does not display anything but view->source_code shows the <?php ... ?>

[Code]...

Doesn't display anything except the page title is there. View page source --- shows <?php phpinfo() ?> not the phpinfo() output. Both files are in /var/www/ with 644 permissions.

[Code]...

View 9 Replies View Related

Ubuntu Servers :: LAMP Display Php Errors ?

Oct 11, 2010

I've installed developer's LAMP server and made changes on php.ini

But it doesn't display any errors or even a little warning, what's the problem, what's wrong?

View 9 Replies View Related

Ubuntu Servers :: PHP Is Not Co-operating On LAMP Server?

Jan 25, 2011

I had a working LAMP server on my old server. After a HD went out and was replaced I rebuilt my server with Ubuntu 10.10 server. Talk about a smooth and impressive install. I set up my Apache server and MySQL and even installed php5 just like I had done before on my old server. The only thing different I did with this install is with Apache. I now host 3 websites with virtual hosts. This is the only thing different I have done than the last time.

My problem now is my website won't display PHP. I didn't know I had this problem until I installed Drupal for a friend to play around with. Drupal won't finish the installation process because it claims: In your ./sites/default/settings.php file you have configured Drupal to use a server, however your PHP installation currently does not support this database type.

Know I have googled this phrase to hell and back to find a resolution and haven't. I even talked to my local linux guru at work and he refereed me here. I have tried reinstalling php left and right. I'm convinced that there is an option to enable php globally that I'm missing. I really think the virtual hosts is what is causing this trouble. What input will the mighty Ubuntu community provide me with,

View 4 Replies View Related

Ubuntu Servers :: Install Lamp-server On 10.10?

May 18, 2011

Ran the following command from a user account listed with ALL permissions in visudo.

Code:
sudo tasksel install lamp-server
debconf: DbDriver "passwords" warning: could not open /var/cache/debconf/passwords.dat: Permission denied
tasksel: aptitude failed (100)

View 2 Replies View Related

Ubuntu Servers :: Transfer LAMP Data To A New Install?

Jul 15, 2010

Is there an easy way to transfer Webserver data from one ubuntu install to a new one? I know I'll need to get the stuff in /var/www and (somehow) the Mysql data, but are there files elsewhere to get? Or is there a better way than trying to copy all the various files?

View 2 Replies View Related

Ubuntu Servers :: Build LAMP Server Behind A Router?

Dec 9, 2010

I build a LAMP server behind a router. The current situation is:

1.I could access index.html of apache within the LAN.
2.I could access the vsftp outside of the LAN.
3.I could access the ssh outside of the LAN.

I have configured my router to do reflections(although I don't know it's correct or not.). I think the LAMP works good since I could use it inside the LAN. The configuration of the router is at least partly right because ssh and vsftp work fine(I test by browsing the ip:74.***.***.*** in the lan, not 192.168.1.8 --this also works. ).

I cannot access web service outside the LAN. And the error message is "Oops! Google Chrome could not connect to 74. Did I miss some configuration of router?Apache2?Ubuntu? I use the ubuntu server 2010.10 version.

View 3 Replies View Related

Ubuntu Servers :: Enabling CGI In All /var/www Subdirectories (Apache - LAMP)

Jan 5, 2011

I am trying to set up my local development environment to mimic the behaviour of my webhost: namely executing *.cgi files as CGI scripts, regardless of their location. If I'm not mistaken, the default setup of Apache on Ubuntu has this set up for /usr/lib/cgi-bin only.

I have tried adding +ExecCGI to the /var/www directory settings in /etc/apache2/sites-enabled/000-default. I have also tried AddHandler cgi-script .cgi in the same <directory> block.

View 3 Replies View Related







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