1. Setting up the network
When setting up the network, be sure to set up a good network card, the first network card must be set to ' br0 ' (such as), set to other on the network.
To modify a network configuration file, command: sudo gedit/etc/network/interfaces
- Single NIC configuration file
# Interfaces (5) file used by Ifup (8) and Ifdown (8) Auto loiface lo inet loopback # Set Local loopback
Static #设置静态IP192.168. 0.118 #静态IP地址 255.255. 255.0 #子网掩码 192.168. 0.1 #网关
- Dual NIC configuration file
# Interfaces (5) file used by Ifup (8) and Ifdown (8) Auto loiface lo inet loopbackauto eth0
static192.168. 0.118 255.255. 255.0 192.168. 0.1 Auto eth1 Static
Address 192.168.213.103netmask 255.255.255.0
0static0
2. Update to domestic source, and install Vim
1 sudo cp/etc/apt/sources.list/etc/apt/sources.list.bak #备份 2 sudo vim/etc/apt/ Sources.list #修改 3 sudo apt-get update #更新列表
# Ali Source Deb http://mirrors.aliyun.com/ubuntu/trusty main restricted universe multiverseDeb http://mirrors.aliyun.com/ubuntu/trusty-security main restricted universe multiverseDeb http://mirrors.aliyun.com/ubuntu/trusty-updates main restricted universe multiverseDeb http://mirrors.aliyun.com/ubuntu/trusty-proposed main restricted universe multiverseDeb http://mirrors.aliyun.com/ubuntu/trusty-backports main restricted universe multiverseDEB-SRC http://mirrors.aliyun.com/ubuntu/trusty main restricted universe multiverseDEB-SRC http://mirrors.aliyun.com/ubuntu/trusty-security main restricted universe multiverseDEB-SRC http://mirrors.aliyun.com/ubuntu/trusty-updates main restricted universe multiverseDEB-SRC http://mirrors.aliyun.com/ubuntu/trusty-proposed main restricted universe multiverseDEB-SRC http://mirrors.aliyun.com/ubuntu/trusty-backports main restricted universe multiverse
3. Download and install Sogou Input method
Baidu "Sogou Input Method", download Linux version, double hit Open Deb package, installed in Ubuntu Center, after successful installation, restart effective.
4. Installing the Anaconda Kit
Baidu "Anaconda Tsinghua Source", download the latest version of the Linux version of the Anaconda package, download good, in the terminal input: Bash package name, step by step down can be;
Detailed installation process.
5. Installing CMake
Installation of Cmake: (It tooks a while to install ~1.5 min)
1 sudo wget https://cmake.org/files/v3.9/cmake-3.9.0-rc5.tar.gz-O cmake.tar.gz2 sudo tar-xvf cmake.tar.gz3 CD CMAKE-3.9.0-RC5/4 sudo chmod +x bootstrap5 sudo./bootstrap6 sudo make7 sudo make install
Note: After installing CMake, enter cmake-version to see if the CMake version is installed successfully.
*6. Installing the Dlib Library
- The following are installed by manually compiling Dlib dlib
1 git clone https://github.com/davisking/dlib.git //clone The code from GITHUB2 CD dlib3 mkdir build4 C D build5 CMake. -ddlib_use_cuda=0-duse_avx_instructions=1 //The Dlib6 CMake-build. 7 CD is compiled in the form of AVX instructions. 8 sudo python3 setup.py install--yes use_avx_instructions--no Dlib_use_cuda
Note: The last step requires some time to wait. If you use the python3.x version, the last command of Python is changed to Python3
After the installation is complete, run Python3, enter
Import Dlib
*7. Installing the Face_recognition Face Recognition library
- Installing Face_recognition
$ sudo pip install face_recognition
After the installation is complete, run Python3, enter
Import Face_recognition
*8. Installing the Setuptools Package
wget https://bootstrap.pypa.io/ez_setup.py-o-| sudo python
*9. Installing TeamViewer
ubuntu14.04 Installing TeamViewer Remote Desktop
*10. Installing VLC
Terminal input: sudo apt-get install VLC
Setting up ubuntu14.04 Server Prerequisites