峯言凬语 My life is brilliant~
本无意与众不同,怎奈何口味太重。
文章分类
常用标签
您正在查看: IT 分类下的文章
August 25, 2019

IT.jpg
安装:

CentOS

yum install screen

Debian或Ubuntu

apt-get install screen

创建会话,xxx为创建会话的名称:

screen -S xxx

隐藏并保留当前会话窗口:

按Ctrl+A,再按"D"键

恢复会话窗口:

screen -r xxx

列出所有的会话列表:

screen -ls

来恢复会话:

screen -r xxx

关闭会话:

exit

1.CMD或Windows PowerShell,运行:

Ubuntu config --default-user root
Kali config --default-user root
Debian config --default-user root

2.再运行Linux子系统就会默认以root用户登录了,运行用户密码重置:

passwd nonni

3.改回默认账户:

Ubuntu config --default-user nonni
Kali config --default-user nonni
Debian config --default-user nonni

4.运行Linux子系统,登录。
92056.jpg

August 24, 2019

linux.jpg
Support VPS: Xen、KVM、VMWare

脚本:

wget https://www.moewah.com/source/swap.sh && bash swap.sh

手动设置2GB swap:

cd /var/
dd if=/dev/zero of=swapfile bs=1M count=2048

关闭swap:

swapoff -a

分区转成swap:

/sbin/mkswap swapfile

激活swap

/sbin/swapon swapfile

查看swap

/sbin/swapon -s
chmod 0644 /var/swapfile

加到fstab文件中,系统引导时自启动

vi /etc/fstab
尾部加入:
/var/swapfile swap swap defaults 0 0
或者使用命令:
echo "/var/swapfile swap swap defaults 0 0" >>/etc/fstab

Exchange Server Role Requirements Calculator v9.1

https://gallery.technet.microsoft.com/Exchange-2013-Server-Role-f8a61780

Exchange Client Network Bandwidth Calculator

https://gallery.technet.microsoft.com/Exchange-Client-Network-8af1bf00

Mailbox Size Report for Exchange 2010/2013/2016 & Office 365

https://gallery.technet.microsoft.com/Mailbox-Size-Report-for-ed9435e2

Generate Exchange Environment Reports using Powershell

https://gallery.technet.microsoft.com/Generate-Exchange-2388e7c9

August 17, 2019

Microsoft Volume Licensing Service Center
https://www.microsoft.com/licensing/servicecenter/default.aspx

Microsoft Office 2016 Volume License Pack
Microsoft Office 2010 KMS 主机许可证包:
https://www.microsoft.com/zh-cn/download/details.aspx?id=25095

Microsoft Office 2013 批量许可证包:
https://www.microsoft.com/zh-cn/download/details.aspx?id=35584

Microsoft Office 2016批量许可证包:
https://www.microsoft.com/en-us/download/details.aspx?id=49164

查看KMS服务器可以激活那些Windows或Office
Administrator运行CMD,输入:

slmgr.vbs /dlv all

或导出列表:

Cscript Slmgr.vbs /dlv all >c:\kms.txt