Vagrant https://www.ravisagar.in/category/topic/vagrant en Moving to Drupal VM by @geerlingguy https://www.ravisagar.in/notes/moving-drupal-vm-geerlingguy <span>Moving to Drupal VM by @geerlingguy</span> <span><span lang="" about="/users/ravisagar" typeof="schema:Person" property="schema:name" datatype="">ravisagar</span></span> <span>Thu, 05/10/2018 - 08:04</span> <ul class="links inline list-inline"><li class="statistics-counter">31 views</li></ul> <div class="field field--name-field-blog-image field--type-image field--label-hidden field--items"> <div class="field--item"> <img src="/sites/default/files/2018-05/DrupalVM.png" width="1228" height="609" alt="Drupal VM" typeof="foaf:Image" class="img-responsive" /> </div> </div> <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p>I have been using <a href="category/topic/vagrant">Vagrant</a> for a very long time now. I love it. It is perfectly to setup the environment and develop for Drupal, however recently I tried moving some of my sites to Drupal 8. I know I am late, very, very late but better late than never :) and I realised setting up the environment manually is a bigger pain, to be honest I am never comfortable setting up LAMP, I don't think I have ever configured Apache perfectly in one go. It always needs some R&amp;D to make it work with Drupal or may be I am not good in it. I don't know. It is a pain.</p> <p>Vagrant solved this problem for me, but I have been using Vagrant slightly differently. I was using it mainly as a vm with not much provisioning, which I guess is fine. I was happy with it. I use usually one vm for more than one sites.</p> <p>With Drupal 8 things are different. You need composer plus few other things to make things work. I was able to setup everything but it is still a pain. I want to focus more on developer than setting up environment and now I am planning to have just one vm per project and one more for staging.</p> <p>I knew about Drupal VM but never really used it for real projects but I cannot avoid it anymore.</p> <p>If you want to also start using Drupal VM go to this link: <a href="https://www.drupalvm.com/">https://www.drupalvm.com/</a></p> <p>All you need is Vagrant and VirtualBox installed on your system and setting up the environment just take few minutes. It is highly configurable and works just perfectly in one go.</p> <p>I hope it goes well for me. I need to upgrade one site from D7 to D8 and I will be using Drupal VM for that :)</p> </div> <div class="field field--name-taxonomy-vocabulary-1 field--type-entity-reference field--label-hidden field--items"> <div class="field--item"><a href="/category/topic/drupal-8" hreflang="en">Drupal 8</a></div> <div class="field--item"><a href="/taxonomy/term/653" hreflang="en">Share</a></div> <div class="field--item"><a href="/category/topic/vagrant" hreflang="en">Vagrant</a></div> <div class="field--item"><a href="/category/topic/virtualbox" hreflang="en">VirtualBox</a></div> </div> <div class="empty-geofield"></div> Thu, 10 May 2018 07:04:02 +0000 ravisagar 724 at https://www.ravisagar.in Introduction to DevOps and do we need DevOps? https://www.ravisagar.in/blog/introduction-devops-and-do-we-need-devops <span>Introduction to DevOps and do we need DevOps?</span> <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p>Recently I started doing some research on understanding the genesis and wanted to understand more about it. After spending few days going through online articles and lot of youtube videos I came to the conclusion that I was partially involved in doing or following it DevOps for a many years.</p> <p>Wikipedia says Devops "is a software engineering culture and practice that aims at unifying software development (Dev) and software operation (Ops)".</p> <p>So basically it is to bring together developers and operations team (who manages infrastructure) and that is done with the help of some tools to automate recurring tasks. Of course the intention here is to reduce time.</p> <p>Take a look at this video below to understand what is DevOps</p> <iframe width="560" height="315" src="https://www.youtube.com/embed/2MwOjn4x638" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen=""></iframe><p> Also this video which describes DevOps even better.</p> <iframe width="560" height="315" src="https://www.youtube.com/embed/_I94-tJlovg" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen=""></iframe><p> <strong>Do we care about DevOps?</strong><br /> One thing I realised is that almost everyone who is developing software needs DevOps. You need to test the code on different environments before deploying it on production environment and in case you want to reduce the time it takes your code from your local development environment to production by doing some automation then you can potentially adopt DevOps practices</p> <p>These automations requires different tools and there is no doubt that now a days there is a need for dedicated DevOps engineers who not only know how tools works but they also sympathise with both developers and operations alike.</p> <p><strong>Not sure where to start?</strong></p> <p>If you want to start adopting some good practices start identifying the pain areas first. For me when I developed Drupal websites I was paranoid about testing and validating everything is working fine or not. My biggest challenge was not really the actual testing but getting the staging environment up and running with latest changes. It was not taking me insane amount of time but it was still I used to do manually. We initially had problem with mis matched development environments and we did adopt Vagrant but spinning new instances for testing purpose was a little challenge. So automating IT infrastructure was out pain area. May be in your case it could be performing automated tests.</p> <p><strong>What is the challenge in adopting DevOps completely?</strong><br /> In my opinion everyone wants to save time (which is money) but the initial effort requires to makes changes stops many people to still moving forward. Especially when there are so many tools now a days. How many tools to adopt and in fact which tools to use out of many for doing the same thing.</p> <p><strong>Need for dedicated DevOps consultants</strong><br /> Recently there have been a surge in the market for dedicated DevOps jobs and that makes total sense. Companies realise the importance of getting an expert who has setup tools in similar setup. These experts will not only guide you in choosing the right tool but they are also expected to have knowledge of development, operations and testing as well. In my opinion it is extremely difficult to become an expert on everything and it is not a one man job and that is why companies are not creating a separate team only for DevOps.</p> <p>I am sure DevOps is here to stay and it is funny how things change in just few years. It is a new term that was only in 2008 when people starting talking about Agile infrastructure but it has become really popular and buzz word just recently.</p> <p>Personally I was doing DevOps partially but never really focussed on the whole lifecycle. My next goal now is to spend more time understanding how Jenkins and Bamboo works. I am slightly more inclined towards Bamboo of course being at Atlassian consultant :) but this is one of my personal goal this year to gather more knowledge in DevOps.</p> <p>Bye and have fun :)</p> <p><a href="https://realize.be/blog/quasi-unutopia-very-beginning">Testing another webmention</a></p> </div> <span><span lang="" about="/users/ravisagar" typeof="schema:Person" property="schema:name" datatype="">ravisagar</span></span> <span>Thu, 01/25/2018 - 05:48</span> <div class="field field--name-taxonomy-vocabulary-1 field--type-entity-reference field--label-hidden field--items"> <div class="field--item"><a href="/taxonomy/term/637" hreflang="en">Devops</a></div> <div class="field--item"><a href="/category/topic/atlassian" hreflang="en">Atlassian</a></div> <div class="field--item"><a href="/taxonomy/term/638" hreflang="en">Bamboo</a></div> <div class="field--item"><a href="/taxonomy/term/639" hreflang="en">Jenkins</a></div> <div class="field--item"><a href="/category/topic/vagrant" hreflang="en">Vagrant</a></div> <div class="field--item"><a href="/category/topic/chef" hreflang="en">chef</a></div> </div> <div class="field field--name-field-featured-blog field--type-boolean field--label-hidden field--item">Off</div> <ul class="links inline list-inline"><li class="statistics-counter">79 views</li></ul><section> <h2>Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=528&amp;2=comment&amp;3=comment" token="X3aMJCTati1O9adTlZXhKdUe7FMyymfrEcOcwFD2QMY"></drupal-render-placeholder> </section> Thu, 25 Jan 2018 05:48:28 +0000 ravisagar 528 at https://www.ravisagar.in How to get LiveReload working with Vagrant and auto compile scss files from shared folder https://www.ravisagar.in/blog/how-get-livereload-working-vagrant-and-auto-compile-scss-files-shared-folder <span>How to get LiveReload working with Vagrant and auto compile scss files from shared folder</span> <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p>Last few days are amazing. Learning so many things, especially setup of Vagrant in our company. I had few issues with the performance of <a href="https://www.ravisagar.in/blog/how-speed-drupal-running-vagrant-windows-host">Drupal running on Vagrant on windows host</a> which I fixed yesterday. That was one milestone achieved but I didn't realized that there would be more obstacles.</p> <p>We started using Omega 4 for all of our projects now and it is great. Especially compass support of SASS that enables us to design great websites in short time. The only problem is that it is not smooth to setup. If you read the Omega 4 documentation you will come to know that they have clear instructions on how to setup this stuff. I will not cover that in this blog. It is already well documented and there are plenty of articles on the internet.</p> <p>I did all the setup for Omega 4 but the problem was that Live Reloading was not working and the .scss files were not compiling automatically whenever there are some changes done in them.</p> <p>My current setup is Vagrant running on Windows 8.1, and guest OS is CentOS 6.5</p> <p><strong>Steps to get Live Reload working</strong></p> <p>First make sure that live reload is enabled in Drupal Omega 4 settings. Go to your Omega subtheme settings, under Development tab check the "Enable Development extension" and then under it check "Enable LiveReload". Here you would notice that LiveReload server uses port 35729. We will use it just now in the next step.</p> <p><strong>Changes in the Guardfile</strong></p> <p>You will find the Guardfile under the root of your subtheme directory. Edit it and do the following changes. We need to mention the ip address as 0.0.0.0 (I am not sure about the purpose) and the port number here.</p> <div class="geshifilter"> <div class="html4strict geshifilter-html4strict" style="font-family:monospace;"> <ol><li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal">guard :livereload , :host=&gt; '0.0.0.0', :port=&gt; '35729' do</div> </li> <li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal">   watch(%r{^((?!\.normalize\.).)*\.(css|js)$})</div> </li> <li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal">end</div> </li> </ol></div> </div> <p><strong>Now enable the Port Forwarding in Vagrantfile</strong></p> <p>Add the following line to forward 35729 port from guest to host.</p> <div class="geshifilter"> <div class="html4strict geshifilter-html4strict" style="font-family:monospace;"> <ol><li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal">config.vm.network "forwarded_port", guest: 35729, host: 35729</div> </li> </ol></div> </div> <p>These are the changes I did and it took me 5 hours to figure out after lot of researching and hopefully this will work for you as well. Provided you are using the same environment as I am. At this moment just reload your Vagrant and try whether LiveReloading works or not.</p> <p><strong>Changes in .scss file are not detected from Windows Share, but there is a work around</strong></p> <p>I am still stuck here. If I make changes directly in CentOS VirtualBox then Guard picks up the changes immediately and .scss files are compiled when I make the changes through windows then it won't. I tried few methods but didn't succeed yet but there is a workaround which works fine.</p> <p>Trick is to force the polling</p> <div class="geshifilter"> <div class="html4strict geshifilter-html4strict" style="font-family:monospace;"> <ol><li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal">bundle exec guard -p -l 10</div> </li> </ol></div> </div> <p>The only problem with this force polling is that it is not super fast. You have to wait for few seconds for Guard compile the .scss files, but I am still ok with it. At least it is not blocking issues.</p> <p>So far loving working with Vagrant. Lovely.</p> </div> <span><span lang="" about="/users/ravisagar" typeof="schema:Person" property="schema:name" datatype="">ravisagar</span></span> <span>Sat, 08/09/2014 - 01:07</span> <div class="field field--name-taxonomy-vocabulary-1 field--type-entity-reference field--label-hidden field--items"> <div class="field--item"><a href="/category/topic/vagrant" hreflang="en">Vagrant</a></div> <div class="field--item"><a href="/category/topic/guard" hreflang="en">Guard</a></div> <div class="field--item"><a href="/category/topic/bundle" hreflang="en">Bundle</a></div> <div class="field--item"><a href="/category/topic/guardfile" hreflang="en">Guardfile</a></div> <div class="field--item"><a href="/category/topic/livereload" hreflang="en">LiveReload</a></div> <div class="field--item"><a href="/category/topic/port-forwarding" hreflang="en">Port Forwarding</a></div> <div class="field--item"><a href="/category/topic/windows-81" hreflang="en">windows 8.1</a></div> <div class="field--item"><a href="/category/topic/centos" hreflang="en">CentOS</a></div> </div> <div class="field field--name-field-featured-blog field--type-boolean field--label-hidden field--item">Off</div> <ul class="links inline list-inline"><li class="statistics-counter">3842 views</li></ul><section> <h2>Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=471&amp;2=comment&amp;3=comment" token="KpPJReBPWOX0pL4ZUdz3YX274e3dpb-gkQfeQms5qUo"></drupal-render-placeholder> </section> Sat, 09 Aug 2014 00:07:19 +0000 ravisagar 471 at https://www.ravisagar.in How to speed up Drupal running in Vagrant on Windows Host https://www.ravisagar.in/blog/how-speed-drupal-running-vagrant-windows-host <span>How to speed up Drupal running in Vagrant on Windows Host</span> <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p>I recently install and setup Vagrant on my Windows laptop. The only reason I used Windows on my laptop is because of the trainings I conduct. Most companies use Windows based systems and it is difficult to train them if you are showing demos on Linux and they have to repeat the same on Windows. For that reason only I used Windows. When I am not providing training, I am usually developing stuff. Mostly on Drupal and most recently on JIRA Plugins (Yes I am learning Java).</p> <p>I heard about Vagrant in the past but never really had enough space to try it out. Recently I decided to not take usuall Drupal projects and will only work with smart clients who are willing to pay for the service and quality. That decision is costing me money, as I don't do lot of work now but I am happy with the peace on mind. This gives me with some extra time which I now devote in learning new things and improving processes in my company. When you are on your own, you need to spend your time wisely. Free time means opportunity to learn new stuff.</p> <p>I was happy to understand the whole workflow of Vagrant and quite like it actually. Everything went fine. Installed CentOS 6.5 using Vagrant and setup LAMP on it. I even installed a blank Drupal site just to test it out. It worked fine too. I even created a package and moved this customized CentOS box to another machine and it worked perfectly too. I loved this idea to have exact same development environment. I will now ask everyone in the team to use this box.</p> <p>So far it was great, until I actually cloned one of our complex Drupal project which we have to deliver in few days. That site was running horribly slow. I came to know that the performance can be increased if we enable NFS for file sharing but unfortunately NFS is not supported on windows.</p> <p>So I searched a lot on google for possible improvements. I mean Vagrant can be installed on Windows but just because of this NFS issue it is impossible to use it for LAMP. Finally I found we tricks, which I applied and it really improved the performance. Not great but atleast usable.</p> <p><strong>Install the following Vagrant plugin in your host, Windows in my case.</strong><br /> Someone has written this plugin to enable NFS on Windows. I found this after searching a lot on google.</p> <div class="geshifilter"> <div class="html4strict geshifilter-html4strict" style="font-family:monospace;"> <ol><li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal">vagrant plugin install vagrant-winnfsd</div> </li> </ol></div> </div> <p>Now enable the root of your project folder with /vagrant folder where I keep my website files. This could be any directory on your setup. don't forget to enable NFS by using type: "nfs"</p> <p><strong>Do the following change in your Vagrantfile.</strong></p> <div class="geshifilter"> <div class="html4strict geshifilter-html4strict" style="font-family:monospace;"> <ol><li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal">config.vm.synced_folder ".", "/vagrant", type: "nfs"</div> </li> </ol></div> </div> <p>I realised that increasing the memory also has positive effects on the performance.</p> <p><strong>Also increase the memory of your virtual machine. I have 8 GB of RAM so I can afford to allocate 3GB to my virtual machine.</strong></p> <div class="geshifilter"> <div class="html4strict geshifilter-html4strict" style="font-family:monospace;"> <ol><li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal">config.vm.provider "virtualbox" do |vb|</div> </li> <li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal">    vb.customize ["modifyvm", :id, "--memory", "3000"]</div> </li> <li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal">end</div> </li> </ol></div> </div> <p>Lastly some tweaks in the Apache configuration file for some extra improvements.</p> <p><strong>Finally do the following change in your httpd.conf file</strong></p> <div class="geshifilter"> <div class="html4strict geshifilter-html4strict" style="font-family:monospace;"> <ol><li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal"><span style="color: #009900;">&lt;IfModule prefork.c&gt;</span></div> </li> <li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal">StartServers       2</div> </li> <li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal">MinSpareServers    6</div> </li> <li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal">MaxSpareServers   4</div> </li> <li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal">ServerLimit      4</div> </li> <li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal">MaxClients       4</div> </li> <li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal">MaxRequestsPerChild  3000</div> </li> <li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal"><span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span>IfModule&gt;</span></div> </li> </ol></div> </div> <p>These are some of the things that I tried, I cannot guarantee that it will help you too, but there is not harm in trying. It might work for you.</p> <p>Have fun!</p> </div> <span><span lang="" about="/users/ravisagar" typeof="schema:Person" property="schema:name" datatype="">ravisagar</span></span> <span>Fri, 08/08/2014 - 00:47</span> <div class="field field--name-taxonomy-vocabulary-1 field--type-entity-reference field--label-hidden field--items"> <div class="field--item"><a href="/category/topic/vagrant" hreflang="en">Vagrant</a></div> <div class="field--item"><a href="/category/topic/windows-81" hreflang="en">windows 8.1</a></div> <div class="field--item"><a href="/category/topic/windows" hreflang="en">Windows</a></div> <div class="field--item"><a href="/category/topic/apache" hreflang="en">Apache</a></div> <div class="field--item"><a href="/category/topic/lamp" hreflang="en">LAMP</a></div> <div class="field--item"><a href="/category/topic/centos" hreflang="en">CentOS</a></div> <div class="field--item"><a href="/category/topic/httpdconf" hreflang="en">httpd.conf</a></div> </div> <div class="field field--name-field-featured-blog field--type-boolean field--label-hidden field--item">Off</div> <ul class="links inline list-inline"><li class="statistics-counter">4179 views</li></ul><section> <h2>Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=470&amp;2=comment&amp;3=comment" token="KT7aIk3PFylH80xnil37SZizWwM9fPCNkTofk9D_yBc"></drupal-render-placeholder> </section> Thu, 07 Aug 2014 23:47:54 +0000 ravisagar 470 at https://www.ravisagar.in How to install VirtualBox on Fedora 20 https://www.ravisagar.in/blog/how-install-virtualbox-fedora-20 <span>How to install VirtualBox on Fedora 20</span> <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p>For the past few days I am trying to setup Vagrant for uniform development environment in our company, personall I work on Windows 8.1, iMac, Fedora for development and our servers are running CentOS. It is pain I know.</p> <p>Last weekend I installed and understood <a href="http://www.vagrantup.com/" target="_blank">Vagrant</a> on windows 8.1, it was great. I will not get into the details on setup here. You can check the documentation on their website.</p> <p>Today I cloned my Vagrant box, which I want to duplicate on my fedora machine. So for that I need to install VirtualBox first on Fedora 20. It is not as simple as <strong>yum install VirtualBox</strong>, it requires some effort. Here are the steps.</p> <p><strong>Step 1: Add the VirtualBox .repo</strong></p> <div class="geshifilter"> <div class="html4strict geshifilter-html4strict" style="font-family:monospace;"> <ol><li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal">su - </div> </li> <li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal">cd /etc/yum.repos.d/</div> </li> <li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal">wget <span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">a</span> <span style="color: #000066;">href</span><span style="color: #66cc66;">=</span><span style="color: #ff0000;">"http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo</span></span></div> </li> <li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal"><span style="color: #009900;"><span style="color: #ff0000;">[/geshifilter-code"</span>&gt;</span>http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo</div> </li> <li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal">[/…<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">a</span>&gt;</span>]</div> </li> <li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal"> </div> </li> <li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal"><span style="color: #009900;">&lt;<span style="color: #000000; font-weight: bold;">strong</span>&gt;</span>Step 2: Update your system<span style="color: #009900;">&lt;<span style="color: #66cc66;">/</span><span style="color: #000000; font-weight: bold;">strong</span>&gt;</span></div> </li> <li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal"> </div> </li> <li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal">[geshifilter-code]</div> </li> <li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal">sudo yum update</div> </li> </ol></div> </div> <p><strong>Step 3: Install the required packages</strong></p> <div class="geshifilter"> <div class="html4strict geshifilter-html4strict" style="font-family:monospace;"> <ol><li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal">yum install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms</div> </li> </ol></div> </div> <p><strong>Step 4: Install VirtualBox</strong></p> <div class="geshifilter"> <div class="html4strict geshifilter-html4strict" style="font-family:monospace;"> <ol><li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal">sudo yum install VirtualBox-4.3</div> </li> </ol></div> </div> <p><strong>Step 5: Build modules</strong></p> <div class="geshifilter"> <div class="html4strict geshifilter-html4strict" style="font-family:monospace;"> <ol><li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal">/etc/init.d/vboxdrv setup</div> </li> </ol></div> </div> <p><strong>Step 6: Add the user in vboxusers group</strong></p> <div class="geshifilter"> <div class="html4strict geshifilter-html4strict" style="font-family:monospace;"> <ol><li style="font-family: monospace; font-weight: normal;"> <div style="font-family: monospace; font-weight: normal; font-style: normal">sudo usermod -a -G vboxusers YOUR_USERNAME</div> </li> </ol></div> </div> <p>Installation complete. Now I will install Vagrant on Fedora 20. Have fun.</p> </div> <span><span lang="" about="/users/ravisagar" typeof="schema:Person" property="schema:name" datatype="">ravisagar</span></span> <span>Thu, 08/07/2014 - 01:03</span> <div class="field field--name-taxonomy-vocabulary-1 field--type-entity-reference field--label-hidden field--items"> <div class="field--item"><a href="/category/topic/vagrant" hreflang="en">Vagrant</a></div> <div class="field--item"><a href="/category/topic/open-source/fedora" hreflang="en">Fedora</a></div> <div class="field--item"><a href="/category/topic/fedora-20" hreflang="en">Fedora 20</a></div> <div class="field--item"><a href="/category/topic/virtualbox" hreflang="en">VirtualBox</a></div> <div class="field--item"><a href="/category/topic/oracle" hreflang="en">Oracle</a></div> <div class="field--item"><a href="/category/topic/how" hreflang="en">how to</a></div> </div> <div class="field field--name-field-featured-blog field--type-boolean field--label-hidden field--item">Off</div> <ul class="links inline list-inline"><li class="statistics-counter">1414 views</li></ul><section> <h2>Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=469&amp;2=comment&amp;3=comment" token="I5Ar3xo3w8sxzM4qdLoQYYn7tXeDApcf415v7L_0iK4"></drupal-render-placeholder> </section> Thu, 07 Aug 2014 00:03:13 +0000 ravisagar 469 at https://www.ravisagar.in