随笔分类 -  好用的LINUX脚本们

工作中积累的有用的脚本们
摘要:Poetry is a tool for dependency management and packaging in Python. It allows you to declare the libraries your project depends on and it will manage 阅读全文
posted @ 2022-11-04 11:17 LightingCui 阅读(2822) 评论(0) 推荐(0) 编辑
摘要:超简单的 ! 1、下载 (二选一) wget -c https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh #latest版本 代表永远下载当前最新版 wget -c https://mirrors.bfsu.edu 阅读全文
posted @ 2022-11-04 09:43 LightingCui 阅读(256) 评论(0) 推荐(0) 编辑
摘要:进入一个平平无奇的ubuntu容器docker run -it --rm -p5900:5900 ubuntu:20.04 安装X组件 apt updateapt install -y xserver-xorgapt install xvfbapt install x11vnc 以上,就安装完成了。 阅读全文
posted @ 2022-10-14 12:32 LightingCui 阅读(2478) 评论(0) 推荐(0) 编辑
摘要:rpm -ivh http://nginx.org/packages/centos/6/noarch/RPMS/nginx-release-centos-6-0.el6.ngx.noarch.rpm yum install nginx -y service nginx start iptables 阅读全文
posted @ 2017-03-26 12:34 LightingCui 阅读(675) 评论(0) 推荐(0) 编辑
摘要:最近在研究服务器高可用集群 (HA)…… 尝试配置keepalived, 却发现其全局配置(global_defs )中发送邮件的SMTP服务器配置只有简单 smtp_server 一个选项。 那么,如果希望使用外部邮箱(比如 163邮箱)或需要用户名密码认证的邮箱发送提醒邮件该如何配置? 以“ke 阅读全文
posted @ 2017-03-26 05:35 LightingCui 阅读(6806) 评论(1) 推荐(0) 编辑
摘要:apt-get update apt-get upgrade root@iZ28t2p7lz9Z:~# adduser cuiAdding user `cui' ...Adding new group `cui' (1000) ...Adding new user `cui' (1000) with 阅读全文
posted @ 2016-01-27 22:31 LightingCui 阅读(212) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示