Questions tagged [server-administration]

139 questions
0
votes
0 answers

What is the recommended way to deal with POST requests with domain.com to www.domain.com redirection set up

I have domain.com to www.domain.com redirection set up, and all the requests to domain.com/ are redirected to www.domain.com/. The problem we face is with POST requests from third party services to domain.com, which during the redirection to…
amit_saxena
  • 7,450
  • 5
  • 49
  • 64
0
votes
1 answer

How to stop sudo access for apt-get install command?

I am using ubuntu server on which some commands like apt-get install needs sudo access so need to stop sudo access for that specific command i.e. while executing that command we don't need sudo access. So how to any solution for this ?
0
votes
1 answer

Glassfish v3 - how to disable stack trace on server side log

I want to disable the stack trace on server side log in Glassfish v3? Is there any option to do it?
0
votes
3 answers

How can I capture the output of remote commands then issue more remote commands?

I am running a script where it login to a server then executes the command "passwd -n 0 -x 99999 -i -1 debug" for removing ageing of the debug user. If the user debug is not present then I want to create the user debug, change the password it, and…
user146847
0
votes
1 answer

How create a remote glassfish server

Hi folks I want to create a remote glassfish server.I mean to say that I want glassfish server on a single machine and its remote client connect to it and use it and compile/develop their code from that server machine because i don't want to install…
khan
  • 2,664
  • 8
  • 38
  • 64
0
votes
1 answer

how to retrieve a list of domains hosted within a server

is there any way how to retrieve a list of domains hosted within a list of servers, f.e. trying to find out how many other domains are hosted on the same server, and sharing common resources. Preferable if this could be used under bash. /Saulius
Saulius S
  • 391
  • 2
  • 4
  • 12
-1
votes
1 answer

how to execute a bash script on remote server while I am connecting to it

I am already connected to a remote server using ssh with running the following command ssh user@ip and connected to that server and I am in that server terminal now. I want to execute a script exist on my loca machine on the remote server while I…
tarek salem
  • 540
  • 1
  • 6
  • 20
-1
votes
1 answer

PostgreSQL server user-admin roles to approve changes to db from a lower-role admin

Server administrative roles for PostgreSQL need to be configured in a way that there are high-level/role admins that will approve/allow all of the changes made to a database by lower-level/role admins. I know there are roles for admins but the…
CodeGust
  • 831
  • 3
  • 15
  • 36
-1
votes
1 answer

Making su non-interactive

I was in need of a script to perform certain actions remotely using python and paramiko. I performed sudo operations in remote machine using 'echo '+password+' | sudo -S '+'cmd_to_be_executed' and tty issue was solved by setting the flag get_pty…
-1
votes
1 answer

Adding Externally Generated Public Key to My Server

I'm trying to allow an external service to analyze project folders on my server. The external service has generated a public key that they have asked me to put on my server to allow them ssh access. It is a trusted source. I have found a host of…
Luke
  • 1,736
  • 2
  • 16
  • 34
-1
votes
1 answer

How to delete a large file on LINUX server? (Load higher than 1.0 forces system into Read-only)

I have created a java application which runs on a LINUX server and prints information to a log file. The application was running fine, however the log file grew quicker than I expected and over a few days it took up all the available space on the…
C.Neal
  • 319
  • 3
  • 12
-1
votes
1 answer

ISPConfig 3, configuring subdomains for one domain

I have a problem with configuring subdomains on ISPConfig 3. I have server with installed Debian, Nginx, PHP-FPM, MySQL and ISPConfig. I have a task to configure ISPConfig in such way: Create single domain for whole server. Create some users Allow…
-1
votes
1 answer

Configure email server and receive email from internet like gmail/hotmailetc

I want to configure own email server. I have windows server 2008 R2 OS (subscribed from one VPS provider). My requirement is as below: 1. Create new email addresses as and when required with @mydomain.com 2. Receive emails on these new Email address…
-1
votes
2 answers

Best methods for developing on/from a cloud server?

I recently landed myself on a project that, like most projects today, relies on multiple relational databases and also, like most projects today, relies on the flexibility and security of cloud computing. I got into cloud services a little over a…
-1
votes
1 answer

Different ways to switch a user on Ubuntu

I have a server running Linux Ubuntu 12.04 LTS. Generally I use a user named ubuntu. Recently I tried to install Storm on this server and I created a dedicated user storm for this purpose. Accidentally because of a typo, I realized something…
Thomas Edison
  • 63
  • 2
  • 8
1 2 3
9
10