avatar
Articles
39
Tags
2
Categories
0

Home
Archives
Tags
Categories
List
  • Music
  • Movie
Link
About
简默的博客
Home
Archives
Tags
Categories
List
  • Music
  • Movie
Link
About
如何自建邮件服务器
Created2023-07-13
创建邮件服务器用最简单的方式创建邮件服务器 以centos8为例子 修改域名服务器记录值 登录至域名管理界面 修改MX记录值,将记录值设置为mail server IP 也可以设置为该服务器的domain name A记录 A记录设置www.jumhorn.com和jumhorn.com同时能解析到,要添加以下两条A记录 12@ 记录值 your IP\* 记录值 your IP TXT记录 必须设置该记录,来防止SPF反垃圾邮件过滤 1v=spf1 ip4:101.35.162.40 -all 使用nslookup查看记录修改1234567891011# 查看A记录,这两条是不一样的nslookup www.jumhorn.comnslookup jumhorn.com# 查看TXTnslookup -q=txt jumhorn.com# 查看MXnslookup -q=mx jumhorn.com# 查看NSnslookup -q=ns jumhorn.com# 反向DNS查询nslookup ip 修改主机sendmail.mc配置 安装工具 1234 ...
云服务之数据库推荐
Created2023-07-13
云数据库MySQL planetscale 需要加密连接,直接使用网页端连接,选择branch目前还点不进去 只能自己修改url https://app.planetscale.com/jumhorn/daily/main/console SQLPub 免费500M空间 Free MySQL Hosting 5M免费空间,支持phpMyAdmin postgreSQL ElephantSQL 20M免费空间 Redis Redis 30M免费空间 MongoDB MongoDB 512MB to 5GB of storage
在dockerhub上创建debian docker,备份自己的主机
Created2023-07-13
debian docker image使用了9年半的笔记本坏了,笔记本一直用的debian系统,现在又不想买笔记本,又离不开debian系统 所以在此制作docker镜像并推送到dockerhub,来纪念我使用过的debian(bullseye) software gnome/xfce/kde vncserver novnc Dockerfile以下是ChatGPT的例子 1234567891011121314# 基础镜像FROM debian:bullseye-slim# 安装必要的软件包RUN apt-get update && apt-get install -y \ x11vnc \ websockify \ novnc# 配置novnc服务的端口号EXPOSE 8080# 运行novnc服务CMD ["websockify", "--web=/usr/share/novnc/", "8080", "--", "x11vnc&qu ...
如何下载网页上的视频
Created2023-07-13
用浏览器直接下载视频和音频学会这项技能的学习资料不是javascript,不是chrome debug 而是http协议 https://developer.mozilla.org/zh-CN/docs/Web/HTTP 下载音频使用bing translator为例子 https://cn.bing.com/translator F12打开浏览器调试界面,打开network标签页,并清空该标签页 firefox直接类型选择media,chrome需要all 输入文本,点击试听,浏览器会播放一段音频 找到对应语音的post请求 目前是v1那个请求,右键copy as cURL terminal中复制刚才的命令并加上–output tts.mp3 完成下载即可 浏览器直接播放该音频 在刚下载好的音频目录,启动http服务器1python3 -m http.server 浏览器console标签页12audio = new Audio("http://localhost:8000/tts.mp3");audio.play(); 下载视频目前可行的通用方法是 ...
如何用github action完成定时任务
Created2023-07-13
github action使用github action所创建的虚拟机 创建github action在项目上方Actions点击后,创建一个workflow即可 本质上就是在项目中建立.github/workflow/*.yaml文件 建立虚拟机shell
如何写github wiki
Created2023-07-13
Hello World
Created2023-07-13
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment
如何使用不同方式发送http请求
Created2023-07-13
http请求发送http请求,通过命令行或者代码方法 > https://curlconverter.com cURL123curl -H "Content-Type:text/html" www.google.com # headcurl www.google.com?cmd="ls -al" # getcurl --data "param1=value1&param2=value2" www.google.com # post javascript fetch123456789101112131415161718//headfetch('http://www.google.com', { headers: { 'Content-Type': 'text/html' }});// getfetch('http://www.google.com?cmd=ls -al' ...
如何在debian机器上使用kali源
Created2023-07-13
在debian系统上添加kali源突然想要用到kali,但是不想安装.但是kali是基于debian的,想到区别应该不大,把源加上就行了 添加kali源编辑/etc/apt/sources.list 12345# debiandeb http://mirrors.ustc.edu.cn/debian/ bullseye main non-free contribdeb-src http://mirrors.ustc.edu.cn/debian/ bullseye main non-free contrib# kalideb http://mirrors.ustc.edu.cn/kali/ kali-rolling main non-free contrib 添加kali官方密钥1wget -q -O - https://archive.kali.org/archive-key.asc | apt-key add 更新源1apt update 奇葩想法 在debian上安装pacman
自建KMS服务器激活Windows
Created2023-07-13
kms微软windows/office激活工具(Key Management Services) 微软连接https://learn.microsoft.com/en-us/windows-server/get-started/kms-create-host 这里是要创建linux版的激活服务器 项目基于https://github.com/Wind4/vlmcsd 工具直接从github.com/Wind4/vlmcsd下载可执行文件 如需编译,自行编译 1wget https://github.com/Wind4/vlmcsd/releases/download/svn1113/binaries.tar.gz 配置启动服务即可 12# create a server listening on 1688./vlmcsd 使用 Windows激活 在需要激活的windows上执行如下命令(带管理员的cmd) 1234567# 输入激活密钥slmgr.vbs -ipk VDYBN-27WPP-V4HQT-9VMD4-VMK7H# 连接kms服务器slmgr.vbs -sk ...
1234
avatar
JumHorn
Articles
39
Tags
2
Categories
0
Follow Me
Announcement
This is my Blog
Recent Post
一条命令实现DDOS2023-07-13
仅为乐趣而写博客2023-07-13
Linux上使用Android模拟器2023-07-13
Android上使用sdcard作为内置存储卡2023-07-13
腾讯云上安装archlinux2023-07-13
Tags
信息 技术
Archives
  • July 202335
  • May 20231
  • April 20232
  • March 20231
Info
Article :
39
UV :
PV :
Last Push :
©2020 - 2023 By JumHorn
Framework Hexo|Theme Butterfly