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 常用操作

ssl error with NGINX

Error: in Chrome: ERR_SSL_PROTOCOL_ERROR in Firefox: SSL_ERROR_RX_UNEXPECTED_NEW_SESSION_TICKET Environment: nginx Correction: make the server configuration of the following the same in all site.conf in NGINX ssl_session_tickets off; # off OR on Reference 1. https://maoxian.de/2017/12/1471.html    Send article as PDF   

在 CentOS 7.x 上安装 LAMMPS

假设你具有 sudo 所赋的权限 安装 MPICH-3.2 cmake3 libfabric-devel yum -y install mpich-3.2 mpich-3.2-devel cmake3 libfabric-devel 修改动态库 vi /etc/ld.so.conf.d/mpich.conf 将以下写入文件中 /usr/lib64/mpich-3.2/lib 添加 usr/local/lib64 库目录 vi /etc/ld.so.conf.d/lib_local.conf /usr/local/lib64 然后退出,并重新加载 sudo ldconfig export MPICH=/usr/lib64/mpich-3.2 # 设置环境变量 安装 ADIOS git clone https://github.com/ornladios/ADIOS2.git ADIOS2 mkdir adios2-build && cd Continue reading 在 CentOS 7.x 上安装 LAMMPS

502 Bad Gateway on Discourse

502 Bad Gateway after Discourse update problem: ssl certificate error how to check: tail /var/discourse/shared/standalone/log/var-log/nginx/error.log if there’s cannot load certificate “/shared/ssl/<domain>_ecc.cer”: PEM_read_bio_X509_AUX() failed (SSL: error:0909006C:PEM routines:get_name:no start line:Expecting: TRUSTED CERTIFICATE) solution: rm /var/discourse/shared/standalone/ssl/*_ecc.* rm -rf /var/discourse/shared/standalone/letsencrypt/*_ecc/    Send article as Continue reading 502 Bad Gateway on Discourse