OneDrive存储空间升级到25TB的教程

支持升级到OneDrive 25T的订阅如下: Office 365 企业版 E3 Office 365 企业版 E5 OneDrive for Business 计划 2 SharePoint Online 计划 2 Office 365 企业版 E3 Office 365 企业版 E5 Office 365 A1 Office 365 A3 Office 365 A5 Office 365 美国政府版 G3 Office 365 美国政府版 G5 Office 365 非营利版 E3 Office 365 非赢利组织版 E5 Microsoft 365 企业版 E3 Microsoft 365 企业版 E5 Microsoft 365 A3 Microsoft 365 A5 Microsoft 365 美国政府版 G3 Microsoft 365 美国政府版 G5 Microsoft 365 非营利组织版 E3 Microsoft 365 非营利组织版 E5 如果用户已使用5TB存储空间的至少90%容量,Microsoft最多会将OneDrive中的默认存储空间增加到每用户25 TB(需要全局管理员工单申请并设置)。 提交工单申请扩容25TB 以全局管理员登录Microsoft 365 admin center - Home 点击左侧全部显示 支持 新建服务请求 内容大概意思就是请帮我把user1111@xxx.onmicrosoft.com的onedrive容量从5TB升级到25TB 然后填上管理员邮箱、电话,附件上传几张该账号容量超过90%的截图,包括账户信息(浏览器缩小百分比),等待电话或邮件告知成功 ...

三月 14, 2019 · admin

ubuntu-18.04设置systemctl开机启动脚本rc.local

使用update-rc.d以及rc.local等方法就是不生效。后来在ubuntu的官方论坛ubuntu-16.10开始不再使用initd管理系统改用systemd ubuntu-18.04 LTS版本用的是systemctl命令来替换了service和chkconfig的功能。 systemd is now used for user sessions. System sessions had already been provided by systemd in previous Ubuntu releases. 比如以前启动 mysql 服务用: sudo service mysql start 现在用: sudo systemctl start mysqld.service 其实这个改动到不是算大,主要是开机启动比以前复杂多了。systemd 默认读取 /etc/systemd/system 下的配置文件,该目录下的文件会链接/lib/systemd/system/下的文件。 执行 ls /lib/systemd/system 你可以看到有很多启动脚本,其中就有我们需要的 rc.local.service 打开脚本内容: cat /lib/systemd/system/rc.local.service 可以看出/lib/systemd/system/rc.local.service的启动顺序是没有Install段 # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. # This unit gets pulled automatically into multi-user.target by # systemd-rc-local-generator if /etc/rc.local is executable. [Unit] Description=/etc/rc.local Compatibility ConditionFileIsExecutable=/etc/rc.local After=network.target [Service] Type=forking ExecStart=/etc/rc.local start TimeoutSec=0 RemainAfterExit=yes 一般正常的启动文件主要分成三部分 ...

二月 23, 2019 · admin

手动配置安装WireGuard服务端

WireGuard简单介绍 WireGuard是通过UDP协议传输数据的,这意味着它可以搭建在被墙的服务器上使用,复活被墙IP! 更安全的加密 Curve25519 目前最高水平的秘钥交换算法。 ChaCha20 对称加解密算法,比 AES 更快更高效。 Poly1305 是一种 MAC (adminssage Authentication Code) 标准,用于验证数据的完整性和消息的真实性。 BLAKE2 一种更安全的 HASH 算法(类似的有 SHA1, SHA256, MD5) SipHash24 另一种 HASH 算法。 HKDF 一种秘钥衍生算法。 前提要求 系统要求:Debian 8 / 9、Ubuntu 14.04 / 16.04 / 18.04 / 18.10 服务器要求:OpenVZ 虚拟化的服务器不支持安装该VPN,其他虚拟化均可。 注意:如果你用的是 Vultr、DO,且你本地没有 IPv6 地址,那就不要勾选 Enable IPv6否则可能客户端链接时可能会出错。 CentOS7官方安装代码 ...

二月 8, 2019 · admin

利用Travis CI和Hugo將Blog自動部署到Github Pages

