Wednesday, 15 February 2017

Run Redis, Mongod, rabitmq, elasticsearch on Ubuntu 16.04

1. redis-server, redis-cli;
2. systemctl start mongod
systemctl status mongod
3. Rabbitmq: http://127.0.0.1:15672/#/
4. elasticsearch
https://www.elastic.co/guide/en/elasticsearch/reference/1.7/_installation.html

cd elasticsearch-1.7.6/bin


./elasticsearch 

Sunday, 12 February 2017

Call to undefined method Illuminate \ Foundation \ Application ::bindShared()

Call to undefined method Illuminate \ Foundation \ Application ::bindShared()


To Fix this remove the outdated package "illuminate/html": "^5.0" and replace with new Laravel collective package as shown below
Đối vớ laravel 5.4
 "laravelcollective/html": "5.3.*"

Saturday, 31 December 2016

Terminal won't launch after upgrade

<h3>Terminal won't launch after upgrade </h3>
use Xterm excute comand

sudo dpkg  --configure -a

sudo apt-get update

sudo apt-get -f install

sudo apt-get install ubuntu-desktop

Friday, 30 December 2016

Thursday, 29 December 2016

php bcadd() enable php

In ubuntu
bcadd() is a part of bcmath, a built-in php library. 
You need to enable it when you build/install PHP.
For PHP5.6
sudo apt install php5.6-bcmath
For PHP7.0
sudo apt install php7.0-bcmath
For other PHP versions
sudo apt install php-bcmath

Wednesday, 28 December 2016

Chang Proxy Ignore Exceptions via GUI Ubuntu

The graphical counterpart for gsettings command-line tool is dconf-editor.
First install it on your desktop.

Wednesday, 21 December 2016

Install php-redis

Install php-redis

sudo apt-get install php-redis
Which will installphp-redis and any other packages on which it depends.

Package Data

Packagephp-redis
Version2.2.7-389-g2887ad1+2.2.7-1
MaintainerUbuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Home pagehttp://pecl.php.net/package/redis
DescriptionPHP extension for interfacing with Redis
Distroubuntu
Releasexenial
Repouniverse
Sectionuniverse/php