mikebai.com

  • Home
  • dev
  • DotNET
  • M365
  • 搞笑
  • 杂七杂八
  • FocusDict
dev
dev

azure vm windows server无法激活的解决办法

Windows (Windows Server 2016 Datacenter) Troubleshoot Azure Windows virtual machine activation problems https://docs.microsoft.com/en-us/azure/virtual-machines/troubleshooting/troubleshoot-activation-problems https://docs.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-R2-and-2012/dn303421(v=ws.11)?redirectedfrom=MSDN 1) cscript c:\windows\system32\slmgr.vbs /dlv C:\Users\LocalAdminUser>cscript c:\windows\system32\slmgr.vbs /dlv Microsoft (R) Windows Script Host Version 5.812 Copyright (C) Microsoft Corporation. All rights reserved. Software licensing service version: 10.0.14393.3541 Name: Windows(R), ServerDatacenter edition Description: Windows(R) Operating System, VOLUME_KMSCLIENT channel Activation ID: XXXXXXXXXXXXX Application ID: XXXXXXXXXXXXX Extended PID: XXXXXXXXXXXXX Product Key Channel: Volume:GVLK Installation ID: XXXXXXXXXXXXX Partial Product Key: XXXXX License Status: Notification Notification Reason: 0xC004F056. Remaining Windows rearm count: 1001 Remaining SKU rearm count: 1001 Trusted time: 6/11/2020 4:33:11 AM Configured Activation Type: All Please use slmgr.vbs /ato to activate and update KMS client information in order to update values. 2)cscript c:\windows\system32\slmgr.vbs /ato C:\Users\LocalAdminUser>cscript c:\windows\system32\slmgr.vbs /ato Microsoft (R) Windows Script Host Version 5.812 Copyright (C) Microsoft Corporation. All rights reserved. Activating Windows(R), ServerDatacenter edition (XXXXXXXXXXXXXXXX) ... Product activated successfully.

2020-06-11 0comments 98hotness 0likes mikebai Read all
dev

清除chrome自动将网址由http:// 跳转到 https://

Anon is right about STS, but there is a way to specifically delete your domain from the set. Go to  chrome://net-internals/#hsts Enter 3rdrevolution.com under Delete domain security policies and press the Delete button. Now go to  chrome://settings/clearBrowserData  tick the box Cached images and files and press click the button Clear data. 安卓手机端 1.chrome://net-internals/#hsts 同上 2.设置->同步功能和Google服务->管理同步数据->管理已同步的数据->重置同步->重新关联同步账号

2020-06-02 0comments 95hotness 0likes mikebai Read all
dev

X-Window、GNOME和KDE之间的关系

X-Window、GNOME和KDE之间的关系 X Window, 即X Windows图形用户接口,它并不是一个软件,而是一个协议(protocal), 这个协议定义一个系统成品所必需具备的功能(就如同 TCP/IP, DECnet 或IBM的 SNA,这些也都是协议,定义软件所应具备的功能)。 任何系统能满足此协议及符合X协会其他的规范,便可称为X。 至于GNOME、KDE和X-Window之间的关系,可以简单地认为GNOME和KDE是并列关系, 它们都是基于X-Window的桌面环境,通过X-Window其才能运行。

2020-05-26 0comments 111hotness 0likes mikebai Read all
dev

在Linux中对硬盘进行分区、格式化和挂载

我最近有一个全新的4-TB硬盘加入我的电脑。所以我需要在Linux中安装它。为此,我需要执行以下操作: 分区 格式化 挂载 检查是否已安装硬盘驱动器 分区 首先,在通过SATA和电源线将硬盘连接到计算机后,我们可以通过以下方式检查新的4 TB硬盘: sudo fdisk -l 但我们现在无法安装它,如果我们现在安装它,错误就会出现。我们需要先对它进行分区: sudo fdisk /dev/sdb 如果我们输入m求助,我们可以看到命令列表。 要检查分区表,请输入p。 要分区,请输入n。然后我通过输入p选择primary。并仅为一个分区号输入1。 输入w将分区表写入磁盘。 格式化新分区的硬盘: sudo mkfs.ext4 /dev/sdb 挂载(包括重启后自动挂载) 通常驱动器安装在/mnt/中,首先在/mnt/t中创建一个新目录。 sudo mkdir /mnt/sdb 然后我们可以通过以下方式安装 sudo mount /dev/sdb /mnt/sdb 但是我们需要在每次重启时安装它。要在每次重启后自动挂载,我使用nano来修改文件/etc/fstab: sudo nano /etc/fstab 在文件末尾输入以下内容: /dev/sdb     /mnt/sdb      ext4        defaults      0       0 第一项是硬盘的路径。第二个是我们要安装的已安装驱动器的目标。第三个是格式类型。我刚刚保留的第四到第六个默认值为0和0。 检查是否已安装硬盘驱动器 有3种方法可供检查。其中三个也可以找到已安装的硬盘sdb。 ① mount | grep sdb ② lsblk ③ df —————————

2020-05-26 0comments 106hotness 0likes mikebai Read all
dev

linux文件权限说明

