Ubuntu linux - 安装完成后、(编程)好用的桌面软件

司易安
2023-12-01

安装完成后

https://blog.csdn.net/gatieme/article/details/44856359

设置root密码

sudo passwd

VMware Tools
https://blog.csdn.net/qq_41782425/article/details/85125807

检察网络

sudo apt-get install net-tools
ifconfig

更新软件源
https://www.cnblogs.com/dadonggg/p/11129973.html

sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup 

sudo vi /etc/apt/sources.list

追加如下地址:

#添加阿里源
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
sudo apt-get update
sudo apt-get upgrade

软件

卸载:https://blog.csdn.net/luckydog612/article/details/80877179

2020年09月12日


美化

ubuntu20.04 美化全过程实录
Ubuntu18.04 linux - 软件安装、美化
Ubuntu 16.04 完全美化指南

  • Plank

磁盘管理

  1. Linux 挂在硬盘到指定路径

  2. 怎么组 RAID?其实很简单!

  3. Linux - 硬盘(类型、分区、挂载、开机自动挂载)、光盘开机自动挂载、特殊挂载方式(光盘镜像、只读挂载)、LVM资料

清理缓存

root@openwrt_d2550:~# find / -name release_ram*
/rom/usr/lib/lua/luci/controller/release_ram.lua
/rom/usr/lib/lua/luci/i18n/release_ram.zh-cn.lmo
/usr/lib/lua/luci/controller/release_ram.lua
/usr/lib/lua/luci/i18n/release_ram.zh-cn.lmo
root@openwrt_d2550:~# cat /usr/lib/lua/luci/controller/release_ram.lua
module("luci.controller.release_ram",package.seeall)

function index()

        entry({"admin", "status", "release_ram"}, call("release_ram"), _("Release Ram"), 9999)
end

function release_ram()
        luci.sys.call("sync && echo 3 > /proc/sys/vm/drop_caches")
        luci.http.redirect(luci.dispatcher.build_url("admin/status"))
end
root@openwrt_d2550:~#

定时清理 cron

*/20 * * * * echo 1 > /proc/sys/vm/drop_caches#整句复制到计划任务 每20分钟释放内存
 类似资料: