小皮面板
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...
云笔记leanote搭建
leanote是一个云笔记项目,需要数据库和进程守护。 依赖 - MongoDB数据库 - supervisor进程守护 - wkhtmltopdf MongoDB安装curl -O https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-3.0.6.tgz 下载tar -zxvf mongodb-linux-x86_64-3.0.6.tgz # 解压mv mongodb-linux-x86_64-3.0.6/ /usr/local/mongodb MongoDB 的可执行文件位于 bin 目录下检...
安装wordpress
wordpress需要web服务和数据库。 安装 Nginxsudo apt install nginxsudo systemctl enable nginxsudo systemctl start nginxsudo systemctl status nginx 让(Nginx 用户)成为 Web 目录的所有者。默认情况下,其权限归 root 用户所有。sudo chown www-data:www-data /usr/share/nginx/html -R 安装 MariaDB 数据库服务器sudo apt install mariadb-s...
cpolar内网穿透
cpolar是一种收费的内网穿透方法,免费也能勉强一用。 安装下载:curl -L https://www.cpolar.com/static/downloads/install-release-cpolar.sh | sudo bash token认证:登录cpolar官网后台,点击左侧的验证,查看自己的认证token,之后将token贴在命令行里cpolar authtoken xxxxxxx 向系统添加服务:sudo systemctl enable cpolarsudo systemctl start cpolar 查看服务状态:sudo systemctl status cp...
电视直播软件和iptv源
软件:Hypnopixyuki-iptvfreetuxtv myiptv源~~https://mirror.ghproxy.com/raw.githubusercontent.com/suxuang/myIPTV/main/ipv6.m3u~~
linuxmint挂载分区不需密码
linuxmint挂载分区时,默认会出现提权对话框,用下面的操作可以取消认证,直接进入。 修改设置打开终端,输入:sudo xed /usr/share/polkit-1/actions/org.freedesktop.UDisks2.policy 找到:<action id="org.freedesktop.udisks.filesystem-mount-system"> auth_admin_keep 替换成: yes 以后想挂载windows下的分区就不会要求输入密码了。
安装ftp服务
安装vsftpd:sudo apt install vsftpd检测是否安装:vsftpd -version 匿名用户模式在vsftpd.conf文件中添加匿名用户相关配置: 1234567891011121314151617181920212223242526#监听ipv4,启用独立模式listen=YES#启用匿名用户模式 anonymous_enable=YES#允许写操作write_enable=YES#允许匿名用户上传文件anon_upload_enable=YES#允许匿名用户创建目录anon_mkdir_write_enable=YES#允许匿名用户修改或删除目录ano...
nginx重定向
修改/etc/nginx/sites-available/default 修改文件12345server { listen 80; server_name example1.com; return 301 https://example2.com$request_uri; } 列出目录下的文件12345server_name _;autoindex on;autoindex_exact_size off;autoindex_format html;autoindex_loc...