配有英伟达显卡的主机,装完 Ubuntu 16.04 后出现闪屏现象,是由于没有安装显卡驱动。
显卡型号
NVIDIA Corporation GM204 [GeForce GTX 970]
DEVICE="he-ipv6" | |
DEVICETYPE=sit | |
BOOTPROTO=none | |
ONBOOT=yes | |
IPV6INIT=yes | |
IPV6TUNNELIPV4=184.105.253.10 | |
IPV6TUNNELIPV4LOCAL=XXX.XXX.XXX.XXX | |
IPV6ADDR=2001:470:YYYY:YYYY::2/64 | |
IPV6_DEFAULTGW=2001:470:YYYY:YYYY::1 |
These commands are based on a askubuntu answer http://askubuntu.com/a/581497 | |
To install gcc-6 (gcc-6.1.1), I had to do more stuff as shown below. | |
USE THOSE COMMANDS AT YOUR OWN RISK. I SHALL NOT BE RESPONSIBLE FOR ANYTHING. | |
ABSOLUTELY NO WARRANTY. | |
If you are still reading let's carry on with the code. | |
sudo apt-get update && \ | |
sudo apt-get install build-essential software-properties-common -y && \ | |
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \ |
#!/usr/bin/env python | |
"""Simple HTTP Server With Upload. | |
This module builds on BaseHTTPServer by implementing the standard GET | |
and HEAD requests in a fairly straightforward manner. | |
""" | |