A web server is a program that responds to network requests over the HTTP or HTTPS protocol.

learn more… | top users | synonyms

62
votes
8answers
20k views

How to avoid using sudo when working in /var/www?

I want to stop having to use sudo everytime I work in /var/www. How can I do that? I simply want to put all of my sites into this directory and work with them without too much pain.
60
votes
6answers
87k views

Whats the simplest way to edit and add files to “/var/www”?

Having installed the web server is there a simple way to set a user able to use the graphic interface to copy files and directories to the local web server /var/www I gave myself administrative ...
18
votes
7answers
10k views

Should I symlink my /var/www directory to my home?

I have just installed Ubuntu Server 10.04 with a LAMP setup. I want to host a website there but I'm not sure which is the best way to get/edit my files on the server. Googling provides many options ...
8
votes
5answers
52k views

500 OOPS: vsftpd: refusing to run with writable root inside chroot() Keep user jailed

Before you close this out to repetition, I have been researching all of the proposed solutions to this bug and so far I have been unable to keep a FTP user jailed to their website directory. While I ...
7
votes
1answer
22k views

How to install icinga on Ubuntu 12.04 & Monitor remote host?

How to install latest icinga & icinga-web on Ubuntu Server 12.04 & How to monitor remote hosts ?
5
votes
6answers
37k views

Change XAMPP's htdocs web root folder to another one

I'm trying to change the XAMPP's web root default directory /opt/lampp/htocs to another one like /home/me/Dropbox/public_html without success. I've edited the file /opt/lampp/etc/httpd.conf # old ...
5
votes
3answers
11k views

Is it easy to install Apache web server on Ubuntu desktop?

So I have decided to build a Ubuntu computer, for now I am going to dual boot with Win7, and then install apache web server. Figured I would give the whole web thing a try. Did some searching but ...
2
votes
1answer
4k views

How do I apply a security update to apache

I have been running some penetration tests against our webserver and it's come up with a few issues. One of them is that apache needs a security update (http://www.ubuntu.com/usn/usn-1765-1/). I am ...
2
votes
4answers
2k views

What Updated Web Cache Servers are available (Caching HTTP Proxy)

I am going to install Ubuntu 11.10 Server (And soon 12.04 Server) and wanted to know what Web Cache servers (Caching HTTP proxy) come with Ubuntu 11.10/12.04 to improve performance and reduce ...
1
vote
1answer
3k views

XAMPP vs. Native LAMP Packages

I'm currently in the process of setting up an Ubuntu Desktop setup for a combination of technical writing, heavy statistics/mathematical analysis, and also server-side development and I wanted to know ...
6
votes
2answers
7k views

How to get apache to serve a site via VirtualBox?

This tutorial taught me how to create an Ubuntu Server (12.10, 64-bit) VM in VirtualBox on a Windows 7 host machine, install Apache and have it serve a site from a dummy domain accessible via the host ...
5
votes
4answers
191 views
+100

Resize my root partition in Ubuntu server

How can I resize my root partion in Ubuntu server in terminal? I only access to server by terminal commandds and I can't use visual tools such as gparted! I need it because I want to create new ...
4
votes
1answer
1k views

Renaming localhost

By default 127.0.0.1 has the localhost alias. I found several approaches to changing it to a different string, but what is the standard, effective and safe best-practice way of doing it? Can I give ...
30
votes
0answers
25k views

How to setup a Git server? [duplicate]

I am trying to setup a Git server could. Can anyone tell me how to set up a Git server, so that client machines can connect to that server and make use of Git version control for their projects... ...
4
votes
1answer
1k views

Benefits of using Squid proxy in Ubuntu Server

What are some of the benefits of installing Squid Proxy in an Ubuntu Server that is sharing its Internet connection to a group of PCs in a LAN.
4
votes
2answers
1k views

How can I host my own website

I have bought a domain lets say it example.com, I also own an Ubuntu 10.04 machine which I would like to use it to serve my personal website. I have deployed the website on my local machine and its ...
2
votes
2answers
240 views

Temperature & RAM monitoring script

I have the following script: while : do clear; echo "---------------------------RAM Load------------------------------$ free -mt >> memory.txt; free -mt; ...
1
vote
3answers
5k views

XAMPP: Deamon is already running, but it's NOT apache

This one is giving me a headache... I have installed XAMPP for Linux 1.7.7 on Ubuntu 12.10. I haven't installed the latest version because of the new security "feature" which makes XAMPP so secure I ...
1
vote
1answer
837 views

How come no one outside my network can connect to my Owncloud server?

I installed lawn software for internet online for my server, I installed owncloud 4 on it. I can connect to it using my newwork internet, but no one out side my internet newwork can connect, they say ...
1
vote
2answers
3k views

How do I install osCommerce?

Recently I've come across the osCommerce, an open-source e-commerce project, and I'd like to try it. Is it packaged in the repository (like Wordpress)? If not, how do I manually install and use it?
0
votes
3answers
508 views

MySQL database in tasksel LAMP stack for osCommerce

I'm experimenting with osCommerce, an e-commerce suite, for which I installed the LAMP stack using tasksel. It did ask for a "root password" for MySQL, but other that that I did not pay attention to ...
0
votes
1answer
2k views

How to configure Firewall

How can I configure firewall for what I use as a web development server. I should be blocking all ports except 80 (HTTP), FTP, SSH? I tried configuring using ufw, gufw, firestarter but I ended up ...