deployment

How would you compare IIS & Cassini as production servers?

删除回忆录丶 提交于 2019-12-21 22:18:26
问题 I have an ASP.NET website which is running currently on IIS. Now I want to move that site to run on Cassini. What are the advantages of Cassini over IIS? What are its disadvantages? What are your experiences using Cassini as a production web-server? 回答1: I would say you are better off, going with something proven to handle scaling, like mod_mono on apache if you are looking for alternative servers. The integrated pipeline, routing, compression and caching features of iis are hard to replicate

kubernetes Deployment. how to change container environment variables for rolling updates?

巧了我就是萌 提交于 2019-12-21 21:28:32
问题 Below is how I am using kunbernetes on google. I have one node application let's say Book-portal . node app is using environment variables for configurations . Step1: I created docker file and pushed gcr.io/<project-id>/book-portal:v1 Step2: deployed with following commands kubectl run book-portal --image=gcr.io/<project-id>/book-portal:v1 --port=5555 --env ENV_VAR_KEY1=value1 --env ENV_VAR_KEY2=value2 --env ENV_VAR_KEY3=value3 Step3: kubectl expose deployment book-portal --type="LoadBalancer

Java Web Start - ClassNotFoundException when running

情到浓时终转凉″ 提交于 2019-12-21 21:17:50
问题 I am now trying to deploy a Java application with Java Web Start. The application works fine when running standalone. I exported the project as a runnable .jar file, and then wrote the corresponding jnlp file. However, when running from the jnlp file, the application returns the following error when starting up: Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: someClass ........ Caused by: java.lang.ClassNotFoundException: someClass ......... I exported the .jar file

Deploy to multiple instances

女生的网名这么多〃 提交于 2019-12-21 20:36:16
问题 I have been looking at a couple of systems (Phing, ControlTier) and have also read all relevant questions on this site however I'm not sure I have found the best solution for my requirements. I have a PHP website which is essentially a codebase for a price comparison shopping site. This is then deployed to many different servers, each of which has their own theme and database according to the products sold. When changes or bugfixes are made to the code base, this then needs pushing out to

Deploy to multiple instances

﹥>﹥吖頭↗ 提交于 2019-12-21 20:36:07
问题 I have been looking at a couple of systems (Phing, ControlTier) and have also read all relevant questions on this site however I'm not sure I have found the best solution for my requirements. I have a PHP website which is essentially a codebase for a price comparison shopping site. This is then deployed to many different servers, each of which has their own theme and database according to the products sold. When changes or bugfixes are made to the code base, this then needs pushing out to

How to setup a server for deployment and to do a cold deploy with Capistrano?

百般思念 提交于 2019-12-21 20:22:00
问题 What is the proper way to deploy:setup and to do a cold deploy with Capistrano? Using this deploy.rb Capistrano v2.14.2 Vagrant to virtualize my server, this is my scenario: when running deploy:setup , Capistrano makes use of root privileges to prepare the directory structure for deployment: $ cap deploy:setup * 2013-02-28 14:50:21 executing `deploy:setup' * executing "sudo -p 'sudo password: ' mkdir -p /home/vagrant/example /home/vagrant/example/releases /home/vagrant/example/shared /home

Run play scala application with pm2

旧城冷巷雨未停 提交于 2019-12-21 20:05:40
问题 We have been deploying Play/Scala application on our UNIX server by just running the executable, something like java_opts="-Xms128M -Xmx512M" ./bin/myProject -Dconfig.file=/path/to/my/confFile.conf -Dhttp.port=9022 & and it works fine. However, for my NodeJS applications I use pm2 and I really appreciate its ease of use as well as monitoring options and hence would like to use it for the other apps too. This thread claims it is possible to run JARs. Any idea on how to adapt the conf (see

How to force jboss to load classes from jars in webapp's lib

*爱你&永不变心* 提交于 2019-12-21 19:43:33
问题 I am trying to deploy my web application on jboss-6.0.0Final , which is currently deployed on apache tomcat . I have two jars one that contains same package which is org.apache.axis . I am putting one jar in <Jboss-home>/server/default/lib & another jar in <my-app-war>WEB-INF/lib . It is required to put both jars in the class path. No way to remove one of the jar. So I need to keep both jars. & It is giving me following error java.lang.ClassCastException: org.apache.axis.attachments

Deploy ASP.NET app to remote server

隐身守侯 提交于 2019-12-21 17:46:49
问题 I am looking for a solution to deploy ASP.NET application from SVN in one server to other remote web server. FTP is not allowed. Other tasks than file copy should be done - e.g. create virtual directory. Which tools would you use? Remote server could have MSBuild or NAnt installed but how to securely copy files from SVN server to web server? Maybe SSH? Are there any alternatives? Is it possible to have an atomic operation on file copy? I do not think that Continuous Integration servers would

Deploying Multiple Web Roles and Worker Roles on a Single Azure Cloud Service

旧时模样 提交于 2019-12-21 17:42:51
问题 This may not be new, but I hope some one can put me on right track as its bit confusing during azure deployment. I'm in the process of planning for deployment on Azure. This is what I have A Public facing ASP.Net MVC app (web-role) + WCF Service (web-role) to be accessible only to this asp.net app + WCF Service (worker-role) again accessible to 1. over message-queue An Custom STS i.e. ASP.NET MVC app (web-role) acting as Id-Provider (for 1. which is a Relying Party) + WCF Service (web-role)