Category : Ubuntu


Solved Issue - "/usr/bin/env: ‘node’: No such file or directory"

<br/> In this post i want to share one issue that i fetch. When i started working on my react js project first time on my ubuntu 16.04, i installed npm and then after i run bellow command: <pre> npm install -g create-react-app </pre> this way i installed create-react-app then after i created new command using create-react-app commands, so i run bellow command for create new app of reactjs. <pre> create-react-app hello-world </pre> But when i run above command i found one error <strong>"/usr/bin/env: ‘node’: No such file or directory"</strong>. I thought what will be issue, i searched on go.....

By Hardik Savani | February 24, 2017 | | 331 Viewer | Category : Ubuntu
READ MORE

How to create quick apache virtual host in Ubuntu?

We always require to create virtualhost on each project because we don't want to run each project manually, so it is better way to create virtual host address for each project when you development like as bellow: <pre> http://blog.dev http://test.dev http://example.dev http://demo.dev </pre> It will best way to run our project on local system. But if you want to create virtual host on ubuntu, you have to follow several step like site enabled, site enabled config, site directory permission, hosts entry and etc. You have to follow several step on each virtual host create time. I think it take a.....

By Hardik Savani | December 7, 2016 | | 454 Viewer | Category : Ubuntu
READ MORE

How to install composer using command line in ubuntu ?

Composer through we can get packages from git and use it in our project. But you require to install composer in your system for getting packages. You can get packages for core PHP, Laravel, codeigniter etc. So, If you are working on ubuntu OS and you require to install composer then this post will help you quickly install composer using terminal command line in your ubuntu system. First Open your terminal and fire bellow three commands, i listed just three command to install composer, you have to just run one by one: <pre class="prettyprint lang-php"> curl -sS https://getcomposer.org/install.....

By Hardik Savani | November 18, 2016 | | 694 Viewer | Category : Ubuntu
READ MORE

How to connect mysql database in node js with example?

Node.js is very popular in Todays for make chat system, real-time notification, real-time developing etc. So, Today, I am going to give you very simple example of How to use MySQL Query in Node JS. If you use node.js then you can see how it is work and there are several driver for different task like redis, socket io, express etc. But Node.js have a driver for MySQL that way we can easily connect with database and you can use select, insert, update and delete sql query. So, in this example i going to give from scratch so if you are beginner and you haven't installed nodejs on your server th.....

By Hardik Savani | September 29, 2016 | | 1092 Viewer | Category : Ubuntu
READ MORE

Solve - Installation request for guzzle/guzzle in laravel

When i was working on my updated ubuntu version, i did fetch this problem. I had ubuntu 14.04 then i updated ubuntu 16.04, at that time i think PHP version also updated PHP 5 from PHP 7. Ubuntu 16 updated successfully but when i was trying to composer install or update on my project i was found guzzle package error and to enable extensions php 7 extensions as like bellow: <strong>Error</strong> <pre> Problem 1 - Installation request for guzzle/guzzle v3.8.1 -> satisfiable by guzzle/guzzle[v3.8.1]. - guzzle/guzzle v3.8.1 requires ext-curl * -> the requested PHP extension curl is missing from .....

By Hardik Savani | August 15, 2016 | | 1457 Viewer | Category : Ubuntu
READ MORE

How to create virtual host in ubuntu apache?

we always like to create virtual host and run our project that way we can debug properly and run as like our website. But if you are working on ubuntu then we have always follow several step to create virtual host and that very long process. So, i found one package that provide virtualhost command that way we can create new virtual host and also delete virtual host command. so just follow bellow step: <strong class="step">Create virtualhost command</strong> <pre> $ cd /usr/local/bin $ wget -O virtualhost https://raw.githubusercontent.com/RoverWire/virtualhost/master/virtualhost.sh $ chmod +x.....

By Hardik Savani | June 14, 2016 | | 557 Viewer | Category : Ubuntu
READ MORE

Install Sublime Text 3 in Ubuntu 14.04 using Terminal

Nowdays, Sublime Text Editor is a most popular text editor in the world. Sublime Text Editor 3 are provide several packages like CodeFormatter, GitGutter, Git, Sidebar etc and that's why it is most popular and wide used in today. If you want to install sublime text editor 3 in your ubuntu operating system then you can install easily using bellow terminal command. So just run bellow command and install sublime text editor. <strong>Command:</strong> <pre class="prettyprint lang-php"> sudo add-apt-repository ppa:webupd8team/sublime-text-3 sudo apt-get update sudo apt-get install sublime-text-in.....

By Hardik Savani | May 18, 2016 | | 1936 Viewer | Category : Ubuntu
READ MORE

How to uninstall cordova and ionic in ubuntu

If you require to remove cordova and ionic from ubuntu then you uninstall using terminal command. you can uninstall cordova then you can just run bellow command. I added two command one for uninstall cordova and other uninstall ionic framework. <strong>Example:</strong> <pre class="prettyprint lang-php"> sudo npm uninstall -g cordova sudo npm uninstall -g ionic </pre>

By Hardik Savani | May 10, 2016 | | 3924 Viewer | Category : Ubuntu
READ MORE

How to Install Sublime Text Editor 3 in Ubuntu?

Sublime Text is a very popular text editor in nowdays. Most of the developer chooes Sublime Test for codding because it is very smooth and pretty easy. I think specially most of the PHP developer are chooes sublime for developing. If you are working on ubunu system then you can install very easily, so just run bellow command for install Sublime Text 3 in Ubuntu. <pre> sudo add-apt-repository ppa:webupd8team/sublime-text-3 sudo apt-get update sudo apt-get install sublime-text-installer </pre>

By Hardik Savani | April 29, 2016 | | 589 Viewer | Category : Ubuntu
READ MORE

How to increase upload file size limit PHP in Ubuntu?

When i was working on my php project and i need to direct import mysql database in my phpmyadmin in Ubuntu 14.04 system, but my database size was 30MB, so i can't upload my database. that's why I need to change upload max file in php.ini. so try to find something how to change upload_max_filesize in php apache2. So if you also fetch problem like this then you can solve that issue just following example: <strong>Open php.ini file</strong> <pre> sudo gedit /etc/php5/apache2/php.ini </pre> After run above command you can open php.ini file and find bellow value and change value: <pre> upload_max_f.....

By Hardik Savani | April 20, 2016 | | 757 Viewer | Category : Ubuntu
READ MORE

    Simple Highcharts Chart Example using PHP MySQL Database

    Simple Highcharts Chart Example using PHP MySQL Database

    Open Post

    Laravel 5 - How to convert file(image, audio, video) extension using CloudConvert?

    Laravel 5 - How to convert file(image, audio, video) extension using CloudConvert?

    Open Post

    How to get keys name from array using array helper in PHP Laravel ?

    How to get keys name from array using array helper in PHP Laravel ?

    Open Post

    How to add charts in Laravel 5 using Chart JS ?

    How to add charts in Laravel 5 using Chart JS ?

    Open Post

    iOS 7 style switches for checkboxes example using switchery JS

    iOS 7 style switches for checkboxes example using switchery JS

    Open Post

    Bootstrap - maxlength validation with count remaining character example

    Bootstrap - maxlength validation with count remaining character example

    Open Post