Hi I need to install php5.3 in my ubuntu 16.04 but I want to keep if it's possible the php7.0 versiĆ³n so I could change versions if i need it.
How can I do this?
Thanks
The "best" way to do this is to use Vagrant. When I say "best" I mean, most maintainable over time and that allows you to keep your current setup.
Install Vagrant
Install VirtualBox
Find a suitable box on the hashicorp site
Create your Vagrant file
Run vagrant up
Alternatively, you can build your own box without pushing it to, or needing to pull from, hashicorp. See the excellent "Packer" project which allows you to define your box using JSON: https://www.packer.io/intro/index.html
Good luck :-)
There are Github projects phpbrew or phpenv.But it's really hard to make them work
Oh, yeah, Vagrant or Docker still might help you, as well as VirtualBox (or something like it)
Related
I recently downloaded a Debian WSL, and I love it! However, all of the commands I used to be able to use(git, rustc, rustdoc, etc) don't work anymore. I'm guessing this is a problem with not sharing the regular environment variables and PATH? Should I do something to make Debian use my regular one? Thanks!
I really only want Debian for a Bash Shell with the packages, not as a complete separate environment.
my question is little vague but I tried looking for the answer here and there but could not understand if I can leverage docker for my work. My requirements
I usually try different versions of java, python and other software like different versions of eclipse, Linux package and other tools. This at the end make my Ubuntu installation a complete mess and some time completely broken. Then I started using Vm it solve most of the problem but make my pc very slow for frequent switching.
So my question can I achieve my work using docker without affecting my os? Can I run gui application, install different package without affecting underlying OS.
Switch actively between different docker container and underlying os.
Clean/remove unused/broken install of docker instance (containers?) etc. Any pointer to similar use case or how to would be helpful.
Thanks.
Ps- if it doesn't fit for SO then please move it to where it is best fitted. Sorry for non programming question.
Can it be done?
yes, there are examples of docker images that run graphical application, but running those containers might be a bit tricky. See for instance Can you run GUI apps in a docker container?
Is Docker the right tool for your problem ?
Maybe a package manager such as Nix would be better suited, as graphical software installed with it won't have any issue. With Nix you can install side-by-side many versions of a single software without interference.
I want to set-up vicidial in my local computer server any information or a document for that?
I googled but I can't find exact resource.
I googled below links.
Link 1
Link 2
Thanks in advance.
Vicidial is an Open Source Predictive AutoDialer based on Asterisk with PHP/MySQL/Perl coding.
Installation of Vicidial is only viable on a Linux machine.
There are several locations with Scratch Install instructions for Ubuntu and CentOS. In fact, the Vicidial Wiki has a list of a few of them: http://wiki.vicidial.org/index.php/VICI:Installation
Most are quite old except for the Goautodial.com which has instructions for CentOS installation by adding the goautodial repositories and then just upgrading the OS to get all the necessary packages.
If you're not using CentOS or Ubuntu and none of those instructions work for your purpose, beware that Vicidial installation is not easy. It is MUCH better to dedicate a machine to the purpose by installing from Vicibox.com's .iso image which will wipe the computer clean. The installation becomes easy and then you need only argue with configuration.
If you can not dedicate a machine to this purpose, you should take the earlier suggestion of a Virtual server (vSphere or Virtualbox both work for Vicibox.com's .iso installer), but beware that you'll only be able to have one or two agents on the virtual dialer at the most. Luckily, if you do get the virtual vicidial working, it is possible to backup the virtual server's database and install it on a hardware based server later to bring everything with you without having to do it all over.
Is Vagrant a good solutions for creating a Rails environment in windows?
I have a powerful Windows 8 64bit desktop. I recently did a project with RoR and fell in love with it. As I found out, installing RoR on windows is just bleh; so I created a dual boot to ubuntu. As a creative developer, I find it rather difficult to get any of the "creative" done in ubuntu because of the lack of my typical creative tools.
I read a bit about a tool called Vagrant; however, I'm still unsure if it meets my requirements: adobe suite, sublime text, git, rails, rails friendly OS(mac?/ubuntu)
Typical duties: edit an image in photoshop(windows), drop it to project assets in VM?
Typical duties: push/pull to git; ssh to VPS server?
Also, I hear you can install mac os in the VM do you think thats a good option? (because I want to try their new OS)
Installing osx in Vagrant is probably possible but it would likely be quite hard, and its not really what vagrant is designed for.
As for your other questions vagrant sounds like the perfect fit.
With Vagrant you could start up an ubuntu vm and get your rails setup going. Then you could just forward a port on your local machine to the vm and load the rails site as if it were running locally on your windows PC. A quick google gets this vagrant box that looks like it might work for you - https://github.com/amaia/rails-starter-box
To work with the site you can just share a folder between the vm and your local machine which will allow you to edit images and code with your windows apps (Photoshop, sublime) so you don't actually need to install these in the ubuntu vm at all, and can pretty much work as normal.
Git is much the same... I prefer to SSH into the vagrant box and use git on the command line in ubuntu but you can just as easily use gitbash or tortoisegit from windows in the repo folder... works just as well.
A good alternative is, https://github.com/fgrehm/ventriloquist
"Ventriloquist combines Vagrant and Docker to give developers the ability to configure portable and disposable development VMs with ease. It lowers the entry barrier of building a sane working environment without the need to learn tools like Puppet or Chef."
I am ramping up on vagrant and was wondering if there was a walkthrough / recipe to get a vagrant instance up and running to mirror a heroku bamboo stack (lenny 5.0 ree-1.8.7)
I am stuck on the first step of trying to find a lenny box.
Thanks guys,
Jonathan
If you're targeting Heroku's Cedar stack, you can try vagrant-heroku. I'm not sure what options exist for Aspen and Bamboo, but I would suspect that they may exist.
You'll probably need to build and package the box yourself. There are instructions on how to do this here: http://www.owengriffin.com/posts/2010/05/01/Vagrant_for_Debian_testing.html
You should take a look at veewee.
It makes building base boxes for Vagrant much simpler. There is even a template for Debian Lenny you can start with.