手册
Contents
腾讯云轻量优化
#!/bin/bash
#fuck tx process
rm -rf /usr/local/sa
rm -rf /usr/local/agenttools
rm -rf /usr/local/qcloud
process=(sap100 secu-tcs-agent sgagent64 barad_agent agent agentPlugInD pvdriver )
for i in ${process[@]}
do
for A in $(ps aux |grep $i |grep -v grep |awk '{print $2}')
do
kill -9 $A
done
done
chkconfig --level 35 postfix off
service postfix stop
echo ''>/var/spool/cron/root
echo '#!/bin/bash' >/etc/rc.local
git-code
RHEL系列安装中文输入法
# 安装中文输入法,安装后需要重启,然后再设置输入法
yum install ibus-libpinyin
bitnami chart使用
# 镜像
image:
registry: docker.io
repository: cmd/search-order
tag: v0.0.4
pullSecrets: ["hub"]
Flatpak使用
# 查看当前的remote
[root@sugar ~]# flatpak remotes
# 最方便的方式添加远程仓库是使用 .flatpakrepo 文件,它包含远程仓库的信息和GPG秘钥:
[root@sugar ~]# flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
# 移除远程仓库
[root@sugar ~]# flatpak remote-delete flathub
# 查询软件
flatpak search gimp
# 安装软件
flatpak install flathub org.gimp.GIMP
$ flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
$ flatpak remote-modify flathub --url=https://mirror.sjtu.edu.cn/flathub
# 或者
$ flatpak remote-add --if-not-exists sjtu https://mirror.sjtu.edu.cn/flathub/flathub.flatpakrepo
# 如果中断了某次安装,重新下载可能会出现找不到文件的问题。可以使用 flatpak repair 解决相关的问题。