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

learn more… | top users | synonyms

77
votes
8answers
33k 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.
73
votes
6answers
124k 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
11k 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 ...
9
votes
6answers
71k 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
26k 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 ?
59
votes
5answers
101k views

How to know what program is listening on a given port?

I suspect a program is listening on port 8000 on my machine. When I run the following command, I get that error: > python -m SimpleHTTPServer # Lots of python error socket.error: [Errno 98] ...
9
votes
6answers
56k 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 ...
8
votes
3answers
603 views

Remote administration of a server?

I'm going to install a ubuntu server to provide email, ftp and maybe webserver services too. I dont want to install a gui for the server, but I'd like to administrate it remotely. I was thinking in ...
6
votes
3answers
12k 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
6k 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
3k 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 ...
5
votes
5answers
28k views

Using Terminal as a web browser [duplicate]

I've found that terminal can be used for various purposes. This will be great if I can use it as a web browser. Is there any way to use it as a web browser??
1
vote
1answer
138 views

setting up apache2 webserver — differences between behaviour within my intranet and outside

I am new to apache2. I have an ubuntu 12.04.4 LTS machine in my home, and just installed apache2 on it. I wanted to set up a webserver running on a port other than port 80 (my router uses port 80). ...
1
vote
2answers
1k views

Secure shared memory

In my Ubuntu deployment script I have written a function to secure shared memory. For a web server it's important to secure the shared memory to tighten up security. Below you can find the code: echo ...
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 ...
14
votes
2answers
26k views

How do I access Ubuntu server running in VirtualBox from outside

I have installed Ubuntu Server 12.04 LTS on my laptop via VirtualBox. I have installed LAMP, OpenSSH, Mail server. As I logged in, I ran ifconfig. It gave me the inet address as 192.168.0.3. So, ...
6
votes
2answers
14k 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 ...
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 ...
3
votes
1answer
1k views

Streaming a webcam video to the web-page in Ubuntu

I need a software which were able to capture images from a webcam and stream it to the web-page. I already tried a webcam-server, but it uses java applet on the client side for retrieving pictures, ...
0
votes
2answers
3k views

How to make php webpage to access the file in /root directory?

I am using Linux 12.04,apache and php is installed on it.I want to access a text file in /root/ folder.I am really confused with the permissions.The php script i m using <?php $file = ...
30
votes
0answers
24k 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
1k views

Web client front end download manager

I currently run a headless server (Ubuntu server 12.10) with various applications running on the box accessed via web interfaces (transmission, plex etc). The box sits at a site with a quick and ...
2
votes
2answers
483 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
6k 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
1k 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
1answer
124 views

Make Linux and Windows share localhost (webserver) files and database

I'd like to have ubuntu and windows share my htdocs and mysql databases for local development. This isn't a web-facing site, just for personal development use. Is there a way to do this? Is this a ...
0
votes
1answer
154 views

monodevelop asp.net xsp4 change default address/port?

How to explain to monodevelop asp.net app to run xsp[4] server from other port than default 8080? Tried to change defaults in /etc/default/mono-xsp but that do not make difference to monodevelop ...
0
votes
1answer
568 views

Play music from Server

I want to configure Ubuntu Server to play music from the same server, with a couple of points: It will not do streaming. It will play the music from the server to the speakers connected to it. It ...
0
votes
3answers
564 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 ...