摘要: PSQL 快捷命令 cat ~/.psqlrc -- check active session \set active_session 'select pid,usename,datname,application_name,client_addr,age(clock_timestamp(), qu 阅读全文
posted @ 2024-03-24 16:53 TonyBen2018 阅读(9) 评论(0) 推荐(0) 编辑
摘要: OpenVPN Script openvpn_op.sh #!/bin/bash source ~/.ssh/.security source ~/.bash_aliases source ~/.bashrc op=$1 if [ -z $op ];then openvpn3 session-sta 阅读全文
posted @ 2024-03-24 16:18 TonyBen2018 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 准备:软件下载&安装 下载R:https://cran.rstudio.com 下载Rstudio https://posit.co/download/rstudio-desktop/ R的使用 R的基础 R的帮助函数 R的帮助函数 函数 操作 help.start() 输出通用的帮助信息 help 阅读全文
posted @ 2024-03-24 16:11 TonyBen2018 阅读(4) 评论(0) 推荐(0) 编辑
摘要: rsync 命令使用 使用rsync快速删除文件 mkdir -p /tmp/test && rsync --delete-before -a -H -v --progress --stats /tmp/test/ . && rm -rf /tmp/test --delete-before rece 阅读全文
posted @ 2024-03-19 14:57 TonyBen2018 阅读(8) 评论(0) 推荐(0) 编辑
摘要: Ubuntu Server 安装VNCServer #更新软件到最新,为了方便下载软件包 sudo apt update #安装Xfce桌面环境 sudo apt install xfce4 xfce4-goodies -y #安装vncserver sudo apt install tightvn 阅读全文
posted @ 2023-11-20 14:28 TonyBen2018 阅读(61) 评论(0) 推荐(0) 编辑
摘要: Linux 家族 目前市面上较知名的发行版有:Ubuntu、RedHat、CentOS、Debian、Fedora、SuSE、OpenSUSE、Arch Linux、SolusOS 等。 Linux vs Windows 目前国内 Linux 更多的是应用于服务器上,而桌面操作系统更多使用的是 Wi 阅读全文
posted @ 2023-11-11 12:36 TonyBen2018 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 准备 1. 京东购买ONEDA 4芯电池 179元 2. 京东购买2根三星16G DDR4内存条 3. 京东购买1T SSD(M.2接口(NVMe协议 PCIe 4.0×4) KC3000) 总共花费: 1306 准备2个16G U盘 制作Windows 镜像 1. 下载 Dell OS Recov 阅读全文
posted @ 2023-05-15 22:09 TonyBen2018 阅读(132) 评论(0) 推荐(0) 编辑
摘要: Check openfiles root#ulimit -a real-time non-blocking time (microseconds, -R) unlimited core file size (blocks, -c) 0 data seg size (kbytes, -d) unlim 阅读全文
posted @ 2023-05-15 14:27 TonyBen2018 阅读(14) 评论(0) 推荐(0) 编辑
摘要: Setup Environment Case 1 : Use Docker Step1 Install Docker apt-get install docker.io -yapt-get install docker-compose -y Add user which can execute do 阅读全文
posted @ 2023-05-15 14:08 TonyBen2018 阅读(26) 评论(0) 推荐(0) 编辑
摘要: Prepare Requirement: OS: Ubuntu 22.04 Python3 Prepare Steps sudo apt update sudo apt -y upgrade sudo apt-get install dc mesa-utils gedit pulseaudio li 阅读全文
posted @ 2023-05-15 12:33 TonyBen2018 阅读(26) 评论(0) 推荐(0) 编辑