Kamis, 09 Januari 2020

Laravel: Cara Menampilkan Image di Laravel 6

Untuk menampilkan image di Laravel 6:

  1. Jalan command sbb:
    
    $php artisan storage:link
    
     
  2. Kemudian utk mengakses image sbb:

    <   img src="{{ asset('storage/images.png') }}"   > 


Perlu diingat bahwa file harus anda Upload di folder:

"public_html/app-laravel-anda/storage/app/public/" agar bs diakses.

LARAVEL: Cara Mengaktifkan Node.js di WHM/CPanel

WHM/CPanel sejak versi v80 sudah menyertakan fitur Node.js secara langsung. Sehingga semua account CPanel tidak perlu melakukan instalasi manual.

Caranya sebagai berikut:
  1. WHM - EasyApache 4
  2. Aktifkan:
    1. ea-nodejs10
    2. ea-apache24-mod_env
    3. ea-ruby24-mod_passenger  
  3. Kemudian klik Provisioning/Compile
Dengan menginstall ea-nodejs10 maka otomatis npm terinstall.

Penting diketahui bahwa npm ada di folder /opt/cpanel/ea-nodejs10/bin/ sehingga agar memudahkan mk masukkan path tsb ke dalam system sbb:

export PATH=/opt/cpanel/ea-nodejs10/bin/:$PATH

Sehingga user bisa langsung memanggil command "npm" tsb.

LARAVEL: Login menggunakan Username (bukan email)

Berikut ini cara Login di Laravel menggunakan Username (bukan Email):

  • https://dev.to/pramanadiputra/laravel-how-to-let-user-login-with-email-or-username-j2h

LARAVEL: AGAR WAJIB VERIFIKASI EMAIL

 Agar Laravel wajib  melakukan verifikasi email maka caranya lihat link berikut ini:

  • https://medium.com/@pran.81/how-to-implement-laravels-must-verify-email-feature-in-the-api-registration-b531608ecb99
  • https://www.itsolutionstuff.com/post/laravel-58-email-verification-exampleexample.html


Sabtu, 23 November 2019

Failed Windows Update KB4493132

When you do Win7 SP1 upgrade to SP2 (In 2016, Microsoft decided to package 5 years worth of updates 2011-2016 into a single update, called the "convenience update"or you can called SP2) then you may experience this error:

Failed Windows Update KB4493132

To solve this issue, just try to install KB4490628 first:
http://download.windowsupdate.com/c/msdownload/update/software/secu/2019/03/windows6.1-kb4490628-x64_d3de52d6987f7c8bdc2c015dca69eac96047c76e.msu

HTH.

Rabu, 17 Februari 2010

How to Install VNC or TightVNC Server on Ubuntu?

VNC Server was required if you need to remote your GUI of Ubuntu. But since VNC performance very bad then we will use TightVNC which has better performance. TightVNC already available on Ubuntu default repository, so we can install it by executing:
#apt-get install tightvncserver

Rabu, 10 Februari 2010

VirtualBox Web Console: Installation Guide

After you finish a successful installation of VirtualBox then you may not like to use graphical UI to operate VirtualBox, so do I, because its consumes too much memory and cpu resources. We need a simple tools but more user-friendly then a text command. Fortunately, VirtualBox has a web based UI,called as: VirtualBox Web Console.

Now, lets start to install it: