Alvaro, you are a Great guy
Alvaro, sos una persona maravillosa!!!

Thanks
Muchas Gracias


      Luis



>
> In Linux/Unix world, you will find people that have spare time to argue and
> point what is wrong with everything, but usually won't have time to "help",
> this came since is easy to spot how much effort the person asking have put
> in research or do the homework, this is usually a showstopper for most
> people trying to learn, but leave the negative aside, and focus on the point
> most people try to make.. that is, try to find out your self and ask where
> you get stuck, and you need little help to keep moving.
>
> Later you will find this is valuable, and is a good way to learn, of course
> when someone wants things immediately for rush, time, etc, is when the holy
> wars start in the forums.
>
>
> Now, back to your question.
>
> After a quick search, I found php-mssql and freetds are both on epel, that
> is a repository of packages maintained by fedora contributors and other
> people, that are available for for fedora and the enterprise linux boxes.
>
> So, you can go for  a fedora box, pull down some packages and you should be
> done.
>
> I can't comment what's the best distribution , or what distribution would I
> suggest for someone that is newbie, since that usually end with war :D
>
> I did a very simple Vagrantfile, follow the dropbox link or check this email
> and you will get a zip file
>
>
>
> be sure to use vagrant + virtualbox, I reccomend 1.6.5 but any version after
> 1.5 is fine.
>
> Base box used:
>   config.vm.box = "kikitux/oracle6"
>
> This is a box I do and maintain, that is Oracle Linux 6, with few things
> like have docker, epel, ansible, chef, etc, so is a good box for
> prototyping.
>
> #port forward
>   config.vm.network "forwarded_port", guest: 80, host: 8080
>
> This will create a fwd port on you host machine between port 8080 and 80 on
> the guest
>
> if you open a browser and do http://localhost:8080 will open the web browser
> on the guest
>
> This will have the folder on the proyect, www/html mounted in the virtual
> machine, in this way, you can put there your php code, and check the web
> browser, you code on your host and see the server on the vm.. cool..
>
>   config.vm.synced_folder "www/html", "/var/www/html"
>
> I left there an index.php that server a php info, so you can test it works
>
>
> This is commented out, so you can adjust thinks like memory, or others
>   # config.vm.provider "virtualbox" do |vb|
>   #   # Don't boot with headless mode
>   #   vb.gui = true
>   #   vb.customize ["modifyvm", :id, "--memory", "1024"]
>   # end
>
> The magic code, this will install the rpm you need, enable and start httpd
>
>   config.vm.provision "shell", inline: "yum install -y php-mssql httpd
> freetds*"
>   config.vm.provision "shell", inline: "chkconfig httpd on"
>   config.vm.provision "shell", inline: "service httpd status || service
> httpd start ; true"
>
>
> At the end of the initial boot, all the rpms will be installed, apache+php
> configured, etc
>
> the beauty and simplicity of vagrant
>
> Alvaro.
>
>
> On Thu, Sep 25, 2014 at 4:03 AM, Luis Siquot <[email protected]> wrote:
>>
>>  I have searched vagrantbox.es and other sites trying to have a
>> "Linux-Apache-(FreeTDS)-Php" box.  I am a newbie on Linux, so if I can
>> find a ready yo use box, able to conntect to mssql, will make my day!
>>
>> Thanks in advance.
>>
>>
>>        Luis
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Vagrant" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Vagrant" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to