|
微信AI开放接口, require that interface.
How to install in CentOS 7 from source code
|
|
微信AI开放接口, require that interface.
|
Running rails test:system in my local dev always pending and timeout problem haunted me for a long time, finally, I know why.
Due to some change introduced in Google, every time a new chromedriver installed using brew, the first time running always need to download a file from storage.l.googleusercontent.com. but due to there is GFW in China, it always pending.
So resolved is quite simple, make sure you running ruby.exe(or binary of ruby) when first time can access google site and that's it.
You need to make sure only once per every new version, that's it!
|
|
|
|
|
It's a little hard to find out the root cause why out of box Pentaho Data Integration not working, any way, it's resolved.
First need java 8 to install, because Oracle refuse to provide, need OpenJDK instead.
|
Also need change JavaApplicationStub file as below. (Maybe Pentaho developer didin't having a MBP...)
|
If you want to continue using Java 12 in system wide, install brew install jenv and running jenv local 1.8 at data-integration folder.
You could also setting below environment variable:
|
用Rails做企业官网虽然不是现在的流行方式,但是考虑到Rails的灵活性和后端开发的方便性,在某些情况下,还是相比现在最火的JAM gatsby.js更实际。
企业官网一般图片等静态资源非常多,但是用Rails的话,由于很低的访问量,去购买一台高带宽的服务器又很不划算,所幸的是,阿里云的OSS提供了回源,通过适当的配置,就可以将那些大图片,大字体移到按流量付费的OSS上,获得极大的速度提升,基本原理如下:
|
配置方法也非常简单,新建一个OSS Bucket,例如上图中的名字thape-assets
公共读assets/,回源地址为 https://www.thape.com.cn/最后在Rails中的 config/environments/production.rb 中,启用新的OSS地址即可。
|
First CentOS server installed in VMware as thape SSO server.
Run as root:
|
As VMware admin required, not disable the PermitRootLogin in /etc/ssh/sshd_config
|
Also disable root login and password via PermitRootLogin in /etc/ssh/sshd_config
Before exis, make sure you can login via ssh deployer@ip_address, other wise, check file permission.
|
|
Run as root:
|
|
|
and disable selinux(https://linuxize.com/post/how-to-disable-selinux-on-centos-7/),
or further read nginx permission denied
Download Version 12.2.0.1.0 and following ruby-oci8 document
|
|
|
Install the percona server via yum.
After install, do the secure installation for root.
|
Based my last rbenv and CentOS Ruby on Rails production environment install log, but this time on AWS!
But will only record the difference as below:
Run sudo amazon-linux-extras install nginx1.12 instead of sudo yum install nginx to install nginx.
Seems AMI provide their own version of below package.
|
最近在做面向大中型企业的 oauth2id 方案,这个领域有很多术语,比如OAuth2, OpenID Connect,同时也有很多相同概念的术语,例如SSO(Single Sign On),CAS(Central Authentication Service)
中文的资料相当少,入门性的有阮一峰的理解OAuth 2.0,英文资料较多:
这篇介绍了ASP.net端的
https://andrewlock.net/an-introduction-to-openid-connect-in-asp-net-core/
openid的FAQ也值得一读:
The official answer side @ MS provide a unless answer, in fact, it's because windows services "Windows Update" is disabled....