個人Blog採用靜態Blog形式託管在[Github][github]上。此前使用的是[Hexo][hexo],因其包依賴關係複雜,部署流程繁瑣,故將整個部署環境封裝到Docker鏡像中以實現快速部署,但仍較爲繁瑣。現轉用執行速度快、操作簡便的[Hugo][hugo]。本文記錄如何在GNU/Linux中通過[Travis CI][travisci]將[Hugo][hugo]生成的Blog內容自動同步到[Github][github],實現持續集成、部署。 转载自 利用Travis CI和Hugo將Blog自動部署到Github Pages 官方文檔 本文中的相關操作皆以官方文檔爲操作依據 Github GitHub Pages Basics User, Organization, and Project Pages Creating Project Pages using the command line Configuring a publishing source for GitHub Pages Hugo Host on GitHub Travis CI [GitHub Pages Deployment][travisci-github-page] Building a Python Project Best Practices in Securing Your Data Customizing the Build GitHub Pages 限制 GitHub Pages is a static site hosting service designed to host your personal, organization, or project pages directly from a GitHub repository. ...

一月 20, 2019 · admin

美国SIM实体电话卡Lycamobile激活充值关闭语音信箱

网红款美国SIM实体电话卡Lycamobile 激活SIM卡获得电话号码 去Lycamobile官方网站 的在线激活页面Activate SIM - Lycamobile完成 激活前请不要把SIM卡插入到手机 ZIP code: 10065 #选择纽约州纽约曼哈顿中城10065会有机率分配到212区号 ICCID: Email address: PUK Code: Select Language: English 看到提示 12127299444 Sim Successfully Activated 这时可以把SIM卡插入到手机了 ...

一月 20, 2019 · admin

Ubuntu_Debian配置Apache2_PHP配置站点

日常更新 apt-get update -y apt-get upgrade -y 查找程序名 sudo apt-cache search apache | grep 'apache2' 安装Apache2 apt-get install apache2 安装好后开服务 service apache2 start systemctl enable apache2 检查Apache2运行状态 systemctl status apache2 安装Apache的php支持模块 sudo apt-get install libapache2-mod-php 重启Apache2 /etc/init.d/apache2 restart 停止 /etc/init.d/apache2 stop 状态查询 /etc/init.d/apache2 status 在浏览器中输入IP地址,看到以下页面说明apache成功安装 Debian系统上Apache2 Web服务器安装的配置布局如下: /etc/apache2/ |-- apache2.conf | `-- ports.conf |-- mods-enabled | |-- *.load | `-- *.conf |-- conf-enabled | `-- *.conf |-- sites-enabled | `-- *.conf apache2.conf is the main configuration file. It puts the pieces together by including all remaining configuration files when starting up the web server. ports.conf is always included from the main configuration file. It is used to determine the listening ports for incoming connections, and this file can be customized anytime. Configuration files in the mods-enabled/, conf-enabled/ and sites-enabled/ directories contain particular configuration snippets which manage modules, global configuration fragments, or virtual host configurations, respectively. They are activated by symlinking available configuration files from their respective *-available/ counterparts. These should be managed by using our helpers a2enmod, a2dismod, a2ensite, a2dissite, and a2enconf, a2disconf . See their respective man pages for detailed information. The binary is called apache2. Due to the use of environment variables, in the default configuration, apache2 needs to be started/stopped with /etc/init.d/apache2 or apache2ctl. Calling /usr/bin/apache2 directly will not work with the default configuration. Document Roots ...

一月 11, 2019 · admin

Nginx使用官方工具Certbot配置申请Let’s Encrypt安全SSL证书详细教程

