08 Nov 2015 @ 12:09 AM 

laravel5

I decided to give laravel a go. I am not expert in php development but I hope this php framework can help me learn how to build a php website in a rapid way.

First, I was trying to use Vagrant or Homestead in windows as suggested but end up I gave up due to big file download and failed at the end.

Then I found Laragon. It is a very good software for windows. I was able to install it easily in Windows 10 and follow a few chapters in tutorial.

A few days ago, my iPro Livepad volume rocker has problem so I decided to use my old Asus laptop as my development machine. I re-formatted the Ubuntu 9.10 to 14.04 and try to install all the requirements to get laravel 5.1 to work.

Learning laravel 5 is not an easy journey for VB programmer like me who spend most of time with windows platform. I have little knowledge in ubuntu and document structure in linux environment.

I found some challenges in running laravel in linux system. First I need to understand how to use sudo command and deal with file permission. However, typing these commands in terminal is not a problem for me. Then I found not much tutorial on setting up laravel in ubuntu lamp. Instead, I found it is quite strange that there are more tutorials using vagrant, wamp or xamp.

Then I found tutorial that lead me to install ‘laravelnew’ in /var/www/html/laravelnew. I tried to change the web browser URL to http://localhost/laravelnew but this is not working. The correct laravel welcome page is accessible by browsing http://localhost/laravelnew/public. I search through the internet and found many people like me struggle to get it work by changing the .htaccess file, server.php, /etc/apache2/apache2.conf file and setting up virtual host in order to remove the public folder from the path. I searched for whole day but I can’t find a good solution. The basic routing is not working with the steps mentioned.

Then I try to follow steps in this page to reinstall laravel. What I learned in this page is to install laravel in /var/www/laravel instead of /var/www/html/laravel. The URL is now accessible without the public path and basic routing is working.

I hope a beginner like me found this blog and help him getting away from this frustration.

Installing laravel 5: http://blog.luutaa.com/cloud/setting-up-laravel-5-on-digital-ocean-ubuntu-on-apache/

Recommended tutorial: http://www.tutorials.kode-blog.com/laravel-hello-world

Posted By: Aeric
Last Edit: 08 Nov 2015 @ 12:42 AM

EmailPermalinkComments (0)
Tags
 08 Jul 2014 @ 12:21 PM 

Challenge

Munich is the third-largest city in Germany, with approximately 1.5 million inhabitants. The local governing body employs more than 33,000 people – 16,000 of whom use PCs as part of their daily roles. Those computers are located at different sites and their users have widely differing needs. In 2001, there were 22 organisational units, each of which controlled its own IT resources. Client software versions, patch management, shared directories and user permission policies varied across the organisation.

With Windows NT approaching its end-of-life deadline and Windows XP due to follow, an alternative was needed to the enforced cycle of large-scale software upgrades; an alternative that could satisfy the city’s myriad requirements:

  • Wide range of applications
  • Interoperability with other platforms
  • Regularly updated hardware support
  • Low management overhead
  • Freedom from vendor lock-in.

Considerations

Open source software was not necessarily an obvious choice. Much of the city’s software infrastructure used Microsoft technologies, from Microsoft Office macros written in Visual Basic, to applications that relied on the Windows operating system. There was no doubt that in the short term, it would have been easier for the City of Munich to remain with Microsoft, but after extensive research and consideration of both the short term and long term effects, the decision was made to pursue an open source solution. The question then became about which specific technologies to adopt.

Due in part to the complexity mentioned above, it soon became clear that this would not be a simple desktop migration. This was to be a re-organisation of the city’s entire IT infrastructure.

The ensuing “LiMux” project would span many years and nothing like it had been undertaken before. There was no best practice or precedent and the solution would need to evolve as the project progressed. With so much public money at stake, it was vital that stakeholder commitment was secured and maintained – especially as the eyes of the technology world were watching. Seeing the project as a potential catalyst for more similar migrations, Microsoft lobbied hard to derail it. At one point, CEO Steve Ballmer cut short a holiday to fly to Munich and meet with the mayor in person.

Solution

The first iteration of the project saw Debian deployed in 2006. But a more predictable update cycle was required and, with a policy of tendering for new hardware suppliers every four years, the promise of ongoing support for a wider range of devices. So, in 2009, the city switched to Ubuntu. With the need to sustain political backing throughout the process, blogs and newsletters were used to keep stakeholders up-to-date, while explaining the change in platform to users and support staff. Forums were set up to enable stakeholders to voice their concerns and ask questions. Processes were established to manage user requirements, develop new LiMux releases and test them before roll-out to user workstations.

Results

By the end of 2012, the LiMux project had reached its main goal: to migrate 12,000 workstations to Linux (a deployment now numbering 14,000 PCs).

The switch from from proprietary software to open source has saved the city more than €10 million – a figure that accounts for both the hire of external companies to implement solutions and the internal man-hours the city has invested in management, training and testing. By 2012, €6.8 million had been saved on Microsoft licensing alone.

By August 2013, the cost of the entire project had reached €23 million, compared with an estimated €34 million just to upgrade to Windows 7 and new versions of Microsoft Office.

According to Peter Hofmann, project manager for the City of Munich; “The LiMux/open source project was a long and iterative one, but after a few years of running such a large Linux base, we realised Ubuntu was the platform that could satisfy our requirements best. By combining the low costs and freedom of open source software with ongoing support for the hardware and applications we need, it was one of the critical elements to the success of this project. Most important was the backing of our politicians throughout the project.”

Source: https://insights.ubuntu.com/2014/07/07/ubuntu-and-open-source-help-the-city-of-munich-save-millions/

Posted By: Aeric
Last Edit: 08 Jul 2014 @ 12:21 PM

EmailPermalinkComments (0)
Tags
 28 Sep 2013 @ 2:35 AM 

By clicking on the Virtualbox menu, you can mount the Guest Additions ISO to your Linux Mint.

Next, Open the CD and Doubleclick the VBoxLinuxAdditions.run will not run the installer.

Hence, the working way is to Rightclick the icon on desktop and Open in Terminal.

Type the following:

sudo ./VBoxLinuxAdditions.run

Enter your root password and proceed by typing ‘y’ and press Enter.

That’s it!

There is another way to access your Shared Folder is by browsing to media folder ( /media). You will see the shared folder. Right click the folder and choose ‘open as administrator’

Note: Make sure you have already set the Shared Folder in Virtualbox Host.

Installing VirtualBox Guest Additions in Linux Mint 15

 

Shared Folder

Posted By: Aeric
Last Edit: 28 Sep 2013 @ 02:35 AM

EmailPermalinkComments (0)
Tags
Categories: Cyberticles

 Last 50 Posts
 Back
Change Theme...
  • Users » 2
  • Posts/Pages » 127
  • Comments » 200
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight