分类: 技术

47 篇文章

Debian install PVE
修改主机名 vim /etc/hosts 127.0.0.1 localhost 188.188.188.188 debian.proxmox.com debian # 这里填母鸡公网IP # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-loc…
Debian9升级10,Debian10升级11
Debian9升级10: apt-get update && apt-get upgrade sed -i 's/stretch/buster/g' /etc/apt/sources.list apt-get update && apt-get upgrade apt-get dist-upgrade reboot …
Ubuntu VNC remote desktop
安装桌面环境(如果已经安装请略过) Ubuntu 存储库中有几个桌面环境,远程桌面管理建议选择安装 Xfce 。它是快速,稳定和轻量级的桌面环境,非常适合在远程服务器上使用。 首先使用以下命令更新系统 sudo apt updatesudo apt upgrade 复制代码 然后,键入以下命令以在服务器上安装 Xfce : sudo apt ins…
Rocket.Chat
Rocket.Chat简介 Rocket.Chat是一款开源的聊天软件。多client支持: Android,IOS,Windows,Mac,Linux,Web。安装部署简单、方档丰富、易扩展、功能强大。支持群组聊天、私聊群、私聊、桌面通知、媒体嵌入、链接预览、文件上传、语音/视频聊天、截图等等; 还支持实时翻译,实现用户之间的自动实时消息转换。项…
linux show temperature
apt-get install lm-sensors 安装完成后运行sensors-detect查看加载模块,默认全Yes即可。 输入sensors显示系统运行的温度状态。
普通用户添加systemd的开机启动项
在centos系统中,systemd没有user mode,只有system mode,因此只有root才能执行systemctl enable。如果一个普通用户想把某个服务加入systemd的开机启动,往往需要需要给他sudo的权限。后来我发现可以通过添加target的方法,使得普通用户也能添加开机启动项。 比如需要让用户bar自行添加开机启动项…
How To Use Supervisor
Installation Supervisord or Supervisor daemon is an open source process management system. In a nutshell: if a process crashes for any reason, Supervisor restar…
openwrt resize root
装上cfdisk opkg update opkg install cfdisk cfdisk操作很直观,选择rootfs分区后选择[resize],然后再[write]之后就好了。但是用df -h查看,根目录分区的大小并没有变化,还需要resize2fs操作一下 opkg install resize2fs resize2fs /dev/sda2…
Use SSH Keys With PuTTY
Download putty.exe (64-bit or 32-bit)puttygen.exe (64-bit or 32-bit) Use Existing Public And Private Keys If you have an existing OpenSSH public and private key, copy the …
Command-line access to OpenWrt
PuTTY gives you command-line access to OpenWrt. Download PuTTY, get the 32bit(or 64bit) putty.exe from the Alternative binary files section.Start putty.exe on your Windows cli…