Quanzhi H6 Orange Pi Lite 2 Android 7.0 WIFI configuration
Problem reason
At present, the WIFI of the image compiled by our SDK is useless. We will continue to solve this problem.
Check the schematic diagram and confirm the pin
It can be confirmed from the schematic diagram that SDC1 module is used for WIFI, power supply is provided by VCC33-WIFI, and VCC33-WIFI is provided by CLDO3 ...
Posted by haixiao on Mon, 30 Dec 2019 20:53:46 -0800
Three uses of postgresql highly available repmgr: 1 Primary + 1 Standby installation
os: ubunbu 16.04
postgresql: 9.6.8
repmgr: 4.1.1
192.168.56.101 node1
192.168.56.102 node2
Install postgresql 9.6 software
Both node1 and node2 need to use apt install to install postgresql9.6.8. The last bit represents the patch number
# apt install postgresql-plpython-9.6 postgresql-plperl-9.6 postgresql-pltcl-9.6 postgresql ...
Posted by kaedus on Thu, 26 Dec 2019 06:57:43 -0800
PG fdw connection establishment and closure
PG starts psql locally, accesses external tables, and exits
The connection between PG and remotePG is broken as the client psql exits.
PG starts multiple psqls locally, and each psql accesses the external table once
View remotePG process
postgres@ubuntu:~$ ps -ef|grep post
root 134 89 0 09:36 pts/0 00:00 ...
Posted by jollyjumper on Sun, 22 Dec 2019 07:41:52 -0800
Kinect2 runs RGB-D interface under orb slam2 through ROS
Written in front
In the last article, I recorded the driver of Kinect2 installed in Ubuntu and the bridge running in ROS. Now I can't wait to run the RGB-D interface under ORB-SLAM2.
Modify ORB-SLAM2
After installing the Kinect2 driver, execute:
roslaunch kinect_bridge kinect_bridge.launch
Then execute the following comm ...
Posted by potatoCode on Tue, 17 Dec 2019 14:05:40 -0800
Problems encountered in compiling and installing Apache,nginx,mysql,php, etc. for Raspberry Pie 3B
Raspberry Pie Compile Install LANMP
brief introduction
My raspberry pie here is 3 B Edition, CPU4 Kernel, memory 1 G,System I use is Ubuntu 19.10 Edition.The mirror uses Ali's mirror with the following source:
deb https://mirrors.aliyun.com/ubuntu-ports eoan main restricted
deb https://mirrors.aliyun.com/ubuntu-ports eoan-updates main rest ...
Posted by dotty on Mon, 16 Dec 2019 20:28:04 -0800
Ubuntu replacement and use of apt source and python source (only applicable to zju intranet)
Ubuntu replacement and use of apt source and python source.md
One click change script content
#! /bin/bash
echo "Set up image source of Zhejiang University"
(cat << EOF
deb http://mirrors.zju.edu.cn/ubuntu xenial main universe restricted multiverse
deb http://mirrors.zju.edu.cn/ubuntu xenial-security main universe restricted multiverse
de ...
Posted by shedokan on Sun, 15 Dec 2019 10:24:24 -0800
Top 250 music of bean petals of python reptiles
I've been home for a long time. I can't bear it. I want to climb up and play with some data. My notebook used to be a dual system of win7 plus ubuntu 16.04. I planned to write code in ubuntu, but when I came back home, it's always a purple screen. Baidu knows how to use it, but I can't solve it. A good brother can teach me. There's ...
Posted by maddogandnoriko on Sun, 15 Dec 2019 06:48:17 -0800
docker runs python web Services
Create the simplest python+django project and run it in the docker container.
Environmental Science:
In 192.168.174.134 server
docker image: python:2 (python2.7.15)
django: 1.8.31. Create python project in 134 server
django-admin startproject ops
python manage.py migrate
Create a root user
python manage.py createsuperuser
root@u ...
Posted by jeffery on Sat, 14 Dec 2019 09:03:10 -0800
C + + calls Tensorflow model in Python
C + + calls Tensorflow model
Save tensorflow model
Model loading code
C + + program calls Python program
CMakeLists document writing
Result
Use C + + to call Python 2.7 program, load tensorflow model (why not use Python 3, there are too many pits, which has not been solved well). The whole environment is completed under Ub ...
Posted by ojeffery on Wed, 11 Dec 2019 08:05:09 -0800
Android source code download and compilation - 2019
Android source code download and compilation - 2019 (based on Ubuntu 18.10, applicable to domestic environment)
Download repo tool
If you do not download the repo script tool, please go to Tsinghua mirror to download it
curl https://mirrors.tuna.tsinghua.edu.cn/git/git-repo -o repo
chmod +x repo
Then set the update source:
export REPO_URL='http ...
Posted by melkara on Mon, 09 Dec 2019 12:35:11 -0800