Install Laravel in Ubuntu 16.04

Installing Laravel

In previous post i have explain you how to install composer, today we will learn how to install Laravel using composer.
becouse i'm using apache webserver then my default Documentroot is in the /var/www/html.

so, open you terminal and go to /var/www/html and then run this command


Make VirtualHost

Now go to the /etc/apache2/sites-available directory and use 
the following command to create a configuration file for our laravel install.

cd /etc/apache2/sites-available
sudo nano laravel.conf


Now we have to enable this newly created .conf file and disable the default .conf file that is installed with the default Apache install. Also we need to enable mod_rewrite so that permalinks can function properly.


now open  browser and hit http://webtoken.faiz . picture below is screesshoot of my project















On next post we will learn about crud in laravel and postgre.

Install Composer on Ubuntu 16.04

Introduction

Composer is an application-level package manager for the PHP programming language that provides a standard format for managing dependencies of PHP software and required libraries.


1- Installing Dependency

Before you are Downloding and installing composer, you have to make sure that your server already updated. all you need is to update Package manager chache by running this command
you need curl and php7.0-cli to install composer  use this commond to install both of them


2- Download And Installas Composer

it's really easy to install composer, all you need is just run this command

Yes, after executing the Command above, Composer is already downloaded and installed as a system command named 'composer', in the / usr / local / bin directory. Well, after the composer is installed, there is a notification like this:
 All settings correct for using ComposerDownloading 1.2.4... 
 Composer successfully installed to: /usr/local/bin/composer
 Use it: php /usr/local/bin/composer

make sure that you composer already installed properly by executing this command in you terminal






How To Make Radio Online

Introduction

Internet is an audio service transmitted via the Internet
for example you can visit my radio hire  http://uqi-fm.com/streaming/

Requirment

to make your radio transmatted via the internet you need some broadcaster software and shoutcast server,  shoutcast server it's self is a streming server which allows radio stations to effectively broudcast radio online.

Step 1 : install Broadcaster software

I use SAM BROADCASTER software, you can download on the link below and install on your komputer. I use windows 7.


Step 2 : Setup Shoutcast Server

there are many free shoutcast sarver, one of them is listen2myradio.com, if you don't have account yet.. then resgister. 

Step 3 : Connecting SAM BROADCASTER to Shoutcast Server

you can read the tutorial hire

Step 4 : Setup Radio Player on Wordpress

1. Login to your wordpress and begin to install radio player plug-in. i use "Shoutcast Icecast HTML5 Radio Player" made by sandeep verma
















2.  make you player : Goto menu setting -> Shoutcast Icecast HTML5 Radio Player Option and then  fill Radio Stream link with IP Address and PORT given by listen2radio.com. to get your the IP Address and post just login to your listen2radio.com contol-panel. after you are complete fill the form then generate player code by submiting button "generate player code button" and then copy the code



3. Create new page on your wordpress and then paste generated player code and publish the page.
4. Done.

visit  http://uqi-fm.com/streaming/ for example.

Android Version :



Install Laravel in Ubuntu 16.04

Installing Laravel In previous post i have explain you how to install composer , today we will learn how to install Laravel using composer...