原创 ubuntu debian 等解決 matplotlib 畫圖沒中文只有方塊的問題

我還是喜歡文泉驛一點。。。 matplotlib 是 apt install python3-matplotlib sudo cp /usr/share/fonts/truetype/wqy/wqy-microhei.ttc /us

原创 ubuntu 18.04 +Anaconda 無需單獨安裝cuda 就能在tensorflow和pythorch啓用 gpu

show_channel_urls: true default_channels: - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main - https://mirr

原创 ubuntu 18.04 P106-90 nvidia-docker tf 1.13.1 /models/tutorials/image/cifar10/ 跑個分

name: P106-090 major: 6 minor: 1 memoryClockRate(GHz): 1.531 pciBusID: 0000:06:00.0 totalMemory: 5.94GiB freeMemory: 5

原创 ubuntu 18.04 nvidia-docker 跑 tensorflow/models/official/mnist/ 成績記錄

最近在學人工智能 ,學是沒學會 跑分倒是看了一些。。。  tensorflow/models/official/mnist/  以這個例子爲例說明 tf  1.13.1 models 1.5 notebook GTX 1660ti 0

原创 N1盒子刷armbian後需要禁止的服務

zc@aml:~$ sudo systemctl daemon-reload zc@aml:~$ sudo systemctl stop [email protected] zc@aml:~$ sudo systemc

原创 ubuntu-geoserver docker配置文件

FROM ubuntu:18.04 ADD *.ttf /usr/share/fonts/truetype/ RUN apt-get update \ && apt-get upgrade -y && apt inst

原创 ubuntu 18.04.2 安裝 hp 1007 打印機

 其實不僅僅是1007 ,HP的很多打印機都需要單獨的驅動,這個在ubuntu安裝好以後是沒有的,需要單獨安裝,否則默認的情況,打印程序死掉打不了東西,或者點了打印沒反應   ubuntu默認已經安裝了hplip 但是是沒有驅動的 ubu

原创 armbian N1 開機固定MAC debian10

  GNU nano 3.2 /boot/uEnv.ini   dtb_name=/dtb/meson-gxl-s905d-phicomm-n1.dtb bootargs=root=LABEL=ROOT_EMMC rootflags=da

原创 thinkpad x61s 插 pcmia 安裝 openwrt 啓用雙網卡

這個老機器發揮餘熱,這也算是一種辦法吧。。。 使用官方默認提供的openwrt 使用映像安裝軟件(linux的話 dd 命令到U盤) 直接拷貝到U盤,選擇U盤啓動即可   插個8139的 pcmia 網卡 和機器自帶的 網卡組成雙網卡  

原创 debian10 安裝 cockpit 並改端口

安裝簡單 apt install cockpit 就行,但是默認端口是9090 要改了它 nano /etc/systemd/system/sockets.target.wants/cockpit.socket 改了這裏面的端口 然

原创 Ubuntu server 18.04 內網正常使用DNS

systemctl stop systemd-resolved systemctl disable systemd-resolved 哎 這個Ubuntu啊。。。。。   然後手工編輯下  nano /etc/resolv.conf 就

原创 docker 下跑 py-kms

先找到KMS https://github.com/myanaloglife/py-kms  然後docker拉影像 docker pull python:2.7-alpine 起docker docker run -d --na

原创 postgresql gis jilu

yum install  postgis25_10* http://download.openstreetmap.fr/extracts/asia/china/ createdb osm psql -d osm -c 'CREATE EX

原创 ubuntu 加 WPS 源

感謝優麒麟的努力工作 Ubuntu(18.04、16.04)上 WPS 新版本安裝步驟: 1、修改源配置文件,在/etc/apt/sources.list文件中添加一行: deb http://archive.ubuntukylin.c

原创 ubuntu debian 安裝 Alfresco 後預覽WORD文檔等需要安裝的軟件

apt install -y openjdk-8-jre maven libreoffice ghostscript ghostscript-x fonts-noto fonts-wqy* poppler-utils fonts-ipa