deployment

What's the best way to deploy an executable process on a web server?

扶醉桌前 提交于 2019-12-20 09:45:15
问题 The original question: The title of this question might be a bit clumsily phrased, but here's the situation: I have a .NET web project deployed on my server. It's still in beta, so there's a lot of releasing and re-releasing happening. I have also written a C# executable in the same VS solution (call it "admin.exe") that runs in the background on the server, periodically performing certain business rule integrity checks and making appropriate insertions to a warning table in the DB. Question

Jboss 7 war deployment failed

假装没事ソ 提交于 2019-12-20 09:23:32
问题 Jboss 7 war deployment failed and i got the below error message in the log. ERROR [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015052: Did not receive a response to the deployment operation within the allowed timeout period [60 seconds]. Check the server configuration file and the server logs to find more about the status of the deployment I tried restarting the JBoss server, I have never seen this before, it was working fine before. I googled around for

Passing parameters to Capistrano

↘锁芯ラ 提交于 2019-12-20 08:57:06
问题 I'm looking into the possibility of using Capistrano as a generic deploy solution. By "generic", I mean not-rails. I'm not happy with the quality of the documentation I'm finding, though, granted, I'm not looking at the ones that presume you are deploying rails. So I'll just try to hack up something based on a few examples, but there are a couple of problems I'm facing right from the start. My problem is that cap deploy doesn't have enough information to do anything. Importantly, it is

Breaking MsBuild package & deploy into separate MsBuild and MsDeploy commands

心不动则不痛 提交于 2019-12-20 08:46:53
问题 I'm having a few problems breaking out an MsBuild package+deploy command into two separate commands. (I need to do this to pass additional parameters to MsDeploy). The command that works fine looks like this: msbuild "src\Solution.sln" /P:Configuration=Deploy-Staging /P:DeployOnBuild=True /P:DeployTarget=MSDeployPublish /P:MsDeployServiceUrl=https://192.168.0.1:8172/MsDeploy.axd /P:DeployIISAppPath=staging.website.com /P:AllowUntrustedCertificate=True /P:MSDeployPublishMethod=WmSvc /P

What is your favorite web app deployment workflow with SVN?

本小妞迷上赌 提交于 2019-12-20 08:46:10
问题 We are currently using a somewhat complicated deployment setup that involves a remote SVN server, 3 SVN branches for DEV, STAGE, and PROD, promoting code between them through patches, etc. I wonder what do you use for deployment in a small dev team situation? 回答1: trunk for development, and a branch (production) for the production stuff. On my local machine, I have a VirtualHost that points to the trunk branch, to test my changes. Any commit to trunk triggers a commit hook that does an svn

Pointing a domain to my remote Node JS application?

自作多情 提交于 2019-12-20 08:46:10
问题 I'm trying to work out how exactly to deploy Node JS on my Ubuntu 10.04 LTS server. I've read many different blogs and articles that explain multiple different ways. Most seem out of date, or don't really work it seems. It seems that the simplest solution is to use something like Forever? ...or Upstart with Monit or Supervisor. Is that correct? One thing that I still don't understand though is without using something like Ngnix, how would I actually get my domain name (such as example.com) to

Deploy Create-React-App on Nginx

一世执手 提交于 2019-12-20 08:40:44
问题 I'm attempting to deploy my create-react-app SPA on a Digital Ocean droplet with Ubuntu 14.04 and Nginx. Per the static server deployment instructions, I can get it working when I run serve -s build -p 4000 , but the app comes down as soon as I close the terminal. It is not clear to me from the create-react-app repo readme how to keep it running forever, similar to something like forever. Without running serve , I get Nginx's 502 Bad Gateway error. Nginx Conf server { listen 80; server_name

Restart nginx without sudo?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-20 08:39:21
问题 So I want to be able to cap:deploy without having to type any passwords. I have setup all private keys so I can get to the remote servers fine, and am now using svn over ssh, so no passwords there. I have one last problem, I need to be able to restart nginx. Right now I have sudo /etc/init.d/nginx reload. That is a problem b/c it uses the capistrano password, the one I just removed b/c I am using keys. Any ideas on how to restart nginx w\out a password? 回答1: I just spent a good hour looking

Seamless deployment in ASP.NET (IIS kills worker process before new worker process is ready)

最后都变了- 提交于 2019-12-20 08:30:20
问题 I am trying to deploy a .NET Web application to IIS (7.5) without any hassle for the users. I have made sure that Disable Overlapped Recycle is False but i still run into the same problem every time. Every time I upload new binaries for the site, IIS kills the worker process before it has started a new one. So every time I upload new binaries users get this error message: Server Error in '/' Application. Could not load file or assembly 'MyApplicationWeb' or one of its dependencies. The

Why does Azure deployment take so long?

风流意气都作罢 提交于 2019-12-20 08:12:50
问题 I'm trying to understand why it can take from 20-60min to deploy a small application to Azure (using the configuration/package upload method, not from within VS). I've read through this situation and this one but I'm still a little unclear - is there a weird non-technology ritual that occurs while the instances are distributing, like somebody over at Microsoft lighting a candle or doing a dance? 回答1: As a fellow Azure user, I share your pain - deploying isn't "quick"/"painless" - and this