Questions tagged [server-administration]

139 questions
3
votes
1 answer

Firebird 2.5.1 List databases in use by the server (superserver mode)

I want to write a C++ administrative app to simplify management of DBs I am in charge of. Currently, when I want to tell if there are users connected to multiple Firebird databases operated by 2 different instances of it, I have to connect to every…
Kitet
  • 855
  • 1
  • 10
  • 20
2
votes
2 answers

Should I use another user than the root when installing NGiNX

I herd that it would be better to use a sub-user for installing NGiNX. Is it true? I am thinking to use NGiNX to install virtual-host that my clients could use for there website and I don't want them to have to much control over NGiNX... I am using…
jnbdz
  • 4,863
  • 9
  • 51
  • 93
2
votes
1 answer

Simple Powershell questions (Creating a local ID and adding local administrator group plus some checks)

Slightly new to powershell and looking for some guidance. I'm trying to create a simple script to accomplish the following: Check if a local ID already exists on a list of servers If not, create one and add to local administrator group across the…
junioreee
  • 23
  • 3
2
votes
2 answers

How to change the server time zone without affecting already inserted data?

I have a PHP project with Mysql database. The problem is the time related data is showing wrong according to my requirements. I want the timezone should be set to "Time Zone Port louis,Mauritius GMT+04:00". How to update the timezone so that every…
Aravind
  • 424
  • 3
  • 19
2
votes
1 answer

How does IIS identify which site is requested?

If I'm hosting multiple sites on a server, and a dns server resolves the different domainnames to the same address, (which is the server's name), how does IIS know eventually which site is requested? So a client types the address of my 1. site ->…
Szesan
  • 82
  • 1
  • 7
2
votes
2 answers

How do I get grep to search for any number I put in the variable?

So at the beginning of my script, I am defining "threshold," which has a number that isn't going to exist in the next part, (2) and a number that will exist in the next part (6). I'm having the result of running df -h to a file called dffile. My…
Blake Smreker
  • 117
  • 1
  • 5
2
votes
1 answer

How to disable/enable a PHP module with phpdismod?

I want to be able to turn on/off Xdebug a simple and fast way. To disable it I tried out phpdismod, but only results in a warning: $ phpdismod xdebug WARNING: Module xdebug ini file doesn't exist under /etc/php/7.0/mods-available WARNING: Module…
automatix
  • 14,018
  • 26
  • 105
  • 230
2
votes
1 answer

Powershell get-service status not working as scheduled task

I'm running this code below as a function to iterate through a list of servers to check if services are running. This works when run manually. When run from a scheduled task the code $arrService.Status translates to the service name. I even tried…
pretzelb
  • 1,131
  • 2
  • 16
  • 38
2
votes
2 answers

How to change Owner and group name of folder using php?

I am using Filezilla for accessing my website files.But some files/folders permissions are not allowing to change in FTP.because their owner and group name is different (i.e apache/apache).So I want to change it from apache/apache to xyz/abc.Any…
Ashish
  • 174
  • 2
  • 13
2
votes
1 answer

Redirect Request to parent directory using .htaccess?

Suppose the user request for the content such as image in www.example.com/content/img/one.jpg. If the one.jpg is in the directory img then the image is served. But if the one.jpg is not present then user is redirected one directory up to…
Ganesh Pandey
  • 5,216
  • 1
  • 33
  • 39
2
votes
1 answer

Nginx : ioctl(FIONBIO) worker_socket bind failed

I have setup Nginx in my local Lab environment for rtmp testing. initially, I was working fine. But all of sudden its stopped working . I don't know why. After searching the logs, I found this error message. Can anyone help me on Debug Error…
KMG
  • 889
  • 2
  • 14
  • 36
2
votes
1 answer

Improve Nginx Server Response Time

I'm currently running an Ubuntu 12.04LTS with nginx handing out requests. I ran my site through google page speed (https://developers.google.com/speed/pagespeed/insights) and the main tip it had was to Improve server response time, but it doesn't…
Jeremy Spencer
  • 250
  • 1
  • 6
  • 15
2
votes
1 answer

In MSSQL Server 2008 and later, any major differences between "sp_addlinkedserver" and using registered servers?

I am looking to create a SQL view which uses data from multiple servers. All of these are MS SQL Server 2008 and later From my understanding, there are two ways to go about in gaining access to the other servers: Using the stored procedure…
2
votes
1 answer

Advantage 8.1 vs 7.1

I am in the process of upgrading a few in-house applications from ADS 7.1 to 8.1. I was told a while back that there are changes in return values of the AVG() function as well as some division calculations, but I cannot find any documentation on…
KOGI
  • 3,959
  • 2
  • 24
  • 36
1
vote
1 answer

What is the best way to setup and secure a share hosting service with NGiNX?

I am planning to create a share hosting server that I will use for my clients with NGiNX server. I was wandering if anyone had any pointers to help me get started. And how I can secure de different accounts so no one can hack anyones other accounts?
jnbdz
  • 4,863
  • 9
  • 51
  • 93
1
2
3
9 10