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


ADVERTISEMENT

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 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 :: Cannot Access Files / Folders In Www Directory / LAMP

Jan 21, 2010

Just installed lamp, I can access phpmyadmin mysql is set up and everything. When I try to view a directory [URL] I get an access denied error.

EDIT: I changed the permissions of the "folder" folder itself, I can access everything in that directory now but not any other folders in it. Do I really need to go through every folder every time and change the permissions?

View 4 Replies View Related

Fedora Servers :: LAMP Installed But Can't $conn To Mysql

Nov 2, 2010

it seems i have successfully installed LAMP.. i have a very basic page below that works when invoking "data()" but when i try to connect to mysql server (by removing the comments "//") it would just return a blank page.

[Code]...

View 1 Replies View Related

Ubuntu Servers :: PWD Protect Directory Containing Website

Jul 8, 2011

My brother and I currently use a shared server, we both connect via SSH. I store files (via SFTP) on it as I only normally use a laptop. He uses to host his own personal files and also a public website promoting his photography business. I am interested in cryptography and security and have restricted our SSH connections to require keys and use encfs to encrypt my personal folder. Comments on this are welcome.

I am struggling to work out how to protect his home folder without preventing access to his site. Normal methods prevent access entirely or require the web browser to enter a password (no good for promotion). I would like to prevent both alien users and myself from accessing his home folder but still allow his website to be functional from within this area of restricted access. Both the site and his personal files need to be protected.

View 2 Replies View Related

Ubuntu Servers :: Apache/PHP Set Root Directory Of Website?

Nov 27, 2010

In my website, I'm putting shared files in a "/global" folder. Both "styles.css" and "library.php" are in this global folder. HTML code seems to be working ok - the following bit works great to pick up a style sheet:

Code:
<link rel="stylesheet" type="text/css" href="/global/styles.css" /> However PHP does not seem to understand my root directory. Using the following does not work:
Code:
include_once("/global/library.php");

I receive a "failed to open stream: No such file or directory" error.Spelling out the entire full path works, like so:

Code:
include_once("/srv/www/mysite/global/library.php");

But this type of code is no good as I may change servers in the future. I have my "DocumentRoot" set correctly in my sites-available file. It seems as if PHP is ignoring it. Is there a config file someplace (htaccess? Local php.ini?) where I should update my root directory for this site only? Or am I following bad form and there's a better way to do this? Relative paths don't seem like the answer here though...

View 5 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 Servers :: KVM - How To Change Storage Directory

Jan 24, 2010

I'm running Ubuntu 9.10 with Kvm. I've used a howto to configure my network. Seems to work fine, I've installed the Virtual Machine manager, when I go to create my Virtual Machine, I see the the image is automatically created in /var/lib/libvirt/images. I have a totally separate path for my images. How to I configure a different image directory

View 1 Replies View Related

Ubuntu Servers :: Cannot Rm Directory? Or Change Permissions?

May 27, 2010

i'm having issues with a folder which I cannot write to or seem to do anything else with? i figured i'd delete it and start again but i can't even do that!!

