Newest Questions

Q&A for system and network administrators

How to immediately (temporarily) install a Windows Server 2012 R2 Foundation and upgrade later to the ROK version? [duplicate]

A friend of mine has to set up a Windows server box and is in a hurry – the server must be running asap. He has successfully ordered a IBM System x3100 M5 with appropriate RAM and HDDs. However, there ...

Configure email for incorrect sudo password

I can't find any information on mail_badpass specified in /etc/sudoers and whether this is configurable. I'd like to make the emails a bit more readable and hopefully add more information in there ...

ASA 8.4 port forwarding (static PAT) without objects

I personally think putting your PATs in the various objects is very ugly. I would like to do it without them. Every guide I see references doing the NAT in objects. I am trying to forward port 80 ...

How to update firmware version of the Dell Server using Redfish

I am accessing the Dell Server and when I checked the firmware version of the server using Redfish, I see it is 2.30.30.30. I would like to update it to 2.40.40.40. How do i do that?

How do I access webserver which is running inside a docker which itself is inside a virtualbox vm? [migrated]

So my set up is a virtualbox ubuntu 16.10 vm which runs on a MAC host. Now inside the vm I have a couple of docker containers among which one runs a nginx webserver. Now I am running the VM on a host ...

Nginx Bad Gateway after altering project structure

I have a django app hosted on AWS and have been cleaning up some aspects of the project structure. One of these cleanups involved removing a parent folder in the root directory and putting my appspec....

`nginx reload` and `nginx -t` very slow - how to investigate

