Cloud Torrent是一款非常好用的离线下载程序,针对某些迅雷无法下载的资源有着非常棒的下载体验。
在Debain9上安装Docker-CE
安装依赖
1 |
apt-get install apt-transport-https ca-certificates curl gnupg2 software-properties-common |
安装Key
1 |
curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg | sudo apt-key add - |
添加源
1 |
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") $(lsb_release -cs) stable" |
安装docker-ce
1 2 |
apt-get update apt-get install docker-ce |
测试
1 |
docker run hello-world |
输出
1 2 |
Hello from Docker! This message shows that your installation appears to be working correctly. |
解决GoPro Quik 2.5桌面版登陆后黑屏的问题
问题:GoPro Quik 2.5桌面版在Windows 10系统下,使用已有账号成功登陆后会出现黑屏假死,无法正常使用。
Debian9安装Redis-Server
安装redis-server
1 |
apt install redis-server |
output
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: redis-tools Suggested packages: ruby-redis The following NEW packages will be installed: redis-server redis-tools 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 875 kB of archives. After this operation, 2,380 kB of additional disk space will be used. Do you want to continue? [Y/n] |
安装php-redis
1 |
apt install php7.0-redis |
output
1 2 3 4 5 6 7 8 9 10 11 12 |
Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'php-redis' instead of 'php7.0-redis' The following additional packages will be installed: php-igbinary The following NEW packages will be installed: php-igbinary php-redis 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 137 kB of archives. After this operation, 584 kB of additional disk space will be used. Do you want to continue? [Y/n] |
PHP7安装APCu
安装APCu
1 2 3 |
apt-get update apt-get install php-apcu service apache2 reload |
由于APCu相比其他memecache方案兼容性要差,所以首推其他方案,如更加先进的Redis