armbian安装桌面和xrdp
armbian安装桌面和xrdp的过程。 安装桌面apt install lxde 安装xrdpapt install xrdp xorg xorgxrdpsystemctl enable xrdp 中文字体登录的时候有时会有中文不显示,安装中文字体apt install ttf-wqy-microhei
openwrt旁路由
本文记录了docker安装openwrt的过程。 打开网卡混杂模式ip link set eth0 promisc on 创建OpenWrt网络docker network create -d macvlan --subnet=192.168.0.0/24 --gateway=192.168.0.1 -o parent=eth0 openwrt #下载镜像包至rootwget https://dl.openwrt.ai/releases/targets/amlogic/meson8b/kwrt-09.26.2024-amlogic-meson8b-thunder-onecloud-r...
Docker管理
安装dock.io启动服务systemctl enable docker 镜像操作 命令 作用 docker search 关键字 搜索镜像 docker pull 仓库名称 获取镜像 docker images 仓库名称 查看镜像信息 docker rmi 仓库名称:镜像ID号 删除镜像 容器操作 命令 作用 docker create 镜像 运行的程序 创建容器 docker start 容器的ID/名称 运行容器 docker stop 容器的ID/名称 停止容器 docker rm 容器的ID/名...
samba匿名共享
安装samba修改/etc/samba/smb.conf 修改123456789101112[global] workgroup = SAMBA security = user map to guest = bad user guest ok = yes[disk1] path = /disk1 browseable =yes public=yes writable=yes create mask=0777 directory mask=0777
linux挂载内存卡
linux挂载内存卡的方法。 玩客云加了一个内存卡 列出设备名sudo lsblk内存卡名NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTmmcblk0 179:0 0 14.6G 0 disk└─mmcblk0p1 179:1 0 14.6G 0 part 格式化sudo mkfs.ext4 /dev/mmcblk0 得到UUIDsudo blkid /dev/mmcblk0/dev/mmcblk0: UUID="c84d8587-ce27-4707-bafc-f99fcab2c2e6&...
win系统ssh上传下载文件
ssh上传下载文件的几个方法。 使用ssh命令登录ssh username@remote_host 使用scp命令复制文件到远程服务器:scp /path/to/file.txt username@remote_host:/path/to/remote/directory/从远程服务器复制文件到本地:scp username@remote_host:/path/to/remote/file.txt /path/to/local/direct 使用客户端:xshell,xftp 难怪传文件速率只有130k,原来免费的cpolar转发速率只有1Mbps,还以为是移动宽带上传速率不达标。wi...
用玩客云刷armbian
本文记录了刷机过程。 软件刷机工具:https://pan.baidu.com/s/1VxABReew_6iVHZmoZMMTXg?pwd=root直刷包:https://pan.baidu.com/s/1jvCWlSHI9LMBWIQNWUmw0Q?pwd=root 拆机用吹风机把有USB口的那一面加热,大概一分钟左右,用撬棒把最外面的壳给拆下来,会看到有六颗螺丝,把它们拧下来,再把挡板拆下来,最后把主板拿下来。 短接 刷机用两段小铜丝连在一起(不建议用夹子,因为你需要拿夹子放在上面一动不动4分钟)然后插上买的usb公对公的线,一头插在电脑上,另外一头插在玩客云的2号口,也...
小皮面板
https://www.xp.cnDebian安装脚本sudo wget -O install.sh https://dl.xp.cn/dl/xp/install.sh && sudo bash install.sh 特点集成网站、FTP、数据库、文件管理、软件安装等功能。所有文件安装在/xp目录下,除了端口号,不会和原系统有冲突。一键安装论坛,博客,不过没有完成最后一步,需要重启服务,再把数据库用户名和密码填到网站设置里就正常了。下载mysql和php的时候有点慢。
nginx反向代理设置
/etc/nginx/sites-available/default内容如下: 修改123456789101112131415server { listen 80 default_server; listen [::]:80 default_server ipv6only=on; root /var/www/html; proxy_set_header X-Forwarded-For $remote_addr; location / { ...
安装nextcloud
nextcloud是一个功能强大的网盘系统,snap安装。 安装sudo apt install snapdsudo snap install nextcloudsnap changs nextcloudsudo snap start nextcloud 配置设置nextcloud账号密码sudo nextcloud.manual-install 你的用户名 你的密码设置成功后便可在nextcloud主机上使用浏览器通过127.0.0.1 进行访问端口修改sudo snap set nextcloud ports.http=9999设置nextcloud不限制访问方式sudo nex...