Web server can refer to either the hardware (the computer) or the software (the computer application) that helps to deliver content that can be accessed through the Internet.
42
votes
8answers
8k 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.
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... ...
28
votes
7answers
37k 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 ...
16
votes
7answers
5k views
What is the best way to add files to a website on a LAMP Server?
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 ...
14
votes
0answers
15k views
How To Auto Add To /etc/resolv.conf? [duplicate]
On Ubuntu 10.04 Server, you can edit a file and it will automatically add a nameserver to the /etc/resolv.conf on boot. Unfortunately, Ubuntu 10.04 Desktop does not have this feature that I'm aware ...
10
votes
4answers
13k views
How to install updates via command line?
Good day,
When I log into my web server via SSH I see the information:
88 packages can be updated.
80 updates are security updates
I tried apt-get update then apt-get upgrade but each time I log ...
7
votes
3answers
487 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 ...
7
votes
4answers
6k views
Custom Apache 404 page
I want to customise the 404 page of my Apache Webserver on Ubuntu to something other than the general:
Not Found
The requested URL /***** was not found on this server.
...
7
votes
2answers
413 views
Can I use a desktop install as a server?
I'm new to Linux and Ubuntu is my first distribution. I have chosen Ubuntu because I want to learn more about Linux.
I'm under time constraints and need to setup a server as soon as possible. I have ...
6
votes
3answers
682 views
Recommended workflows for Apache virtual hosts?
I do a lot of local web development work on my Ubuntu machine, and I'm constantly setting up virtual hosts in Apache. I don't need to do hard core server management, but I am getting tired of the ...
6
votes
2answers
10k views
How to make Jetty webserver listen on port 80?
I would like to use Jetty as a webserver.
I have edited the configuration file at /etc/default/jetty and set:
# change to 0 to allow Jetty start
NO_START=0
# Listen to connections from this ...
5
votes
3answers
3k 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 ...
5
votes
4answers
2k views
Recommendation of web server admin control panel (free, open source, deb package)?
I'm looking for:
a safe/secure web admin control panel for a web server
preferably free and open source
in official repositories or at least with regular updates and an easy way to update to newer ...
5
votes
1answer
495 views
How do I access Ubuntu server running in VirtualBox from outside
I have installed Ubuntu Server 12.04LTS 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, this ...
5
votes
2answers
6k views
“allrequestsallowed.com”… Hack attempt?
I have many attempts on my (small, personal and absolutely unimportant) web server, and apache and fail2ban usually do their job right. But there's a log entry that worries me:
xx.yy.www.zzz - - ...
5
votes
1answer
78 views
If a company is using ubuntu on its servers/dektops, does it have to pay?
a friend of my friend has started a small firm and given me the responsibility to erect all the IT infrastructure required? I'm basically a windows guy that too on the developer side. But recently I ...
5
votes
1answer
741 views
Crashed my server, how do I find out what happened?
From a remote machine, I ran 100 concurrent requests against my Ubuntu VPS
ab -n 100 -c 100 http://...
And, as I suspected, the server "crashed". I can still ping it, and it responds very quickly ...
5
votes
1answer
379 views
How do I set up an Ubuntu server as a secondary DNS
The company I now work for specializes in web development. They are currently selling clients packages where they develop web applications for them to help automate certain business tasks for them. ...
5
votes
2answers
476 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
1answer
162 views
How would I broadcast a subdomain/virtual name on a local server with people connected to the same network
I have a server connected to the router which has ubuntu 12.04. It is has apache/mysql/php all installed ready to go. the folder structure is like this:
/var/www -- this isnt the root
-/libs
-/logs
...
4
votes
1answer
739 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
1answer
7k 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 ?
4
votes
3answers
927 views
Chrome mistakenly downloads localhost/wordpress pages, but Firefox doesn't
I have Wordpress installed at http://localhost/wordpress
When I try and view a page in Chrome, it downloads the PHP file rather than showing the page. When I view in Firefox, everything works fine.
...
4
votes
2answers
541 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 ...
4
votes
2answers
353 views
Why does my server only uses 3GB of memory
The server has 24 GB of memory and 4 quad-core cpu's.
It runs a busy website on apache/MySQL/php and sometimes gives a message that the server load is too high. When I look at the logs it never uses ...
3
votes
3answers
5k views
How I can turn off unknown webserver (Apache probably)?
I want to start XAMPP Apache server but it terminal it says that another web server daemon is already running. So I want to find out how to turn off it or so.
When I go to localhost I get following ...
3
votes
2answers
761 views
My user can't upload files to folders owned by www-data
I think I have screwed up my permissions in Ubuntu.
I am using my server to run PHP. I recently ran across a problem where PHP could not create directories in the var/www-directory, so I searched ...
3
votes
1answer
597 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
2answers
218 views
Problem downloading Rapidshare file (URL encoding)
I installed Plowshare knowing that it can download rapidshare files from terminal, but if there are any parentheses () or brackets [] in the link then it can't download the link.
Can this problem be ...
3
votes
1answer
607 views
How can I host a website in a virtual machine?
Before you shoot this down, please let me explain what I mean....
I am running Windows, I also have a virtual machine installed that is running Ubuntu. I want to set up a website on Ubuntu (the ...
3
votes
1answer
258 views
How do i use .net on ubuntu server?
I have been running a webserver on my ubuntu server.
Now my friend wants me to also run .net on my server.
How do i run .net on it ? I have no knowledge about .net though my friend is quite good in ...
3
votes
3answers
2k views
HTTP(S) based file server
I've got a server running Ubuntu 10.04. I've already gotten openssh for ssh and sftp on it.
I've been looking for a web-based (http, or preferably https) file server, perhaps a web-front-end to an ...
3
votes
1answer
165 views
how to browse to a local web site from my ubuntu desktop
I run a web server just on my local network on a Windows XP machine using IIS. The main app I created keeps track of all my bookmarks so that no matter which computer I'm using in my home, I have ...
3
votes
1answer
2k views
How do I establish an FTP connection from Windows to Ubuntu Server?
I have a LAMP web-server on Ubuntu 11.10, working perfectly. But now I want to develop my website from a Windows 7 system in the same network.
I want to set up an FTP connection to Ubuntu so I can ...
3
votes
2answers
300 views
Moving a LAMP set up from 32 bit to 64 bit
I have setup an Ubuntu server 10.10 32bit on an old Dell D610 Laptop for testing.
I have the latest PHP, MySQL and Apache with Wordpress installed.
After the testing is over and once I finish adding ...
3
votes
2answers
1k views
Ubuntu chroot “No such file or directory”
I have a web application where I create some folders on my server and put executables there. Then I try to run them with chroot but I get a message that access is denied there.
I tried chmod -R 777 ...
3
votes
2answers
2k views
How to assign correct permissions to both webserver and svn users?
I've an issue with files ownerships.
I have a drupal website and the "files" folder needs to be owned by "www-data" in order to let the users to upload files with php.
However I'm now using svn and ...
3
votes
1answer
11k views
Ubuntu 12.04 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 ...
3
votes
1answer
248 views
Is LAMP strictly for development purposes? [closed]
So basically, is LAMP strictly for development purposes or is it fine for production websites as well? I ask this because I have recently switched to Ubuntu from Windows and if LAMP is anything like ...
3
votes
2answers
1k views
What is “GFI WebMonitor Secure Download”? and how to disable it?
Please help me to disable it! it offends me while downloading via Web browsers.
3
votes
1answer
773 views
How to give directory and file permissions to a web server
I'm a Linux newbie. I'm doing a project that uses the gosmore routing engine. In one of my email to the developer about a certain problem, he replied to me that to solve the problem:
"I think you ...
2
votes
2answers
4k views
How do I copy files that need root access with scp?
I have an Ubuntu server to which I am connecting using SSH.
I need to upload files from my machine into /var/www/ on the server, the files in /var/www/ are owned by root.
Using PuTTY, after I log ...
2
votes
4answers
60 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] ...
2
votes
3answers
5k views
How do i set up a webcam server for HTTP?
There used to be a package webcam-server, but it is no longer there. I would like to be able to view the picture from a Logitech USB webcam in a browser in a different computer in the same network. I ...
2
votes
3answers
2k views
Cpanel like platform
I'm looking for a automated point-and-click hosting platform like Cpanel. Is any free and open source platform and which of them do you thing is the best? I prefer to be free of charge.
2
votes
4answers
849 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
1k views
File permissions to let web application write files
I installed osCommerce using these instructions. During the initial run, I was asked to point at the MySQL database it should use and set up admin accounts. But to save the settings, it needed to ...
2
votes
3answers
113 views
Best solution for a team home server
I created a home server with Ubuntu 12.04 Server (using an old Netbook with an Atom CPU and 512Mb). The idea is just to be used for a small team (maximum 10 persons) that will have constant access by ...
2
votes
2answers
110 views
Creating a Web Server [closed]
Here's my problem in a nutshell:
I have been given an old computer (Windows 2000 for now) and I need to install an Ubuntu OS (I'm thinking about Ubuntu Server), Moodle and perhaps a website.
After ...
2
votes
5answers
13k 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 ...