获取Certbot客户端 apt update apt install openssl nginx certbot -y systemctl enable nginx systemctl start nginx 获取SSL证书 certbot certonly --webroot -w /var/www/example -d example.com -d www.example.com 这个命令会为example.com和www.example.com这两个域名生成一个证书,使用--webroot模式会在/var/www/example站点根目录中创建.well-known文件夹,这个文件夹里面包含了一些验证文件,certbot会通过访问example.com/.well-known/acme-challenge来验证你的域名是否绑定的这个服务器。 SSL证书保存路径 /etc/letsencrypt/live/example.com/fullchain.pem /etc/letsencrypt/live/example.com/privkey.pem 自动更新SSL证书 Let’s Encrypt提供的证书只有90天的有效期,certbot运行 certbot renew 自动检查系统内的证书,并且自动更新这些证书。 我们也可以运行certbot renew --dry-run测试一下 或添加一个cron计划19 4 * * 3 root certbot renew意为每周三的00:19执行定时更新SSL证书计划 获取 Certbot 客户端 wget https://dl.eff.org/certbot-auto chmod a+x ./certbot-auto ./certbot-auto --help 配置 nginx 、验证域名所有权 在虚拟主机配置文件( /etc/nginx/conf.d/xxx.com.conf )中添加如下内容,这一步是为了通过 Let’s Encrypt 的验证,验证 linuxstory.org 这个域名是属于我的管理之下。(具体解释可见下一章“一些补充说明”的“ certbot 的两种工作方式”) location ^~ /.well-known/acme-challenge/ { default_type "text/plain"; root /home/wwwroot/xxx.com/; } location = /.well-known/acme-challenge/ { return 404; } /home/wwwroot/xxx.com/是站点根目录路径 xxx.com替换成自己的域名 ...

十一月 21, 2018 · admin

VMware Workstation单臂路由配置安装openwrt(LEDE)单网卡国际互联网

为什么要配置虚拟机环境 出差时,比如udp2raw等个别软件只能在LINUX环境才能使用,而在WIN环境下就没法例用它。 所需要的软件 VMware Workstation 15 Pro 注册码SN:ZY1MK-4UD80-M81VY-RZYNX-Z22X2 StarWind V2V Converter KoolShare 固件 选择普通的就行,不一定非要虚拟机转盘或PE下写盘专用 使用StarWind V2V-Image Converter转换格式 Image format选择Vmware growable image ![](/images/StarWind V2V-Image Converter-1.png) ![](/images/StarWind V2V-Image Converter-2.png) 配置VMware Workstation 开始新建虚拟机,选择稍后安装操作系统 客户机操作系统选择Linx版本其它Linx 4.X或更高版本内核64位 一路默认完成创建,编辑虚拟机设置 删除打印机(可选),删除原有的硬盘,然后添加硬盘使用现有虚拟磁盘 找到刚才转换好的后缀为.vmdk格式的并使用它。 网络适配器中的网络连接选择桥接模式(B):直接连接物理网络 配置LEDE软路由 配置网络 vi /etc/config/network 这里有2种联网方式 通过上级路由器拨号上网 上级路由器已经设置好了拨号上网。 假设宿主机路由器的网关为10.10.10.1 此时可以删除WAN口(可选),也可以保留。 上图中上级拨号路由器的IP地址为10.10.10.1虚拟机软路由器的IP地址为10.10.10.11 按实际IP修改 IPV4 网关务必一定要设置成上级路由器的IP地址 IPV4 地址必须要跟上级路由器在同一个网段内 DNS可以设置成公共DNS,也可以使用运营商的。 联网后去酪软中心安装科学上网插件并配置好以后 其它设置,包括本机电脑的只要网关设置成10.10.10.11就能享受国际互联网了。 在虚拟机路由器里拨号上网 待完善中… …

十月 28, 2018 · admin

从零开始编译OpenWRT lean软路由固件教程

测试系统:ubuntu18.04 lts x64 如何编译自己需要的OpenWrt固件 Lean大雕的地址: https://github.com/coolsnowwolf/lede 注意: 不要用 root 用户 git 和编译!!! 国内用户编译前最好准备好梯子 默认登陆IP 192.168.1.1, 密码 password 编译命令如下: 首先装好 Ubuntu 64bit,推荐 Ubuntu 14 LTS x64 桌面版本的按CTRL+ALT+T进入终端,更新软件列表,下载安装更新。命令行输入 sudo apt-get update 安装基础环境(占用2GB左右的磁盘) sudo apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint 下载源代码,建立工作目录,进入工作目录 git clone https://github.com/coolsnowwolf/lede cd lede 更新软件包,测试编译环境 ...

八月 26, 2018 · admin

docker创建删除使用容器或镜像

更多容器可以访问docker的Docker Hub 操作系统内核大于等于 3.10 的都可以安装最新版 Docker 查看内核版本 uname -r 安装docker wget -qO- get.docker.com | bash 安装完成后,运行下面的命令,验证是否安装成功。 docker version ...

七月 25, 2018 · admin