Tag : Ubuntu 14.04


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 | | 2834 Viewer | Category : Installation Ubuntu Node JS React JS
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 | | 1473 Viewer | Category : Installation Ubuntu Server Apache
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 | | 1260 Viewer | Category : PHP Laravel Installation 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 | | 834 Viewer | Category : Installation 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 | | 6495 Viewer | Category : Ubuntu Sublime
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 | | 11656 Viewer | Category : Installation Ubuntu Ionic Framework
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 | | 943 Viewer | Category : Ubuntu Sublime
READ MORE

How to solve "Cannot find module 'bplist-parser'" ?

When i was working in my ionic mobile application on my ubuntu 14.04 system and i try to remove android platform at that time i see bellow error : <pre> module.js:340 throw err; ^ Error: Cannot find module 'bplist-parser' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) ..... </pre> I also did try to remove all platform directly but i still found this error. I also search on google but i notice this error also phonegap, cordova, node.js etc. at.....

By Hardik Savani | April 23, 2016 | | 1386 Viewer | Category : Other
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 | | 1049 Viewer | Category : PHP Installation Ubuntu
READ MORE

How to get php.ini file path?

You can get location path of php.ini file using php_ini_loaded_file() of PHP. Sometimes we require to get php.ini file path. So, if you need to get path of php confogration file then you can get following way: <strong>Example:</strong> <pre class="prettyprint lang-php"> print_r(php_ini_loaded_file()); </pre> You can find output something like bellow if you are use ubuntu system: <pre>/etc/php5/apache2/php.ini</pre>

By Hardik Savani | April 20, 2016 | | 2457 Viewer | Category : PHP Wampserver Installation Ubuntu
READ MORE

    Twitter Bootstrap - Digital Clock picker with AM PM example using clockface plugin

    Twitter Bootstrap - Digital Clock picker with AM PM example using clockface plugin

    Open Post

    How to implement lazy loading image with example for your website?

    How to implement lazy loading image with example for your website?

    Open Post

    Bootstrap form validation example with demo using validator.js plugin

    Bootstrap form validation example with demo using validator.js plugin

    Open Post

    Custom User Log Activity in Laravel 5 App Example

    Custom User Log Activity in Laravel 5 App Example

    Open Post

    Laravel 5.3 Image Upload with Validation example

    Laravel 5.3 Image Upload with Validation example

    Open Post

    Bootstrap - Show/Hide(toggle) Password input field using bootstrap-show-password.js Plugin

    Bootstrap - Show/Hide(toggle) Password input field using bootstrap-show-password.js Plugin

    Open Post