An's Blog
收藏、分享 …
Toggle navigation
Home
Cesium
SuperMap
ArcGIS
MapboxGL
CentOS
GeoServer
Favorites
Archives
Tags
Debian 9常用软件安装与配置
2022-12-08 11:19:47
2
0
0
admin
## **1. 最新镜像地址** http://cdimage.debian.org/cdimage/release/current-live/ ## **2. APT更新源配置** - ***Debian 9*** deb http://mirrors.163.com/debian/ stretch main contrib non-free deb http://mirrors.163.com/debian/ stretch-updates main contrib non-free deb http://mirrors.163.com/debian/ stretch-proposed-updates main non-free contrib deb http://mirrors.163.com/debian/ stretch-backports main non-free contrib deb-src http://mirrors.163.com/debian/ stretch-updates main contrib non-free deb-src http://mirrors.163.com/debian/ stretch main contrib non-free deb-src http://mirrors.163.com/debian/ stretch-proposed-updates main contrib non-free deb-src http://mirrors.163.com/debian/ stretch-backports main contrib non-free deb http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib deb-src http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib deb http://security.debian.org/debian-security stretch/updates main contrib deb-src http://security.debian.org/debian-security stretch/updates main contrib deb http://deb.debian.org/debian/ stretch-updates main contrib deb-src http://deb.debian.org/debian/ stretch-updates main contrib deb http://httpredir.debian.org/debian stretch-backports main contrib non-free deb http://ftp.de.debian.org/debian stretch main non-free deb http://ftp.debian.org/debian/ stretch main contrib non-free - ***Debian 10*** deb http://mirrors.163.com/debian/ buster main contrib non-free deb http://mirrors.163.com/debian/ buster-updates main contrib non-free deb http://mirrors.163.com/debian/ buster-proposed-updates main non-free contrib deb http://mirrors.163.com/debian/ buster-backports main non-free contrib deb-src http://mirrors.163.com/debian/ buster-updates main contrib non-free deb-src http://mirrors.163.com/debian/ buster main contrib non-free deb-src http://mirrors.163.com/debian/ buster-proposed-updates main contrib non-free deb-src http://mirrors.163.com/debian/ buster-backports main contrib non-free deb http://mirrors.163.com/debian-security/ buster/updates main non-free contrib deb-src http://mirrors.163.com/debian-security/ buster/updates main non-free contrib deb http://security.debian.org/debian-security buster/updates main contrib deb-src http://security.debian.org/debian-security buster/updates main contrib deb http://deb.debian.org/debian/ buster-updates main contrib deb-src http://deb.debian.org/debian/ buster-updates main contrib deb http://httpredir.debian.org/debian buster-backports main contrib non-free deb http://ftp.de.debian.org/debian buster main non-free deb http://ftp.debian.org/debian/ buster main contrib non-free **更新软件** # apt-get update # apt-get install aptitude # aptitude update # aptitude dist-upgrade # apt-get install apt-transport-https ca-certificates //add support for https apt sources by installing a couple of packages # apt-get install build-essential # 安装基本开发工具 # apt-get install linux-headers-$(uname -r) # 安装内核头文件 ## **3. 安装Numix主题和图标** 使用 Numix 的官方 PPA 来进行安装,先打开 终端 使用如下命令安装 Numix 主题和图标: add-apt-repository ppa:numix/ppa apt-get update apt-get install numix-gtk-theme numix-icon-theme-circle 根据更新后发生异常的公钥,执行以下语句: apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A074F0583066C9C9 如果想安装 Numix 桌面壁纸,可使用如下命令: apt-get install numix-wallpaper-* 安装numix-blue-gtk-theme扩展,您可以使用以下列表中的任何一个源镜像只要往您的 /etc/apt/sources.list 文件中像下面这样添加一行: deb http://ftp.de.debian.org/debian sid main 使用Tweak Tool工具进行配置。 安装Bubble主题 在线地址:https://www.gnome-look.org/p/1253999/ 附件下载 图标下载: arc-icon-theme korla suru-plus alt ## **4. 安装macOS High Sierra主题** 在线地址:https://www.gnome-look.org/p/1013714/ 直接下载源码安装,执行目录内的install.sh脚本 alt ## **5. fcitx输入法安装配置** 添加中文支持,在终端输入 dpkg-reconfigure locales ,然后选择 zh_CN.UTF-8 UTF-8 ,这个是可选的。 dpkg-reconfigure locales 安装中文字体 apt install fonts-wqy-microhei fonts-wqy-zenhei 安装五笔输入法 apt install fcitx fcitx-config-gtk fcitx-table-wubi-large 输入法任选 apt-get install fcitx-pinyin apt-get install fcitx-sunpinyin apt-get install fcitx-googlepinyin apt-get install fcitx-table-wubi-large ## **6. owncloud-client安装** 切记:不要下载.deb包进行安装,安装不成功! 针对Debian 9,添加更新源,以root运行下面命令: echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_9.0/ /' > /etc/apt/sources.list.d/isv:ownCloud:desktop.list apt-get update apt-get install owncloud-client 把软件源金钥添加到apt,系统将会信任的更新、软件包和软件源,执行以下命令: wget -nv https://download.opensuse.org/repositories/isv:ownCloud:desktop/Debian_9.0/Release.key -O Release.key apt-key add - < Release.key apt-get update ## **7. netdata监控软件安装** 安装依赖 apt-get install zlib1g-dev uuid-dev libmnl-dev gcc make git autoconf autoconf-archive autogen automake pkg-config curl 执行安装命令 apt install netdata 访问地址 http://127.0.0.1:19999/ sudo命令安装及使用 安装 apt install sudo 普通用户添加sudo权限 修改/etc/sudoers文件为可写 chmod +w /etc/sudoers 编辑/etc/sudoers,添加如下行 VMware 15依赖安装 Linux Headers安装 apt-get install linux-headers-$(uname -r) gcc 6.3安装 apt-get install gcc-6 canberra-gtk-module模块安装 apt install libcanberra-gtk-module ## **8. 视频播放器** apt-get install mpv mplayer ## **9. FTP客户端** apt install filezilla ## **10. google earth** wget https://dl.google.com/dl/earth/client/current/google-earth-stable_current_amd64.deb ## **11. chrome** wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb ## **12. iPhone** apt install libimobiledevice-utils libimobiledevice-dev libgpod-dev ## **13. 双系统时间不一致问题** apt-get install ntpdate ntpdate time.windows.com hwclock --localtime --systohc
Pre:
CentOS7配置RAID5实操(4块硬盘,3块做RAID,1块做备份)
Next:
iOS小火箭(Shadowrocket)怎么用教程/配置/节点
0
likes
2
Weibo
Wechat
Tencent Weibo
QQ Zone
RenRen
Table of content