VMware Workstation Pro/Player 15.5.1 on Linux of Kernrel 5.x

安装完 VMware 主程序后,不能直接使用。会出现 vmnet vmmon 编译失败的提示。因此,需要打补丁。如下: 到这里下载: https://github.com/mkubecek/vmware-host-modules/tree/workstation-15.5.1 下载后,编译及安装 make sudo make install 然后就可以使用了。 参考: 1. http://rglinuxtech.com/?p=2669    Send article as PDF   

CentOS 安装 remi

centos使用yum安装软件非常方便,yum会自动安装软件的相关依赖。但是centos自带的源仓库,软件相对老旧并且不太全,所以我们可以添加第三方仓库,可以安装较新的软件版本。 epel是fedora社区维护的一个仓库,其中有一万多个软件,centos 可以使用 yum install epel-release 安装epel仓库,安装后到/etc/yum.repos.d/epel.repo,开启enabled=1 安装remi仓库, rpm -ivh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm 在 CentOS 7 下,使用 yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm 安装后到/etc/yum.repos.d/remi.repo,开启enabled=1 remi里有较新的php 安装elrepo仓库,可以使用其安装kernel-lt升级到3.1.0内核 centos6使用命令rpm -Uvh http://www.elrepo.org/elrepo-release-6-6.el6.elrepo.noarch.rpm 使用yum repolist查看仓库列表 安装使用可以使用指定仓库安装软件–enablerepo=仓库名 安装3.1.0内核 ,yum –enablerepo=elrepo-kernel install kernel-lt 修改grub的配置,/boot/grub/grub.conf ,修改default=?,把?改为启动的内核编号,之后重启,使用uname -a查看内核    Send article as PDF Continue reading CentOS 安装 remi

fingerprint (SGX enabled) does not work on Windows 10(1803)

https://forums.lenovo.com/t5/ThinkPad-P-and-W-Series-Mobile/Synaptics-WBDI-SGX-disabled-Fingerprint-broken-on-P71-after/m-p/4129187/highlight/true#M74739 Download https://downloadcenter.intel.com/download/27234/Intel-Software-Guard-Extensions-Intel-SGX-for-Windows-10-and-Windows-7-for-Intel-NUC-Kits-NUC6i3SY-NUC6i5SY-NUC6i7KYK use Command and add the following option: –a install –nsev –eula=accept –output=c:\windows\temp\SGXInstallLog.txt    Send article as PDF   

mysql 常用操作

启动服务  [root@localhost ~]# systemctl start mariadb [root@localhost ~]# systemctl enable mariadb 初始化 mysql_secure_installation 防火墙 firewall-cmd –permanent –add-service=mysql firewall-cmd –reload 忘记密码 修改MySQL的配置文件(默认为/etc/my.cnf),在[mysqld]下添加一行 skip-grant-tables  保存配置文件后,重启MySQL服务 systemctl restart mysqld  再次进入MySQL命令行 mysql -u root -p, 输入密码时直接回车,就会进入MySQL数据库了,这个时候按照常规流程修改root密码即可。依次输入:> use mysql; 更改数据库>UPDATE user SET PASSORD =password(“自己重新设置的密码写此处”) WHERE Continue reading mysql 常用操作