博文

目前显示的是 四月, 2023的博文

lsbst1986 / Actions-OpenWrt-x64 云编译修改的地方

 diy-part2.sh 修改地方: # Modify default IP #sed -i 's/192.168.1.1/192.168.1.253/g' package/base-files/files/bin/config_generate sed -i 's/KERNEL_PATCHVER:=5.15/KERNEL_PATCHVER:=6.1/g' target/linux/x86/Makefile #sed -i 's/OpenWrt/CncTion/g' package/base-files/files/bin/config_generate #sed -i "s/.*PKG_VERSION:=.*/PKG_VERSION:=4.3.9_v1.2.14/" package/lean/qBittorrent-static/Makefile #sed -i "s/.*PKG_VERSION:=.*/PKG_VERSION:=5.0.0-stable/" package/libs/wolfssl/Makefile update-checker.yml 修改 on:   workflow_dispatch:    #  schedule: #    - cron: 0 8 * * * build-openwrt.yml 修改 env:   REPO_URL: https://github.com/coolsnowwolf/lede   REPO_BRANCH: master   FEEDS_CONF: feeds.conf.default   CONFIG_FILE: .diffconfig   DIY_P1_SH: diy-part1.sh   DIY_P2_SH: diy-part2.sh      UPLOAD_BIN_DIR: true      UPLOAD_FIRMWARE: true      UPLOAD_COWTRANSFER: false   UPLOAD_WETRANSFER: false   UPLOA...

win10+ubuntu双启动顺序修改

 1.备份 cp /etc/default/grub /etc/default/grub-bak 2.sudo vi /etc/default/grub GRUB_DEFAULT=2       (先查看电脑开机的启动项目,依次是 0 1 2 3 4 , 如果windows在第三项,就减1,设置成2,第四项减1,设置成3,依次类推) 3.sudo update-grub  

目前使用的固件

 Github lsbst1986/Actions-OpenWrt-x64       访问国内网站似乎有问题。需要在防火墙页面设置  wan 接受 接受 接受 刷我自己编译的固件,防火墙也要改一下,否则国内网站上不了 6:33 2023/4/18  我修改了.config  ,借用1986的源,自己编译了一下,使用中 手动安装了 opkg update opkg install fdisk fdisk -l fdisk /dev/sda   n 新建分区 p 主分区 w 保存 在使用硬盘之前必须对其分区进行格式化,并挂载 mkfs.ext4 /dev/sda3 reboot webadmin amule aria2 没有安装。需要时,启动本地源安装即可  包括 docker 导入openwrt backup2  收工。 遇到的问题       基本设置已经OK,但是只能访问国外网站,国内网站打不开,已排除DNS原因和网络原因; 解决的方法        在OpenWrt左边菜单,网络–防火墙–基本设置,找到WAN ⇒ REJECT 这行,入站数据和转发,都改成“接受”,点右下角“保存&应用”;

编译amule

  Network-p2p- antileech   增加反吸血

Install WordPress on Ubuntu 22.04

 https://spinupwp.com/hosting-wordpress-yourself-nginx-php-mysql/ First, add the repository and update the package lists: sudo add-apt-repository ppa:ondrej/nginx -y sudo apt update There may now be some packages that can be upgraded, let’s do that now: sudo apt dist-upgrade -y Then install Nginx: sudo apt install nginx -y Once complete, you can confirm that Nginx has been installed with the following command: nginx -v ashley@pluto:~$ nginx -v nginx version: nginx/1.22.0 Additionally, when visiting the Fully Qualified Domain Name (FQDN) pointing to your server’s IP address in the browser, you should see an Nginx welcome page. Welcome to Nginx Now that Nginx has successfully been installed it’s time to perform some basic configuration. Out-of-the-box Nginx is pretty well optimized, but there are a few basic adjustments to make. However, before opening the configuration file, you need to determine your server’s CPU core count and the open file limit. Enter the following command to ge...
 打好掼蛋的关键:耐心、细心。如绣花一般。