Code:
server@server:~$ sudo chown server /media/server/swap/downloads/incomplete/
chown: changing ownership of `/media/server/swap/downloads/incomplete/': Operation not permitted

[Code]....

View 5 Replies View Related

Ubuntu Servers :: Change Tomcat6 Root Directory In 9.10?

Jan 6, 2010

I have newly installed Ubuntu server 9.10 in my server machine.And it has tomcat6 in itself.My friend have built a Java software in Fedora ,and he wants to move it to the new server.But problem is the directory structure is different between two systems.He has to either change his directory setting in his software or change the default tomcat6 ROOT directory. But I have not find any configuration file can do this job(change the tomcat default ROOT directory ).

View 3 Replies View Related

Ubuntu Servers :: Error: 550 Failed To Change Directory

Feb 26, 2010

I have created a folder in my /var/www/ as /var/www/borneo and when I try to install a smf forum I get this error: 550 Failed to change directory. I have installed vsftpd for the ftp.

View 5 Replies View Related

Ubuntu Servers :: Change Some Directory Permissions - Can't Determine Exactly

Mar 13, 2010

when I try to access [URL]... I get an exception:

[code]...

I believe I need to change some directory permissions, but I can't determine exactly what.

View 1 Replies View Related

Ubuntu :: Getting LAMP Installed / Particularly PhpMyAdmin?

Jan 2, 2011

I switched to Linux recently to start learning PHP and MySQL, and used this video on ..... to learn how to install all the desired packages and stuff[URL]... Everything got installed correctly up until 6:48, at the time I didn't know that you need to press space bar to get the star in the box to select the desired configuration, thusly causing myPhpAdmin not to be installed correctly and localhost/myphpadmin not showing up.

So after trying to reinstall it, and then removing all the packages and re installing, this specific set up for the db-config will not show up. Is there a way to completely remove all of these packages and start fresh?

I also tried installing the LAMP server thing, but also myphpadmin fails to get installed properly.

View 1 Replies View Related

Software :: How To Installed Lamp In Ubuntu 9.10

Mar 18, 2010

Lamp stands for (linux apache mysql php).. I dont know how to installed it from terminal.

View 2 Replies View Related

Ubuntu Servers :: Apache - Change The Permissions For A Directory And All Files Inside

Dec 12, 2010

I would like to change the permissions for a directory and all files inside the directory how do I do this? The website is located only on my local network so I am not worried about security. Also what would be the optimal permissions for running wordpress.

View 1 Replies View Related

Ubuntu Servers :: How To Change Mysql Data Directory Location In Lampp

Aug 23, 2011

I use dual boot with windos 7. i use xampp in win7. want to use lampp for ubuntu 10.04. i want to use one local server directoy for both . i successfuly changed htdocs location in lampp. but could not change mysql data directory location.

View 4 Replies View Related

CentOS 5 :: Cannot Get LAMP Installed Right?

Jan 6, 2011

I am a newbie to CentOS and I am trying to build a webserver for development of my website. I installed CentOS 5.5 with server gui and server and knome settings but cant get the LAMP installed right?

View 3 Replies View Related

Ubuntu :: Password Protecting LAMP Directory ?

May 20, 2010

I have a LAMP box which runs on Ubuntu 8.10 on it. I am looking to password protect the web directory, so when a visitor accesses any site within they are prompted for a username/password. Is there a package available?

View 1 Replies View Related

Ubuntu :: Images Not Loading In Browser / LAMP Installed In 10.04

Nov 19, 2010

I have installed LAMP server in ubuntu 10.04 using sudo tasksel command @ my home and with all the port forwarding and stuff its working fine and i can access it via internet and images load fine, but when i installed LAMP using same exact same command @ my friends place and proper network configs, the php pages load but the images don't load. (Images which are very small in size like less then 5 kb is loading though, like small icons, smileys...)Tried clearing cache, different browsers, different image formats.

View 2 Replies View Related

General :: Locate The Path For MySQL Installed Through LAMP?

Feb 23, 2011

I am trying to locate the path for MySQL installed trough LAMP. if someone could point it for me or how to locate this path.

View 1 Replies View Related

Server :: Virtual Hosts On LAMP Not Going To Right Directory Externally?

Jul 16, 2011

I created LAMP server with a wordpress site. I created a sites-available file for the wordpress file pointing to the wordpress directory. Within my server it goes to the site properly. However I also made this server a DNS server, had another test pc use it as a DNS server and it only got the default apache page unless I added /wordpress to the url which makes it point to the directory within /var/www/ that it belongs, but then the wordpress links don't work and this is not what I want it to do anyway. I do not understand why it is working properly internally but not externally. It makes me think maybe the sites-available file is not allowing outside access appropriate permission to use it or something. Can somebody please point me in the right direction I have been working on this for weeks and I am starting to get really frustrated with it. Tell me what config files can help you figure out my issue. Also I eliminated the default index.html file so it wouldn't use it, then placed the index.php file from wordpress in /var/www/ root but in that configuration it doesn't load anything by default but will still work if you point to /wordpress. I believe I have to make some change to my apache2 configs to allow outside PCs to be pointed to the right root directory for the virtual host like is being done internally, I just don't know where to start.

[Code]...

View 4 Replies View Related

OpenSUSE Network :: Setup LAMP On An Old Pc Installed Apache, MySQL?

Jan 16, 2011

i am trying to set up LAMP on an old pc i have installed linux, apache, mySQL and PHP following this guide Installing Apache2 With PHP5 And MySQL Support On OpenSUSE 11.3 (LAMP) | HowtoForge - Linux Howtos and Tutorials. i have installed phpMyAdmin but when i try and acess it i get this error

Error
MySQL said:
Cannot connect: invalid settings.

phpMyAdmin tried to connect to the MySQL server, and the server rejected the connection. You should check the host, username and password in your configuration and make sure that they correspond to the information given by the administrator of the MySQL server.

[Code]...

View 1 Replies View Related

OpenSUSE Network :: Block Directory Browsing On A LAMP Server?

May 23, 2010

I currently have a LAMP server running with multiple virtual hosts configured. I have one virtual host with a sub directory that contains pdf news letters.do not want the directory browsable and tried putting an index.php file that re-directshe user to the root directory but when I go to the [web address]/[directory name] in any browser I see the contents of the folder listed.

Currently the news letter list is drawn from a database table and displayed as links on a page in the root directory. The links point to the file name in the sub directory. How do I block users from going to that sub directory and seeinge contents of that directory listed? Would I add another <directory> statement in the vhosts.conf file? If so how would I structure that directive?

View 1 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







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