I will explain how to install php7.1 on Debian Jessie using deb.sury.org
Install packages required for third party repositories over https
$ apt-get install apt-transport-https lsb-release ca-certificates wget
Get the repository key
$ wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
Add the repository
$ echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list
Update package list
$ apt-get update
Install php 7.1
$ apt-get install php7.1-cli
You should be able to use php from cli
[email protected]:~# php -v
PHP 7.1.1-1+0~20170120094658.14+jessie~1.gbp69d416 (cli) (built: Jan 20 2017 11:53:59) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.1.1-1+0~20170120094658.14+jessie~1.gbp69d416, Copyright (c) 1999-2017, by Zend Technologies
It is very common that you will need some more packages like xdebug, xml, mysql
apt-get install php7.1-xdebug php7.1-xml php7.1-mysql php7.1-mbstring
This tutorial use info from deb.sury.org
Posted in Debian, Linux, php
I’m running debian 8 (Jessie).
My skype video and screen share worked fine. For a few weeks both are not working.
Here is how to fix the issue:
- stop skype
- rm ~/.Skype -r
- rm ~/.config/Skype -r
- Start skype
Note that .config/Skype maybe KDE specific.
Your saved login will be lost.
You will lost chat logs.
Insert the following in /etc/network/interfaces:
iface lxc-bridge-nat inet static
up iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE
- Give this command to enable forwarding
echo 1 > /proc/sys/net/ipv4/ip_forward
I don’t (didn’t) know why I have so much problems with bridged adapters on Debian. Specially using LXC.
Here is my solution:
- Install lxc (hope you know how to do it)
- Install # aptitude install bridge-utils
- Edit /etc/network/interfaces. I will use eth1 for bridge port.Add the following:
iface eth1 inet dhcp
iface lxcbr0 inet static
pre-up brctl addbr lxcbr0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
- Restart network. “# /etc/init.d/networking restart”
- Check $ ifconfig for lxcbr0 adapter. If there is no adapter – reboot.
- Check internet connection. If there is internet on both lxc container and host – skip reading.
- Type “route -n”
- Lxcbr0 should have higher number (use it after trying to use other devices.
- Change lxcbr0 priority. “# ifmetric lxcbr0 10000”
To persist metric option add configuration key in /etc/network/interfaces
iface eth1 inet dhcp
- Restart network -> “# /etc/init.d/networking restart”
- Example of container config:
lxc.network.type = veth
lxc.network.flags = up
lxc.network.link = lxcbr0
lxc.network.name = eth0
lxc.network.ipv4 = 10.0.3.70
Now you could access container on 10.0.3.70. And you could access host from container on 10.0.3.1
There is (pretty big) chance that you get the following issue during boot:
A start job is running for LSB: Raise network interfaces
This will happen when eth1 have no connection. It is possible to have no internet when this happen. E.g. you have unplugged eth1, but plugged eth0. Then see step #9 and change interface metrics.
Normally ahavi should start when cable is unplugged. This allow you to have IP on eth1 and be able to use the lxcbr0.
For those who doesn’t know Scenyo – click
I woke up, got dressed, picked the keys. Walking to the Sennyo. Unlocked the doors, started the engine. I’m driving to work. I parked. Stopped the engine. Removed the card. I got out of the cat. Started walking to work. I pressed the “lock” button on the card. Nothing happened. Cat is not locked! I entered the car. I started the engine. Engine stars so card should work. “Just in case” I keep extra batter below the seat. I changed the batteries. I got out of the car. I pressed the “lock” button. Nothing happened! I closed all doors. Checked if there is something valuable in the car. I went to work. I sit on the PC and googled “Renault won’t lock”. Surprice ….. 10000000 resuls. Clicked first result. Simple explanation: car card do not work below 5 degrees! IT JUST DOESN”T WORN IN COLD! So, what had happened ? In my house is hot, while I walk to the car, card is still hot. But on the way to work it get cold! Cat doesn’t have enough time to warm and card is too cold to operate! Simple solution is to put the card next to hot skin, e.g. under the arm. Or remove it from the slot after the engine start. Put it in your warm pocker 🙂
Topic in UK Renault forum: http://www.renaultforums.co.uk/archive/index.php/t-2293.html
Statistic from 2014
Wheelset Superstar, switch hubs, Placenti TL28 rimsa.
Bike carrier for roof.
Shoes, 5.10 impact2 high.
Castelli jacker , size L, little too big for me 🙁
inner tires and glue
Tires – maxxis dhf & dhr2
Enduro fee – http://www.endurowarriors.com/#!challenge/c24tn
Rear derailleur (mine is unusable …)
Bottom bracket removal tool.
GXP bottom bracker (replacement)
Rear shock. RS Monarch rc3+ 🙂
Front and read lights