标签: office

  • 玄学的office 365 – 附Cloudreve Docker安装

    玄学的office 365 – 附Cloudreve Docker安装

    [start-plane type=”2″]感谢:MicrosoftCloudreveCloudreve DockerHostostloc教程E5申请注册教程[/start-plane]

     

    A1 E3 E5 家庭版都集齐了

    E5好玄学啊

    但是折腾好了以后,真香

     

    Cloudreve Docker版安装

     

    docker run -d \
      --name cloudreve \
      -e PUID=1000 \ # optional
      -e PGID=1000 \ # optional
      -e TZ="Asia/Shanghai" \ # optional
      -p 5212:5212 \
      --restart=unless-stopped \
      -v <PATH TO uploads>:/cloudreve/uploads \
      -v <PATH TO config>:/cloudreve/config \
      -v <PATH TO db>:/cloudreve/db \
      -v <PATH TO avatar>:/cloudreve/avatar \
      xavierniu/cloudreve

    sharepoint获取siteid方法

    https://od.xkx.me/sp.php
    https://wakawakaee.n6.myws.ca/ @ppxwo提供

    分别建容器可能更docker,我打包起来只是为了放在az的webapp

    Aria2配置目录: /root/.aria2
    Aria2下载目录: /home/aria2
    cloudreve目录: /root/cloudreve
    启动docker后,docker logs cloudreve获取运行日志
    日志会显示Aria2配置信息和cloudreve信息

    1. root@debian:~# docker run -idt -p 5212:5212 -p 6800:6800 -v ${PWD}/aria2:/home/aria2 –name cloudreve jialezi/cloudreve:sp
    2. 17eb75a9fe3f1e53d48de9a614145f8052ea5e5d41f4778c305155b4f48706c9
    3. root@debian:~# docker logs cloudreve
    4. [信息] Aria2 启动中…
    5. Aria2 简单配置信息:
    6. 地址    : 172.xx.1×5.xx
    7. 端口    : 6800
    8. 密码    : 21bd76434a4f7221403c
    9. 目录    : /home/aria2
    10. [信息] Aria2 启动成功 !
    11.    ___ _                 _
    12.   / __\ | ___  _   _  __| |_ __ _____   _____
    13. / /  | |/ _ \| | | |/ _ | ‘__/ _ \ \ / / _ \
    14. / /___| | (_) | |_| | (_| | | |  __/\ V /  __/
    15. \____/|_|\___/ \__,_|\__,_|_|  \___| \_/ \___|
    16.    V3.1.1  Commit #27bf8ca  Pro=false
    17. ================================================
    18. [Info]    2020-09-20 21:56:24 初始化数据库连接
    19. [Info]    2020-09-20 21:56:24 开始进行数据库初始化…
    20. [Info]    2020-09-20 21:56:24 初始管理员账号:[email protected]
    21. [Info]    2020-09-20 21:56:24 初始管理员密码:7BMWLJBv
    22. [Info]    2020-09-20 21:56:25 数据库初始化结束
    23. [Info]    2020-09-20 21:56:25 初始化任务队列,WorkerNum = 10
    24. [Info]    2020-09-20 21:56:25 初始化定时任务…
    25. [Info]    2020-09-20 21:56:25 当前运行模式:Master
    26. [Info]    2020-09-20 21:56:25 开始监听 :5212
    27. root@debian:~#

    复制代码

    补充:

    其他已可以方便切换sharepoint的程序

    onemanager可以支持sharepoint
    https://github.com/qkqpttgf/OneManager-php

    oneindex-j可以支持sharepoint
    https://github.com/jialezi/oneindex-j

    yukidrive可以支持sharepoint(应该是首先支持sharepoint的程序)
    https://github.com/YukiCoco/YukiDrive

    理论上把api里的me改成sites/{site-id}都可以切换到sharepoint

  • 错误代码: 0x80041017 – repair the WMI windows10

    • Type “command prompt” in the Start Search and right click on Command Prompt from the search results and then select “Run as administrator”.
    • After opening Command Prompt with admin privileges, type and enter this command: winmmgmt /salvagerepository

    The command you entered is used when the winmmgmt command performs a consistency check. So if an inconsistency is detected, it will rebuilt the repository.

    • Next, execute this command to see if the WMI repository now comes back as consistent: winmgmt /verifyrepository

    This command will perform a consistency check on the WMI repository.

    • If it states that the WMI repository is not consistent, then you need to type and enter this command: winmgmt /resetrepository

    This command is used to reset the repository to its initial state when the operating system was first installed.