server-administration

Is it possible to run multiple command with remote command option in putty?

我是研究僧i 提交于 2020-06-13 09:18:59
问题 I want to run multiple commands automatically like sudo bash, ssh server01, ls , cd /tmp etc at server login.. I am using Remote command option under SSH in putty. I tried multiple commands with delimiter && but not working. 回答1: There is a some information lacking in your question. You say you want to run sudo bash , then ssh server01 . Will sudo prompt for a password in your remote server? Assuming there is no password in sudo, running bash will open another shell waiting for user input.

Is it possible to run multiple command with remote command option in putty?

瘦欲@ 提交于 2020-06-13 09:18:39
问题 I want to run multiple commands automatically like sudo bash, ssh server01, ls , cd /tmp etc at server login.. I am using Remote command option under SSH in putty. I tried multiple commands with delimiter && but not working. 回答1: There is a some information lacking in your question. You say you want to run sudo bash , then ssh server01 . Will sudo prompt for a password in your remote server? Assuming there is no password in sudo, running bash will open another shell waiting for user input.

Is it possible to run multiple command with remote command option in putty?

安稳与你 提交于 2020-06-13 09:18:33
问题 I want to run multiple commands automatically like sudo bash, ssh server01, ls , cd /tmp etc at server login.. I am using Remote command option under SSH in putty. I tried multiple commands with delimiter && but not working. 回答1: There is a some information lacking in your question. You say you want to run sudo bash , then ssh server01 . Will sudo prompt for a password in your remote server? Assuming there is no password in sudo, running bash will open another shell waiting for user input.

How to disable/enable a PHP module with phpdismod?

风流意气都作罢 提交于 2020-01-05 04:09:15
问题 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 xdebug ini file doesn't exist under /etc/php/7.0/mods-available How to get a PHP module disabled/enabled with phpdismod ? Environment: Ubuntu 14.04, nginx 1.4.6, PHP 7.0 FPM. $ ls -l /etc/php/mods-available/ | grep "xdebug" -rw-r--r-- 1 root root 743

Moving Vobs between Win and AIX

我的梦境 提交于 2019-12-23 02:52:25
问题 Prior to upgrading UCM from 7.1.2.6 to 8.x we need to amalgamate the vobs on a windows server to a common vob sever on aix. However it appears we have a bit of a Siamese twin set up that from the Windows Region I can already see both sets of VOBS. When checking, The existing vobs on AIX and Windows share a common ADMIN PVOB (aix). In Project Explorer Both sets of vobs share a common PVOB and both sets of components are visible together. I am therefore wondering to move the VOBS ( .vbs ) from

wsadmin + jython restart WAS appserver

两盒软妹~` 提交于 2019-12-06 02:26:10
问题 Is it possible to stop/start WAS appserver using wsadmin (jacl/jython). I want to detele all caches on profile and then restart WAS appserver. I'm using wsadmin as standalone. 回答1: From wsadmin you may issue a command (using Jython): AdminControl.invoke(AdminControl.queryNames('WebSphere:*,type=Server,node=%s,process=%s' % ('YourNodeName', 'YourServerName')), 'restart') works with WAS Base & ND. With ND you have another option: AdminControl.invoke(AdminControl.queryNames('WebSphere:*,type

Nginx 502 Bad Gateway error ONLY in Firefox

你离开我真会死。 提交于 2019-12-04 11:06:47
问题 I am running a website locally, all the traffic is routed through NGinx which then dispatches requests to PHP pages to Apache and serves static files. Works perfectly in Chrome, Safari, IE, etc. However, whenever I open the website in Firefox I get the following error: 502 Bad Gateway nginx/0.7.65 If I clear out cache and cookies, and then restart FireFox, I am able to load the site once or twice before the error returns. I've tried both Firefox 3.6 and 3.5 and both have the same problem.

Should all sites use SSL by default?

倾然丶 夕夏残阳落幕 提交于 2019-12-03 03:34:02
问题 We are in the process of moving our web architecture to a new environment. Included are dozens of different sites ranging from almost completely static to dynamic sites requiring authentication and containing sensitive content. Our web server admins have (without any input from the development team) decided to make it a standard in the new environment to force SSL for everything. I do not agree with this decision and would like to have as much knowledge as possible when I sit down to discuss

How do I keep my Django server running even after I close my ssh session?

旧巷老猫 提交于 2019-12-03 02:01:58
问题 I figured out how to run my Django application via sudo python /home/david/myproject/manage.py runserver 68.164.125.221:80 . However, after I quit terminal, the server stops running. I tried to run this process in the background, but the server just shuts down quickly after I execute sudo python /home/david/myproject/manage.py runserver 68.164.125.221:80 & . How do I keep my Django application running even after I quit my ssh session in terminal? PS - Sorry if this question strikes you as

Should all sites use SSL by default?

时光怂恿深爱的人放手 提交于 2019-12-02 17:01:13
We are in the process of moving our web architecture to a new environment. Included are dozens of different sites ranging from almost completely static to dynamic sites requiring authentication and containing sensitive content. Our web server admins have (without any input from the development team) decided to make it a standard in the new environment to force SSL for everything. I do not agree with this decision and would like to have as much knowledge as possible when I sit down to discuss it. Here's what I have so far: For each site, an SSL certificate has a direct cost. We have a dev, qa,