I have a quite small VPS on AWS (EC2 t2.nano) that is running an nginx server. while sometimes a sudo service nginx reload or nginx -t is blazing fast, most of the time it is horribly slow (>60 ...

Nginx and different types of alias

I have the following files on my web server: /var/www/html/--+ | +-misc--+ | | | +-misc1--+ | | ...

Strongswan issue with source IP

I have established a VPN connection between a region in AWS and a datacenter implemented with OpenStack: |---AWS------------------| |-----OpenStack----------| Private IP EIP ...

docker & portainer - use it to create container

I still try to understand some things with docker helped with portainer but i can't find tuto for: 1 - Persistent data: I would like to run Mariadb container with persistent database. So i would like ...

Debian to Windows 10 samba share

This user can't sign in because this account is currently disabled That's the error I get whenever I try to access a samba share hosted on a Debian box from my Windows 10 domain PC. If I make the ...

how to cross mount a network share between containers?

I have two containers. Container A is responsible for mounting a network share at, lets say, /mnt, and share this as a volume. Container B, using --volumes-from, needs to access those files which are ...

Amazon Elastic Beanstalk's latest platform version is outdated

When creating my Elastic Beanstalk application, I selected the latest platform version of Amazon Linux running Ruby (Puma). But, it has an outdated version (compared to the current stable version) of ...

What GPO settings will allow non-admin users to add wireless printer

I've configured GPO settings to allow non-admins users to add printers. The two settings are: Computer Configuration/Policies/Administrative Templates/System/Driver Installation/Allow non-...

Connecting two computers directly using Fiber

At my workplace, we have an electron microscope that is hooked to our storage server using a 10g FC connection. Due to unknown reasons, we are experiencing some issues with the connectivity. As plan ...

Cannot install Perl GD module on CentOS

# cpan install GD ... GD-2.56/lib/GD/Polyline.pm CPAN: YAML loaded ok (v0.90) CPAN: CPAN::Meta::Requirements loaded ok (v2.131) CPAN: Parse::CPAN::Meta loaded ok (v1.4414) CPAN: CPAN::Meta loaded ok (...

HTTPS over third-party SSH tunnel. Is it safe?

I just get a Linux server from a third-party. Then I create a SSH tunnel via SecureCRT: https://www.vandyke.com/support/tips/socksproxy.html , where the Linux server is used as the Gateway Server. ...

How can I ignore a Subversion commit hook?

I'm an administrator for a legacy Subversion implementation. We have a couple of gnarly commit hooks that I need to temporarily ignore (to allow me to fixup some things in the repo). Is there any way ...

Manually specifying routing for an OpenVPN client [on hold]

I've set up an OpenVPN client on Raspbian which is working as expected and services on that machine are tunnelled through the VPN (on interface tun0). Unfortunately the default settings provided ...

Automatically create CloudWatch Alarms for Autoscaling instances

We use some basic CloudWatch alarms on our EC2 instances to perform notification via SNS of high CPU, etc. Is there a good way to automatically apply our standard alarm configuration to new EC2 ...

cpu 100% with tomcat 7 on Debian 8

I'm having an issue with the default configuration of tomcat 7 on Debian 8. Problem: I got the cpu of my server, due to java process, jump to 100% and stay there for hours making the server slow. If ...

How to make example.com/about show example.com/about.html? (Apache2)

What is the best option to go when trying to have example.com/about show example.com/about.html, and without changing the url to /about.html. Right now i'm trying to the following code it just returns ...

Two Option ID 51 in DHCP

I'm using this command: netsh dhcp server \\serverName 10.11.12.3 show optionvalue and am getting back two values for option 51: Changed the current scope context to 10.11.12.3 scope. Options for ...

Procedure/Effects of hot-removing a mirrored vdev disk

I have two-ish questions here based off of a common setup. A quick disclaimer: I am using freenas and have not fully digested ZFS terminology and freenas butchers ZFS terminology in their UI anyway. I'...

SSH Jump Host WITHOUT Agent Forwarding

Although a simple question, I have searched for days without success. M = My machine J = Jump Host S = Server Jump Host has my public key on authorized_keys. Server has J's public key on ...

How to configure Puma for Amazon EC2?

Using Amazon Web Services (AWS), I created an Elastic Beanstalk app with the latest platform version of Amazon Linux running Ruby (Puma). Should I add a Puma configuration file (such as config/puma....

VPN from AWS into Office

I'm trying to build a VPN gateway from my VPC -> into the office network. I've successfully set up a VPN client on one of my EC2 instances (let's name it "gateway") and now it has VPN virtual ...

Reattaching a VHD to its original volume in command line

I'm running Windows Server 2008 R2, and I'm playing around with windows backup. I've created a VHD that's really the network share. My server workstation thinks it's volume t:\ (for test). I initially ...

Looking for a server/proxy that can dynamically route requests to back-end servers depending on client's IP

When a request comes to the proxy/server, depending upon the requester's IP, the request will be routed to a specific back-end. It is a requirement of the system that the proxy needs to get the ...

How to install mediawiki on Drupal subfolder [on hold]

I have Drupal installed on my main site mywebsite. I want to install Mediawiki on a subfolder of Drupal. I have copied the Mediawiki folder in a subfolder called mediawiki. But now when I tried to ...

Emulating a connected router and OpenFlow switch in linux

I need to emulate the following topology in a single Linux machine with one network interface card: network topology here I was wondering how I could do so. I have created an OVS bridge: ovs-vsctl ...

How to exit a SSH connection in a bash script

I've read several posts on here about this topic but every solution I find seems to be a one liner where you run one command. I'm creating a script where I ssh to several different hosts one after a ...

Upstream resolve breaks configuration

I am on Ubuntu 16.04 with the latest NGINX installed from their official repository: $ sudo nginx -v nginx version: nginx/1.11.8 I have the following defined in /etc/nginx/sites-available/greendot....

Apache / Letsencrypt - redirecting to https not working on subdomains

I have a Ubuntu 16.04 VPS. I use Letsencrypt for my ssl certificates, when creating or creating a certificate, they ask if you want easy or secure access. Secure means it will redirect to https no ...

start time in openssl s_client

After running the openssl s_client command to connect to a remote host. The following output was shown on the terminal. Can somebody please help me understand the start time in this log. What does it ...

Wordpress 404 “Not found” errors on all pages except home [on hold]

I have a website on Wordpress. On the local server - everything works fine. On the remote server, I have the "Not found" error on all pages except the homepage. I've checked .htaccess file, ...

Go to network share\folder with Powershell

I'm trying to access a network share in PowerShell 5.1 with elevated permissions executing the following command: gi "\\192.168.1.1\data" I'm recieving the following error: gi : Cannot find path '\\...

Powershell script to find and delete DNS records across multiple zones

We have multiple DNS zones, and what to find static DNS records that no longer respond to pings and delete them. I've written a PS script, but I'm having two problems. 1 - test-connection fails ...

SSH sessions doesn't terminate correctly

I'm having issues with some ssh sessions that doesn't seem to terminate properly. To make things even worse, the customer whos sessions is getting "stuck", well, they seem to have some kind of ...

Server Side Includes not working on Ubuntu/Apache 2.4.16

I ran a2enmod include, restarted Apache, made sure I have SetOutputFilter INCLUDES DefaultType text/html AddType text/html .shtml AddHandler server-parsed .shtml AddHandler server-parsed .html ...

Strange disc full error on Ubuntu - reboot clears the disc?

Every now and then, my Ubuntu server running PHP+mySQL server slows down until ultimately hangs, possibly because the disc is full. Here is what it shows right now: root@Ubuntu-1204-precise-64-...

are there rpms for drbd9 on centos7 available? [on hold]

I would like to play around with drbd 9 on centos 7 but I can't find any precompiled packages and I would like to avoid compiling from source. Does anyone know a repo where I can get drbd9 including ...

Manually set needs_recovery flag in ext4 filesystem to True

I am trying to setup some unit tests for an application, and one thing I need is a 'dirty' ext4 filesystem that can be tested against. Is there a way I can manually set the 'needs_recovery' flag?

Netvault 10.0.5 - list files in a specific saveset

Does anyone know if it's possible to view the list of files in a specific saveset in Netvault 10.0.5? When I create a restore job with that saveset, it presents a full snapshot of all the files I can ...

how to use aesni in openvpn and ipsec (strongswan)

I'm trying out different VPN technologies. I successfully created openvpn and ipsec connections to my server, and now I'm trying to use aesni (or AES-NI) to see how much impact it will have on the ...

LTO 5 duplication to an LTO 3

I am wanting to upgrade my virtual drives and virtual tapes to LTO5. My physical drives and tapes are LTO3. Will I still be able to run a DUPTAP and copy my information from the Virtual LTO5 drive ...

How could a CentOS 7.2 system return a response to $ yum list, but not to yum install?

I found a system with a peculiar problem. It has no repositories enabled, but still responds to $ yum search. I've asked around, and read a good bit of the documentation (e.g. https://www.ibm.com/...

Protect URL from non-authenticated users without login prompt?

I'm trying to protect a web application (a Kibana dashboard) which has no built-in user authentication process. I would like to protect this web application so that only users who are logged into our ...

nginx subdirectory as root along with other folders

The root (http://www.example.com/) will point to /var/www/wordpress How can I allow each one to be viewable in browser? working -- http://www.example.com error -- http://www.example.com/wordpress2 ...

Connection refused when trying to configure Chef Server 12 on RedHat 7

I am trying to set up a Chef Client on a VM to be configured to communicate with my Chef Server. The OS of both servers is RHEL 7.3. I run this command from a server I want to be a chef-client: ...
15 30 50 per page
Translating... 0%