Questions tagged [startupscript]

158 questions
1
vote
0 answers

How to inject an SSH key into Google Compute Engine throughout startup script

I am currently struggling on the fact to generate an instance and directly run some code regarding Google Compute Engine. The main issue I have is that it works with a public repo ut if I want to clone a private repo, it doesn't work anymore... I…
Emixam23
  • 3,854
  • 8
  • 50
  • 107
1
vote
2 answers

how to fix startup script for aws ec2, to display hello world, other meta data from 169.254.169.254

I am setting up new EC2 instances, and I want to be able to see hello world, the AZ and the IP address displayed. It only shows the apache start page. I have preloaded the code listed below in the user startup section of EC2, in the advanced…
1
vote
0 answers

How to get a script to run at startup that contains a tkinter window

I need a python script to run at startup so that when the Raspberry Pi powers up a script starts. The script has a Tk window and canvas with a background image that fills a 16:9 display. There are shapes drawn on the canvas over the backgroound. I…
KenS
  • 31
  • 4
1
vote
1 answer

windows - synchronous startup script custom message

On windows machine i have configured a GPO so that all startup scripts need to finish before login prompt appears. During this time you can see "Applying computer settings" and a loading icon. My question is: Can the text be modified during this…
Marvelcz
  • 33
  • 4
1
vote
1 answer

Save a file in a startup-script on Google Cloud Platform when launching a compute engine

I have a startup-script that works well when I launch a compute engine on google cloud. Nevertheless it doesn't seem to execute the following command. echo ${path} > ~/pd.txt Actually I can't retrieve my file when I look for it at the indicated…
1
vote
0 answers

import tensorflow fails on GCP instance when using a STARTUP SCRIPT

My startup script for GCP GPU instance installs cuda + cudnn + tensorflow-gpu and is coded as below : ## 1. Steps to install CUDA ## ## 2. steps to setup cudnn ## ## 3. set PATH & LD_LIBRARY_PATH variables echo 'export…
Akash Goyal
  • 1,273
  • 10
  • 15
1
vote
1 answer

GCP Compute Engine WS 2012. Startup script dont run my .exe file after boot

My GCP Compute Engine instance running WS 2012 does not execute an executable command while using using a startup script. Summary of steps followed: I created a Compute Engine instance with WS 2012. Set Metadata keys…
1
vote
2 answers

Enabled UFW and now i can't connect to SSH

I have an Ubuntu server on google compute engine that i have allowed ufw on but forgot to allow port 22 for ssh connections and now I cannot access it Any idea how can I reverse that? I also tried to connect using google serial console but i…
1
vote
0 answers

GCE instance startup script error handling

On GCE platform I have a Managed Instance Group for which a template is assigned. The template has a startup script (bash) that pulls the latest code from a git repo and installs a few requirements. Occasionally the startup script fails to update…
odedfos
  • 4,491
  • 3
  • 30
  • 42
1
vote
2 answers

Startup program and libocci.so.11.1: cannot open shared object file: No such file or directory

please any one save my time .my application is written in c++ I was try to startup on boot in ubuntu linux,but when the program try to start it log error like:- error while loading shared libraries: libocci.so.11.1: cannot open shared object file:…
Sisay Zinabu
  • 71
  • 2
  • 14
1
vote
0 answers

Execute default command on tilda terminal startup

I'm using expressvpn and they offer a terminal command expressvpn connect to connect to the latest vpn. Sometimes i forget to execute the command on startup and i'd like it to be automatically executed in tilda. Tilda is a dropdown terminal for…
Raggamuffin
  • 699
  • 1
  • 6
  • 19
1
vote
4 answers

how to set mogodb in upstart service with authentication

I have created a superuser tom in mongodb v2.6.11 with username & password and now i want to add this at ubuntu startup service on searching came to know that i have to edit below file this is how my /etc/init/mongod.conf looks pre-start script …
Mr punch
  • 1,756
  • 4
  • 16
  • 23
1
vote
3 answers

Excel: re-open most recently closed workbooks on next startup

I commonly work multiple workbooks simultaneously (5, 6, 7+) and this usually deters me from restarting my computer b/c I don't feel like going through the hassle of saving, closing and then re-opening the workbooks I was recently working on. I'm…
John K
  • 23
  • 1
  • 6
1
vote
1 answer

Autostart noip2 on Buffallo NAS (Optware)

I'm a novice with linux or any command line, but I've managed to gain root access to my Buffalo Terastation (TS-HTGL/R5) and install noip & mediatomb. The problem I have is that I can't get noip2 to automatically start, but I figured out what to do…
Blease
  • 1,380
  • 4
  • 38
  • 64
1
vote
1 answer

Firefox Webdriver Selenium "No protocol specified" , Debian(Wheezy) , Service , Script

i have got a problem with my executable jar on my cubietruck running on cubian. I want to start the jar when the cubietruck starts. The Jar itselfs uses selenium-server-standalone-2.43.1.jar to control firefox. For starting my jar i created a simple…
Zorb
  • 11
  • 3