link on JianShu
从头再来。旧的镜像在我安装gitlab之后Gitlab CE,现在远程登录相当慢。重新初始化了一下镜像。使用强密码策略。
- 安装zsh+oh my zsh
apt-get install -y zsh; sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
- 安装Maven, git, java
apt-get update; apt-get install -y maven git openjdk-8-jdk
- 生成SSH public key
ssh-keygen -t rsa -b 4096 -C "e@example.com"
并配置多个key ~/.ssh/config
内容如下
安装mysql,how-to-install-mysql-on-ubuntu-18-04
- 配置安全组策略,打开需要访问的端口。
Host github.com
# Specifies the real host name to log into. Numeric IP addresses are also permitted.
HostName github.com
# Defines the username for the SSH connection.
User gebitang
# Specifies a file from which the user’s DSA, ECDSA or DSA authentication identity is read.
IdentityFile ~/.ssh/id_rsa_github
Host gitlab.com
# Specifies the real host name to log into. Numeric IP addresses are also permitted.
HostName gitlab.com
# Defines the username for the SSH connection.
User gebitang
# Specifies a file from which the user’s DSA, ECDSA or DSA authentication identity is read.
IdentityFile ~/.ssh/id_rsa
link on JianShu
根据这个帖子STF 集成 iOS 之 开源了
目前但效果只是能发现设备,还无法正常完成初始化。
Setup had an error TypeError: Cannot read property 'sdk' of null
at Object.getDeviceInfo (/Users/gebitang/projects/tryout/stf/lib/units/ios-device/support/deviceinfo.js:56:28)
at solve (/Users/gebitang/projects/tryout/stf/lib/units/ios-device/plugins/util/identity.js:13:33)
at /Users/gebitang/projects/tryout/stf/lib/units/ios-device/plugins/util/identity.js:18:12
at SerialSyrup.ParallelSyrup.invoke (/Users/gebitang/projects/tryout/stf/node_modules/stf-syrup/lib/parallel.js:54:24)
at /Users/gebitang/projects/tryout/stf/node_modules/stf-syrup/lib/serial.js:43:33
at tryCatch1 (/Users/gebitang/projects/tryout/stf/node_modules/stf-syrup/node_modules/bluebird/js/main/util.js:63:19)
at Promise$_callHandler [as _callHandler] (/Users/gebitang/projects/tryout/stf/node_modules/stf-syrup/node_modules/bluebird/js/main/promise.js:708:13)
at Promise$_settlePromiseFromHandler [as _settlePromiseFromHandler] (/Users/gebitang/projects/tryout/stf/node_modules/stf-syrup/node_modules/bluebird/js/main/promise.js:724:18)
at Promise$_settlePromiseAt [as _settlePromiseAt] (/Users/gebitang/projects/tryout/stf/node_modules/stf-syrup/node_modules/bluebird/js/main/promise.js:896:14)
at Promise$_fulfillPromises [as _fulfillPromises] (/Users/gebitang/projects/tryout/stf/node_modules/stf-syrup/node_modules/bluebird/js/main/promise.js:1041:14)
at Async$_consumeFunctionBuffer [as _consumeFunctionBuffer] (/Users/gebitang/projects/tryout/stf/node_modules/stf-syrup/node_modules/bluebird/js/main/async.js:74:12)
at Async$consumeFunctionBuffer (/Users/gebitang/projects/tryout/stf/node_modules/stf-syrup/node_modules/bluebird/js/main/async.js:37:14)
at _combinedTickCallback (internal/process/next_tick.js:132:7)
at process._tickCallback (internal/process/next_tick.js:181:9)
link on JianShu
昨天遇到的问题 Error: Unknown security handler: accessTokenAuth
是因为启动过程中有类似下面的提示——
link on JianShu
STF 集成 iOS之一:环境准备里完成里环境搭建。 实际上出现的错误——是属于模拟器设备的:(
Setup had an error TypeError: Cannot read property 'sdk' of null
at Object.getDeviceInfo (/Users/gebitang/projects/tryout/stf/lib/units/ios-device/support/deviceinfo.js:56:28)
at solve (/Users/gebitang/projects/tryout/stf/lib/units/ios-device/plugins/util/identity.js:13:33)
...
link on JianShu
在测试旧的MacPro机器上搭建正式的部署环境。
Mac系统为13.3 + Xcode9.4。 根据测试环境搭建的经验,选择Xcode10.1