I don't know Capistrano, but yes, you likely have to implement some things to make this process work and deal with migration failures ;)
As far as Apache is concerned, you don't have to restart it for a configuration change. You can simply tell Apache to reload the configuration.
If you don't want do modify and reload the Apache configuration for each client, simply use symlinks to point each client to the correct version of the application code.
Given that a database migration isn't instantaneous and might fail, you'll probably want to switch the client you are migrating to a maintenance page temporarily.
Again, I don't know your deployment infrastructure, but I'd suggest you split your process into multiple parts: First, get the code of the latest version onto the server (use a unique directory name for each version). Then, migrate each client individually. I.e. run some "task" for each migration.
If a few migrations fail, you can deal with rollbacks, restoring backups, or manual fixing while all other clients are already using the latest version.
What about temporarily running two instances of your application? VersionN and VersionN+1. Initially all clients still use VersionN. Then migrate the database of client1 and route their requests to VersionN+1. Continue with the next client until all are migrated. If one migration fails, the other clients are not affected.
I frequently build VMs for development/testing purposes. I wrote a bash script to automate the Arch installation. Everything is contained in one script. However, I do create a "firstboot.service" for a few little things that don't work properly from the chroot.
Network configuration is kind of buggy. A few settings can be configured at the top of the script, some other stuff (partitioning, .bashrc, locales, NTP) is hardcoded for my use-case.
Feel free to build upon it and change it to fit your needs.
I often need to build VMs for development/testing purposes. So I wrote a small script that does the arch installation for me. It's maybe 100-200 lines of bash and can run completely unattended. I basically copied the commands from the installation guide into the script, added some flags here and there to avoid interactive prompts, and added some error checking.
It seems they only sell apps nowadays. A few years ago they offered handheld/aftermarket GPS navigation devices. The one I owned was definitely running Windows CE.
Ubuntu will use the open source driver by default. It will give you the option to install the proprietary driver if you want to. You can switch drivers anytime you want.
In my experience, games would often crash with the proprietary driver but worked flawlessly with the open source driver.
Booting Ubuntu from USB to check compability is a good idea.
What country are we taking about? Injecting RST let alone MITM-ing TLS sound kind of drastic.
What ISP are you using if I may ask. Will they RST a SSH connection? What about OpenVPN with UDP?
Why do you route Gnome traffic through TOR in the first place? Wouldn't it be simpler to just configure certain applications to go through TOR?
I don't know Capistrano, but yes, you likely have to implement some things to make this process work and deal with migration failures ;)
As far as Apache is concerned, you don't have to restart it for a configuration change. You can simply tell Apache to reload the configuration.
If you don't want do modify and reload the Apache configuration for each client, simply use symlinks to point each client to the correct version of the application code.
Given that a database migration isn't instantaneous and might fail, you'll probably want to switch the client you are migrating to a maintenance page temporarily.
Again, I don't know your deployment infrastructure, but I'd suggest you split your process into multiple parts: First, get the code of the latest version onto the server (use a unique directory name for each version). Then, migrate each client individually. I.e. run some "task" for each migration.
If a few migrations fail, you can deal with rollbacks, restoring backups, or manual fixing while all other clients are already using the latest version.
What about temporarily running two instances of your application? VersionN and VersionN+1. Initially all clients still use VersionN. Then migrate the database of client1 and route their requests to VersionN+1. Continue with the next client until all are migrated. If one migration fails, the other clients are not affected.
This spot would never get approved.
Do you have a source for that?
I use Virtualbox.
I frequently build VMs for development/testing purposes. I wrote a bash script to automate the Arch installation. Everything is contained in one script. However, I do create a "firstboot.service" for a few little things that don't work properly from the chroot.
https://gist.github.com/Phaeilo/541f0361678ee07bf594
Here you go: https://gist.github.com/Phaeilo/541f0361678ee07bf594
Network configuration is kind of buggy. A few settings can be configured at the top of the script, some other stuff (partitioning, .bashrc, locales, NTP) is hardcoded for my use-case.
Feel free to build upon it and change it to fit your needs.
VLC supports ASCII output. Last time I checked it was enabled by default if you play a video without xserver.
I often need to build VMs for development/testing purposes. So I wrote a small script that does the arch installation for me. It's maybe 100-200 lines of bash and can run completely unattended. I basically copied the commands from the installation guide into the script, added some flags here and there to avoid interactive prompts, and added some error checking.
The fact that Xen is only available through the AUR.
I have the same issue but found a workaround.
It seems they only sell apps nowadays. A few years ago they offered handheld/aftermarket GPS navigation devices. The one I owned was definitely running Windows CE.
It's Route 66.
You should L your hardware vendor!
Ubuntu will use the open source driver by default. It will give you the option to install the proprietary driver if you want to. You can switch drivers anytime you want.
In my experience, games would often crash with the proprietary driver but worked flawlessly with the open source driver.
Booting Ubuntu from USB to check compability is a good idea.
Of course they do! Proprietary drivers are available from AMD.
Someone wearing a towel on the head might say that.
SSH an OpenVPN, so I can access my files on the go.
Given that this is a long-running PHP process, did you experience any issues with memory leaks?
No, using a hash function does not magically make your data more random.
sha1(uniqid())will not provide "better" randomness thanuniqid().Using Python in PHP would probably be more useful :D
300-500mm seems about right: http://petapixel.com/2012/09/27/photos-of-astronauts-using-dslrs-on-the-international-space-station/