群晖docker安装dokuwiki个人知识管理系统
1.官网https://www.dokuwiki.org/dokuwiki2.Docker安装文档https://hub.docker.com/r/linuxserver/dokuwiki3.步骤镜像拉取docker pull linuxserver/dokuwikidocker-composeve
1.官网https://www.dokuwiki.org/dokuwiki2.Docker安装文档https://hub.docker.com/r/linuxserver/dokuwiki3.步骤镜像拉取docker pull linuxserver/dokuwikidocker-composeve
1.docker compose文件version: '3'services: jellyfin: image: nyanmisaka/jellyfin:latest container_name: jellyfin volumes: - /volume
1.群晖安装虚拟机系统2.创建DSM虚拟机获取SN和mac3.通过磁盘精灵,替换启动U盘中的user-config.yml的SN和mac4.激活AME# DSM7.1curl -skL https://mi-d.cn/d/aem.py | python# DSM7.2curl -skL https:
1.启动admin账号,同时设置一个密码2.找到群晖SN序列号,保存下来3.打开浏览器输入以下链接:替换IP和端口、admin密码https://群晖内网IP:5001/webapi/auth.cgi?api=SYNO.API.Auth&version=3&method=login&
1.Github资源下载 链接:https://ghproxy.com/ 方法:要下载的github资源前加上面的网址 https://github.com/wjz304/arpl-i18n/releases/download/23.8.0/arpl-i18n-23.8.0.img.zip https://ghproxy.com/https://github.com/wjz304/arpl-i18n/releases/download/23.8.0/arpl-i18n-23.8.0.img.zip git clone https://ghproxy.com/https://xxxx.cn/xx.git 2.国内docker镜像下载问题 链接:https://dockerproxy.com # 新增文件: vi /etc/docker/daemon.json # 添加内容: { "registry-mirrors": [ "https://dockerproxy.com" ] } # 重启docker service docker restart 使用方法: docker search ubuntu docker pull ubuntu docker pull dockerproxy.com/library/ubuntu docker pull dockerproxy.com/xhofe/alist
1.Windows激活 slmgr.vbs -ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx slmgr.vbs -skms kms.03k.org slmgr.vbs -ato 2.Office激活 cd \Program Files\Microsoft Office\Office16 cscript ospp.vbs /sethst:kms.03k.org cscript ospp.vbs /inpkey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx cscript ospp.vbs /act cscript ospp.vbs /dstatusall 微软官方sn Windows: https://docs.microsoft.com/en-us/windows-server/get-started/kmsclientkeys Office 2013: https://technet.microsoft.com/en-us/library/dn385360.aspx Office 2016 & 2019: https://technet.microsoft.com/en-us/library/dn385360(v=office.16).aspx 3.公共kms服务器 kms.03k.org kms.chinancce.com kms.luody.info kms.lotro.cc kms.luochenzhimu.com kms8.MSGuides.com kms9.MSGuides.com
1.系统安装 系统更新及常用软件安装 yum update -y yum install wget wget -O /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo yum install -y vim net-tools nmon htop rsync iptraf-ng tree lrzsz ntp iftop telnet tcpdump traceroute 环境配置 echo "0 8 * * * root ntpdate ntp.volphi.com" >> /etc/crontab sed -i 's@SELINUX=enforcing@SELINUX=disabled@' /etc/selinux/config sed -i 's@GSSAPIAuthentication yes@GSSAPIAuthentication no@' /etc/ssh/sshd_config sed -i 's@#UseDNS yes@UseDNS no@' /etc/ssh/sshd_config firewall-cmd --add-port=3306/tcp --permanent firewall-cmd --add-port=3306/tcp firewall-cmd --add-port=33060/tcp --permanent firewall-cmd --add-port=33060/tcp 2.mysql8.0安装 上传mysql80-community-release-el7-7.noarch.rpm到服务器 yum install mysql80-community-release-el7-7.noarch.rpm yum -y install yum-utils yum install mysql-community-server-8.0.28 3.mysql8.0配置 [mysqld] # utf8默认库 character-set-server = utf8mb4 collation-server = utf8mb4_general_ci # 数据最大的连接数 max_connections =1000 binlog_format=mixed # 设定非交互式断开连接的时间30秒 wait_timeout=30 # 设定交互式断开连接的时间30秒 interactive_timeout = 30 # mysql数据的ID server-id=1144301 # master db binlog-ignore-db = mysql,information_schema,performance_schema,sys auto-increment-increment = 2 auto-increment-offset = 1 # slave db replicate-ignore-db = mysql,information_schema,performance_schema,sys log-slave-updates = ON datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid 4.用户创建和密码修改 grep 'temporary password' /var/log/mysqld.log mysql -uroot -p mysql中操作 ALTER USER 'root'@'localhost' IDENTIFIED BY '123456'; create user 'admin@'%' identified by '123456'; grant all privileges on *.* to 'admin'@'%'; create user 'sync'@'%' identified by '123456'; grant all privileges on *.* to 'sync'@'%'; ALTER USER 'sync'@'%' IDENTIFIED WITH mysql_native_password BY '123456'; FLUSH PRIVILEGES;
BIOS设置 1、 确认BIOS中 Boot mode为【UEFI】 2、 确认BIOS中 Storage OpRom Policy 为【UEFI Only】 3、 确认BIOS中SATA mode为【Raid】 4、 确认BIOS中 SSATA mode为【IDE】 把raid卡驱动复制到U盘 联想官网下载megasr-17.01.2016.1107-1-rhel73-x86_64.iso,复制到U盘根目录。 开始安装 进入GRUB界面,选中Install CentOS Linux 7,按下e键。在第一项输入linux inst.dd modprobe.blacklist=ahci quiet,屏蔽ahci,在queit之前。 如图所示,我选择2,自动发现刚才放进去的ISO。以同样的方式选择rpm 然后按c继续。(该过程为自动发现,不需要操作),然后就能找到设备。
1.启动Windows Time服务 net start w32time 2.时间同步命令 # 自动同步 w32tm /resync # 与外部时间服务器同步 w32tm /config /manualpeerlist:"210.72.145.44" /syncfromflags:manual /reliable:yes /update /manualpeerlist 表示外部时间源服务器列表,多个服务器之间可用空格分隔。 /syncfromflags:manual 表示与指定的外部时间源服务器列表中的服务器进行同步。 /reliable:yes 设置此计算机是一个可靠的时间源。此设置只对域控制器有意义。 /update 向时间服务发出配置已更改的通知,使更改生效。
1.服务器证书过期 ./easyrsa renew server nopass 2.客户端证书过期 ./easyrsa renew test nopass