deployment

Collect all rpm dependencies to deploy a project

做~自己de王妃 提交于 2019-12-12 03:48:46
问题 I need to deploy a software project (packaged as an rpm) from a developer machine into a server. I'm using Fedora 23, along with the dnf package manager. I have to collect all dependencies of my rpm before I deploy to the server. The server can't be connected to the internet due to internal regulation (But I can ssh onto it). Running repository mirrors, etc. is not an option. I'm afraid I just have to collect all dependencies on the developer machine, scp (or ansible) them to the server and

laravel install on bluehost - 500 error despite multiple methods of install

妖精的绣舞 提交于 2019-12-12 03:32:46
问题 So I have tried this method here: official laravel news blog That didn't work. And I don't even think that method is complete based on further research I have done. Based on that research, I have also in addition to changing the index.php file in the public directory attempted to work with .htaccess, updated the server.php, and changed file permissions for the storage folder to 777 (read write and ex) Still no luck. 500 server errors. I have ssh access to the server, and have composer working

Import database with SSDT programmatically

偶尔善良 提交于 2019-12-12 03:26:19
问题 I have a situation where I need to copy everything out of a database (except data) and deploy it to a new database. I am currently doing this by importing from the existing database into SSDT and then publish the project to the new database. I want to know if there is a way I can do this programmatically. Ideally I would like to have a process in place where I can give the process the name of the database to copy from, the name of the database to copy to, and then the process would just

Publish ASP.NET web site from command-line bat file, the ultimate .bat file

天涯浪子 提交于 2019-12-12 03:22:53
问题 There are a number of questions here on SO about how to publish ASP.NET web site from command-line (including my own here), but none of them get me to the solution I want: Single output folder as I specified Applied Web.config transformations I'm getting close to something that works for me, but there are still a couple of issues. Here is what I have so far: SET TEMP_PATH=c:\_MyProject\ SET DEST_PATH=%TEMP_PATH%_Output\ SET CSPROJ_PATH=.\MyProject\MyProject.csproj SET CONFIGURATION=Release

ASP.NET Application Deployment Question

谁说胖子不能爱 提交于 2019-12-12 03:21:19
问题 I'm creating an asp.net application/plug-in to run on a asp.net website/e-commerce solution. I want to make deployment easy for the user so that all they have to do is double click on an icon and all of my apps files will be placed into the proper folders on their asp.net website and all the necessary third-party files, like Microsoft's Visual Fox Pro 9 dll, will be installed. Is there a good tutorial or reference I can view to learn how to handle these deployment issues and are they even

Using Laravel, SMTP Mail not Working in Live Server

天大地大妈咪最大 提交于 2019-12-12 03:19:52
问题 My configuration works fine on Localhost. The email go through successful. But when I deploy it on the live server Laravel gives me the following error: Whoops, looks like something went wrong. in my laravel/app/config/mail.php <?php return array( /* |-------------------------------------------------------------------------- | Mail Driver |-------------------------------------------------------------------------- | | Laravel supports both SMTP and PHP's "mail" function as drivers for the |

n-cpu failure after running ./stack.sh

本小妞迷上赌 提交于 2019-12-12 03:19:20
问题 Error while running ./stack.sh after inserting my vCentre details in the localrc file for getting the list of VM from my vCentre Server onto Openstack Log: 2016-08-01 07:20:14.416 | +functions-common:service_check:1633 local service 2016-08-01 07:20:14.422 | +functions-common:service_check:1634 local failures 2016-08-01 07:20:14.428 | +functions-common:service_check:1635 SCREEN_NAME=stack 2016-08-01 07:20:14.434 | +functions-common:service_check:1636 SERVICE_DIR=/opt/stack/status 2016-08-01

Why does bash loop deploy script only seem to work once?

ⅰ亾dé卋堺 提交于 2019-12-12 03:16:09
问题 I have a few simple scripts that are intended to daisy chain together to run a specific script on a set of servers all listed out in a file, one per line. The single server deploy script contains the following: 1 #!/bin/bash 2 3 file=$1 4 host=$2 5 6 scp ${file} ${host}:/tmp/ 7 USER=`whoami` 8 ssh -t -t $USER@${host} /tmp/${file} 9 10 ssh "${host}" /bin/rm /tmp/${file} 11 exit It works fine on a script I have that yum installs tomcat and symlinks hadoop/hbase configs to the shared class

TFS 2015 machine groups cannot be selected in build/deployment definition (vnext) after creation

不羁岁月 提交于 2019-12-12 02:54:11
问题 We have a problem with a TFS 2015 installation, an upgrade from 2010. We ran into the following issue. This concerns a dry run, so we install everything on the same server, which is not a prefered method, we know. • Installed new virtual server with Windows Server 2012 R2 • Added IIS feature • Installed SQL server 2014 • Installed sharepoint foundation 2013 on the server • Installed visual studio 2015 on the server • Installed all the necessary .NET target frameworks • Installed the

git hook post-receive not working

萝らか妹 提交于 2019-12-12 02:32:23
问题 I trying to deploy some PHP code to the server with Git. I am using a GoDaddy server. I have created the bare repository. In the hooks folder, I created a post-receive file and wrote the following code in it. #!/bin/sh GIT_WORK_TREE=/home/domain/public_html/website git checkout -f I want the git repo to move the source code that I have just pushed to the website directory in public_html . I changed the permission to 0775 . However, my website directory still remains empty. What should I do?