分类 "Linux" 下的文章

问题: ubuntu server如何安装图形界面?

方法:

1.安装x-windows的基础(必须):

 sudo apt-get install x-window-system-core

2.安装gnome基础(必须):

sudo apt-get install gnome-core 或 kde-core 或 xfce4

阅读全文

问题:科达摄像机rtsp取流地址是什么?

解决:

海康旧版本

rtsp://username:password@//ch/
举例1:DS-9016HF-ST的IP通道01主码流:
rtsp://admin:12345@172.6.22.106:554/h264/ch33/main/av_stream
举例2:
DS-9016HF-ST的模拟通道01子码流:
rtsp://admin:12345@172.6.22.106:554/h264/ch1/sub/av_stream
举例3:DS-9016HF-ST的零通道主码流(零通道无子码流):
rtsp://admin:12345@172.6.22.106:554/h264/ch0/main/av_stream
举例4:DS-2DF7274-A的第三码流:
rtsp://admin:12345@172.6.10.11:554/h264/ch1/stream3/av_stream

阅读全文

问题:使用libreoffice将doc转换为pdf时cpu上升到100%还转换失败了

解决:转换失败可能是缺少字体

方法:

wget https://mirrors.tuna.tsinghua.edu.cn/adobe-fonts/source-han-serif/SubsetOTF/SourceHanSerifCN.zip
wget https://mirrors.tuna.tsinghua.edu.cn/adobe-fonts/source-han-sans/SubsetOTF/SourceHanSansCN.zip
unzip SourceHanSansCN.zip
unzip SourceHanSerifCN.zip

sudo cp -r SourceHanSansCN /usr/share/fonts/
sudo cp -r SourceHanSerifCN /usr/share/fonts/

sudo apt install fontconfig
fc-cache -fv

阅读全文