sudo rm -rf /var/lib/apt/lists/*
sudo apt-get update
sync
Can't install Python-software-proper or Icehouse on server 12.04.5 LTS (Hash Sum mismatch)
Linux tips and trick ubuntu Unknown Monday, August 17, 2015 0 comments
How to setup / install PHP 5.6 on Ubuntu 14.04 LTS
Ubuntu 14.04 LTS ships with PHP 5.5 by default, but if you want to
use PHP 5.6, then it’s just 3 lines on the command line away. Please
note that this tutorial is for installing on a fresh and untouched
Ubuntu 14.04 LTS, not for updating an existing installation of PHP. This
works perfectly on every tested Ubuntu 14.04 LTS.
1. Add PHP 5.6 package sources to your system:
sudo add-apt-repository ppa:ondrej/php5-5.6and confirm with ENTER. If you get an error here, you need to install python-software-properties first (and then do the line above again):
sudo apt-get update sudo apt-get install python-software-properties2. Update
sudo apt-get update3. Install PHP
sudo apt-get install php5and confirm with “y” and ENTER. You’ll now already see “PHP 5.6.x” in the scrolling installation logs. To properly check the installed version of PHP do:
php5 -vVoila! By the way, this extremely-easy-to-install PHP 5.6 package was created by Ondřej Surý, so consider donating him a beer or a coffee via his donation page.
cara install admin LTE di ubuntu 14.04
Installation
gunakan composer
1 . install AdminLTE v2 : di terminal ketik
composer require dmstr/yii2-adminlte-asset "2.*"
2. kemudian edit
/opt/lampp/htdocs/advanced/common/config/main-local.php
tambahkan tapi component jangan diikiutkan ya.
'components' => [
'view' => [
'theme' => [
'pathMap' => [
'@app/views' => '@vendor/dmstr/yii2-adminlte-asset/example- views/yiisoft/yii2-app'
],
],
],
],
3. Dan copy file vendor ke view backend
vendor/dmstr/yii2-adminlte-asset/example-views/yiisoft/yii2-app
4. kalau mau tambahkan skin monggo edit
/opt/lampp/htdocs/advanced/common/config/main-local.php
'components' => [
'assetManager' => [
'bundles' => [
'dmstr\web\AdminLteAsset' => [
'skin' => 'skin-black',
],
],
],
],
5. udah run aja
yii2 framework Unknown Monday, August 10, 2015 0 comments
Update composer di ubuntu 14.04
Kawan kalau ingin anda bermasalah dengan composer di ubuntu { alias download aplikasi gagal } tinggal update composer aja . dengan perintah di terminal : composer self-update
yii2 framework Unknown 0 comments