Questions tagged [webserver]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
904 views

rsync complication on sync

We have 2 Web Server node Primary and secondary, if the primary is down by any reason secondary will act as Prim. Now if we talk about the codes we which is on both the host. we should be ...
AReddy's user avatar
  • 3,172
2 votes
2 answers
2k views

How can I make a process I start during an SSH session run after the session has ended? [duplicate]

Possible Duplicate: Keep SSH Sessions running after disconnection. I have a process which is basically a web-server, I start it during an SSH session. However, when I leave the session (by ...
Adam's user avatar
  • 149
223 votes
22 answers
337k views

Simple command line HTTP server

I have a script which generates a daily report which I want to serve to the so called general public. The problem is I don't want to add to my headaches maintance of a HTTP server (e.g. Apache) with ...
Cid's user avatar
  • 2,445
17 votes
4 answers
51k views

What can I use to monitor and log incoming/outgoing traffic to/from remote hosts?

I run a web server (Debian Squeeze on a VPS), and the graphs provided by the hosting company show consistently that around twice as much traffic is incoming to the server compared to the outgoing ...
Ian Renton's user avatar
19 votes
3 answers
88k views

tomcat 8 will not start after initial install

I am trying to install tomcat on a new CentOS 7 virtual machine. I successfully installed apache httpd, and am able to get the apache test page when I type the ip of the virtual machine into a web ...
CodeMed's user avatar
  • 5,199
4 votes
2 answers
4k views

How can I Forward a subDomain to a specific port?

My apologies if this has been asked before. I haven't found an adequate solution so... yeah. When a specific domain, "example.com" is accessed, I want it to act normally. In other words, it should go ...
Jarwain's user avatar
  • 41
1 vote
1 answer
185 views

CentOS 7 with Apache 2.4 not serving content after change of root web directory

I'm trying to change an apache web service's root web directory /var/www/html to my custom directory /mnt/webfiles. However, after configuring the /etc/httpd/conf/httpd.conf parameters and restarting ...
user53815's user avatar
0 votes
2 answers
526 views

Better latest version or the package for rkhunter and chkrootkit?

The rkhunter version of the ubuntu package is currently 1.4.0, while the installer is version 1.4.4 The repo version of chkrootkit is 0.49, while its installer is 0.52 Since security is a major ...
Asarluhi's user avatar
  • 317
0 votes
2 answers
357 views

Low-RAM Linux Distro Specifically for serving static sites [closed]

I'm looking for a near-zero-configuration linux distro that is designed specifically for serving static web sites and nothing else on a low-RAM machine (I'm planning on 128MB, but the option of less ...
themirror's user avatar
  • 6,988
28 votes
2 answers
125k views

Installing Debian without GUI for a web server

I'm unfamiliar with Debian (obviously), so I downloaded the live ISO thinking it might help me. From the live GUI, I doubled click on the install icon on the desktop and proceeded - it gave me an ...
user avatar
9 votes
3 answers
33k views

systemd - My custom service exits with status code 216/GROUP

I installed the following unit file for an Nodejs Express Server: [Unit] Description=Server for SpeedBot After=network.target [Service] ExecStart=/var/www/SpeedBot/server.js Restart=always ...
medicengonzo's user avatar
8 votes
1 answer
528 views

Does fail2ban offer any additional protection to SSH if password login is already turned off?

I’m setting up a Debian VPS on Linode to use as a public web server, and I’m following their security suggestions. The last suggestion they make is to install fail2ban, to avoid dictionary attacks on ...
Paul D. Waite's user avatar
5 votes
1 answer
3k views

How to configure permissions to allow apache to securely have access to a file in a shared environment?

At my school we have a shared server environment with several users and several groups. Relavent Groups: students daemon (runs apache) I want to allow students to be able to have full ...
Ray's user avatar
  • 153
4 votes
4 answers
1k views

Choosing the right distribution for learning and hosting web apps

I'm coming to Linux from the Windows world, and I want to learns the ins and outs of the system in order to make it my primary day to day work and hosting environment. I'm pretty much a complete ...
Alexandr Kurilin's user avatar
3 votes
1 answer
829 views

give group permissions to specific device

I have a panning web camera I built, (future robot arm). The camera pans via a web interface (cgi scripts and JS interface) which access an arduino. To enable sending of commands via the interface, I ...
j0h's user avatar
  • 3,617
2 votes
0 answers
11k views

Using nmcli to set subnet mask and gateway IP

The Red Hat Enterprise Linux 7 Networking Guide (see link) says that the following syntax should be used to assign a subnet to a gateway: nmcli connection modify eth0 +ipv4.routes “192.168.122.0/24 ...
CodeMed's user avatar
  • 5,199
1 vote
1 answer
183 views

PostgreSQL Accessible to Web Application

I have a server with PostgreSQL installed and there are scripts that are constantly modifying data in the database. PostgreSQL is running on it's default port 5432. I would like to be able to connect ...
TheLovelySausage's user avatar
1 vote
1 answer
8k views

How to copy files as Jenkins "post build" action if i don't have privileges to destination directory

I have the following users "architecture" : root access is disabled. admin user have access only to its home directory. Apache runs as root service (root is the only one that have access to web-...
Ori Price's user avatar
  • 207
1 vote
1 answer
1k views

Backup from remote server

I'm using Ubuntu/Debian machines. I want to back up our dedicated web server to a local location in-house. This is for many reasons - I know that our web host will back up properly, however there are ...
Thomas Clayson's user avatar
1 vote
1 answer
126 views

How can I run Doccano as the root user without knowing my root password on EC2?

I use Doccano on an AWS EC2 instance running Ubuntu 22.04. To run Doccano, I use doccano webserver --port 8000. But now I'd like to have Doccano serve its webpages on port 80. Therefore, I have to run ...
Franck Dernoncourt's user avatar
1 vote
6 answers
3k views

Light-weight alternative to Apache

In my set-up, I run (as root) ln -s ~/share /var/www. By doing this, anyone on the local network will access the ~/share directory by pointing their browsers at http://hostname/share. I use apache, ...
tshepang's user avatar
  • 65.6k
1 vote
2 answers
3k views

How can I see the number of visitors in my website via CLI

How can I find out the number of visitors in real time in my website? I'd like to access to it via SSH, so it should be some CLI programs. In the worst case scenario I was thinking to analyse the ...
Luigi T.'s user avatar
  • 528
0 votes
1 answer
343 views

"Can't connect to ('0.0.0.0', 80)" when asking Doccano to serve on port 80: what is the issue?

I use Doccano on Ubuntu 22.04. I get the error "Can't connect to ('0.0.0.0', 80)" when asking Doccano to serve on port 80: what is the issue? Asking Doccano to serve on port 8000 works fine....
Franck Dernoncourt's user avatar
0 votes
2 answers
2k views

What folder contents are okay to delete from sda2 /var folder

We have some 30 + websites hosted on a dedicated server . The Server disk partions are /dev/sda2 and dev/sda3 Dev/sda2 has only 20GB space in it and we are frequently running our of space literally ...
Bashabi's user avatar
  • 155