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

learn more… | top users | synonyms

110
votes
8answers
54k 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.
101
votes
7answers
187k 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
13k 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 ...
25
votes
3answers
58k 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, ...
15
votes
9answers
98k 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 ...
131
votes
6answers
238k 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] ...
7
votes
1answer
30k 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 ?
7
votes
2answers
27k 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 ...
8
votes
3answers
649 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 ...
3
votes
4answers
4k 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 ...
2
votes
1answer
9k 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
1answer
4k views

Connect to remote Ubuntu Server GUI

I have a server running remotely by ip address 5.231.XX.XXX running Ubuntu 13.10 Operating system. I am using Ubuntu 14.04 on my laptop. I am able to connect to my server via terminal by ssh login as:...
1
vote
1answer
4k 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 ...
1
vote
1answer
230 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
2k 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 ...
10
votes
7answers
83k 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 ...
7
votes
2answers
34k views

Can't find httpd.conf

I have installed Ubuntu 14.04 on a laptop and installed apache 2 (version 2.4.7) and PHP 5. I cannot find httpd.conf. I need to change it because when I try to open a .php page I see a download box. ...
4
votes
1answer
2k 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
2k 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, ...
3
votes
2answers
22k views

Apache not starting

So I tried to start my apache2 server with the following command... sudo service apache2 start But then I get this error message... Job for apache2.service failed. See "systemctl status apache2....
1
vote
1answer
3k 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 ...
0
votes
1answer
419 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 ...
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
2k 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.
2
votes
2answers
829 views

Temperature & RAM monitoring script

I have the following script: while : do clear; echo "---------------------------RAM Load------------------------------$ free -mt >> memory.txt; free -mt; ...
2
votes
2answers
5k 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 ...
1
vote
2answers
4k 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?
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
3answers
9k 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 ...
0
votes
2answers
44 views

apache2,php and mysql - facing problem in editing the files and loading them in browser

friends, I have installed apache2 , php and mysql but now the problem is I don't know where to write the programs and put them back into the server folder so that I can access them back.My file i.e ...
0
votes
4answers
3k views

Having trouble in installing and removing mysql in ubuntu

I have trouble in installing or removing the partly installed mysql-server-5.6 in ubuntu15.04. The error I am getting was sudo apt-get -f install Reading package lists... Done Building dependency ...
0
votes
1answer
771 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
625 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
699 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 ...