Most Popular
1500 questions
57
votes
4 answers
Configuring Systemd Service to run with root access
I have a service in the form of a node.js application set up with Systemd on Raspbian Jessie and it is using its own user account. However, I am finding that the service does not run correctly because it does not have the necessary permissions. One…
Luke
- 617
57
votes
5 answers
Should I edit /etc/crontab or run crontab -e as root?
I'm setting up regular system maintenance tasks which have to run as root. I plan to use the flavour of cron which comes with Ubuntu 14.04 LTS as the default.
I see the previous admin (who since left the company) edited /etc/crontab directly.…
marcv81
- 682
57
votes
2 answers
Lets Encrypt with an nginx reverse proxy
Introduction
I have a dev server (currently running Ubuntu 14.04 LTS), which I have been using for a while now for hosting various development tools on different ports. Because the ports can be hard to remember I have decided to to use port 80 for…
0x450
- 673
57
votes
10 answers
How to use DNS/Hostnames or Other ways to resolve to a specific IP:Port
This is a Canonical Question about DNS/Hostnames resolution to IPs/Ports
Example 1
I'm running a web server on port 80 and another on port 87. I would like to use DNS so that www.example.com goes to port 87. How can I accomplish this using DNS…
Tom Smykowski
- 1,135
57
votes
2 answers
Convert value of an Ansible variable from lower case to upper case
I am working on a playbook to join linux systems to Active Directory.
I can't seem to find a way to convert the value of ansible_hostname to uppercase. One of the commands I need to run requires the hostname to be supplied in uppercase.
grahamjgreen
- 1,021
57
votes
3 answers
Is it valid for a hostname to start with a digit?
Is it valid for a hostname to start with a digit? e.g. 8server
From reading RFC 1123 it would appear that this is a valid hostname. However, I'm not clear on whether a hostname can only start with a digit when there is a suffix e.g. 8server.com
The…
Mark
- 1,371
57
votes
6 answers
What is the recommended CIDR when creating VPC on AWS?
I have been creating AWS VPCs and I am wondering if there is a recommended CIDR value when creating VPCs. What are the factors that I must consider when choosing a CIDR and does the CIDR value affect the performance of the network?
Gene Diaz
- 727
57
votes
5 answers
What's the difference between Windows Server 2008, 2008 SP2 and 2008 R2?
What are the major differences between Windows Server 2008, 2008 SP2 and 2008 R2?
Are the code bases for these OSes different?
If I'm developing applications for any one of these three, should I be worried that it might not work on the other two?
Samrat Patil
- 703
57
votes
4 answers
Relationship between Vagrant, Docker, Chef and OpenStack (or similar products)?
I am a web developer, but I am also interested in a few administrative tasks. Hence, the new move from pure administration to dev-ops comes handy for me.
Anyway, I have some problems to put a few things into a relationship. Maybe there isn't any, so…
Golo Roden
- 781
57
votes
2 answers
vSphere education - What are the downsides of configuring VMs with *too* much RAM?
VMware memory management seems to be a tricky balancing act. With cluster RAM, Resource Pools, VMware's management techniques (TPS, ballooning, host swapping), in-guest RAM utilization, swapping, reservations, shares and limits, there are a lot of…
ewwhite
- 201,205
57
votes
3 answers
Do I need to restart my server after editing fstab and mtab?
I'm just wondering if I need to restart my server after editing fstab and mtab. I changed something in this file manually due to problem with awstats report.
I am using ISPConfig 3 with the help of the tutorial from howtoforge. But due to…
jaypabs
- 873
57
votes
6 answers
Windows 7: "localhost name resolution is handled within DNS itself". Why?
After 18 years of hosts files on Windows, I was surprised to see this in Windows 7 build 7100:
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
Does anyone know why this change was introduced? I'm…
Portman
- 5,289
57
votes
11 answers
Unable to install .net 3.5 on Windows server 2012
I am trying to install .Net 3.5 on Windows Server 2012 and it constantly keeps failing. I am using "Add or Remove Features" and my Internet is already there. I've read that if alternate source couldn't be found, the installer tries to download…
Tim Tom
- 681
57
votes
3 answers
Why is it not possible to use two remotes for rsync?
Note to serverfault users:
This closed question is answered here by four comments by hynekcer. It is then well accepted in other comments as a regularly answerable question. It's now being voted for re-opening.
When both source and destination are…
loopbackbee
- 1,435
57
votes
6 answers
Linux CPU usage and Process Execution History
Is there any way to see what process(es) caused the most CPU usage?
I have AMAZON EC2 Linux which CPU utilization reaches 100 percent and make me to reboot the system. I cannot even login through SSH (Using putty).
Is there any way to see what…
pmoubed
- 683
- 1
- 6
- 5