1) 数字权限使用格式 在这种使用方式中,首先我们需要了解数字如何表示权限。 首先,我们规定 数字 4 、2 和 1表示读、写、执行权限(具体原因可见下节权限详解内容),即 r=4,w=2,x=1 。此时其他的权限组合也可以用其他的八进制数字表示出来, 如: rwx = 4 + 2 + 1 = 7 rw = 4 + 2 = 6 rx = 4 +1 = 5 即 若要同时设置 rwx (可读写运行) 权限则将该权限位 设置 为 4 + 2 + 1 = 7 若要同时设置 rw- (可读写不可运行)权限则将该权限位 设置 为 4 + 2 = 6 若要同时设置 r-x (可读可运行不可写)权限则将该权限位 设置 为 4 +1 = 5 2) 设置所有人可以读写及执行 chmod 777 file  (等价于  chmod u=rwx,g=rwx,o=rwx file 或  chmod a=rwx file) 设置拥有者可读写,其他人不可读写执行 chmod 600 file (等价于  chmod u=rw,g=---,o=--- file 或 chmod u=rw,go-rwx file ) 3) -rw------- (600)      只有拥有者有读写权限。 -rw-r--r-- (644)      只有拥有者有读写权限;而属组用户和其他用户只有读权限。 -rwx------ (700)     只有拥有者有读、写、执行权限。 -rwxr-xr-x (755)    拥有者有读、写、执行权限;而属组用户和其他用户只有读、执行权限。 -rwx--x--x (711)    拥有者有读、写、执行权限;而属组用户和其他用户只有执行权限。 -rw-rw-rw- (666)   所有用户都有文件读、写权限。 -rwxrwxrwx (777)  所有用户都有读、写、执行权限。

2020-05-21 0comments 141hotness 0likes mikebai Read all
dev

linux The login sequence

It's worth understanding at least those files in the login sequence that will affect things like whether you can login in the first place, where your initial environment comes from, and so on. At the risk of over-simplifying, here are the files you need to worry about that are invoked/consulted every time you log in (indented in an attempt to show who actually consults who): /etc/passwd /etc/shadow /etc/group /etc/profile /etc/profile.d/*.sh ~/.bash_profile ~/.bashrc /etc/bashrc /etc/passwd defines, among other things, the username, numeric UID and GID of the user, the home directory and the login shell. For security reasons, the encrypted password is no longer stored in this file. /etc/shadow represents a more secure place to store things like the encrypted password, password aging information and more. (This is the only file in this list of files that requires root privilege to display.) /etc/group defines the working groups on the host, along with the users who are members of those groups.  

2020-05-21 0comments 132hotness 0likes mikebai Read all
dev

linux常用命令

常用指令 ls          显示文件或目录      -l           列出文件详细信息l(list)      -a          列出当前目录下所有文件及目录,包括隐藏的a(all) mkdir         创建目录      -p           创建目录,若无父目录,则创建p(parent) cd               切换目录 touch          创建空文件 echo            创建带有内容的文件。 cat              查看文件内容 cp                拷贝 mv               移动或重命名 rm               删除文件      -r            递归删除,可删除子目录及文件      -f            强制删除 find              在文件系统中搜索某文件 wc                统计文本中行数、字数、字符数 grep             在文本文件中查找某个字符串 rmdir           删除空目录 tree             树形结构显示目录,需要安装tree包 pwd              显示当前目录 ln                  创建链接文件 more、less  分页显示文本文件内容 head、tail    显示文件头、尾内容 ctrl+alt+F1  命令行全屏模式   系统管理命令 stat              显示指定文件的详细信息,比ls更详细 who               显示在线登陆用户 whoami          显示当前操作用户 hostname      显示主机名 uname           显示系统信息 top                动态显示当前耗费资源最多进程信息 ps                  显示瞬间进程状态 ps -aux du                  查看目录大小 du -h /home带有单位显示目录信息 df                  查看磁盘大小 df -h 带有单位显示磁盘信息 ifconfig          查看网络情况 ping       …

2020-04-15 0comments 100hotness 0likes mikebai Read all
dev

change db userprefix schema to dbo

1)run  SELECT 'ALTER SCHEMA dbo TRANSFER ' + TABLE_SCHEMA + '.' + TABLE_NAME  FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'your current schema name' 2)copy query result , paste to query window and run

2019-12-29 0comments 100hotness 0likes mikebai Read all
dev

Dynamics CRM 2016(on-premises)升级到Dynamics 365(on-premises)

从下面的网页中安装3205084补丁 https://support.microsoft.com/en-us/help/3142345/microsoft-dynamics-365-onpremise-cumulative-updates

2019-08-03 0comments 95hotness 0likes mikebai Read all
dev

Dynamic CRM 2016 的备份/恢复/重新部署

参考:1、https://community.dynamics.com/crm/b/crmviking/archive/2016/02/03/backup-and-restore-strategies-for-crm-2016    2、https://www.cnblogs.com/fengwenit/p/3991686.html 1、如何备份原有系统的 LicenseKey: 在 MSCRM_CONFIG 数据库中查询: SELECT NVarCharColumn FROM [MSCRM_CONFIG].[dbo].[ConfigSettingsProperties] WHERE ColumnName = 'LicenseKeyV8RTM' 参考:https://crmbusiness.wordpress.com/2012/05/30/crm-2011-getting-the-crm-license-from-the-database/ 2、SQL Server 2017 不再支持在域控制器上安装 Reporting Service,请分离安装,或更换为更低版本(SQL Server 2014 可安装)。

2019-08-03 0comments 124hotness 0likes mikebai Read all
12345…25

Recent Posts

  • c# winform适配高dpi
  • com.microsoft.sqlserver.jdbc.SQLServerException “trustServerCertificate”属性设置为“false”,但驱动程序无法使用安全套接字层 (SSL) 加密与 SQL Server建立安全连接
  • java -cp 用法介绍
  • HTML 容器元素
  • MVC的cshtml的介绍

Recent Comments

No comments to show.

COPYRIGHT © 2025 mikebai.com. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang