---
# System prepended metadata

title: Aether install

---

# Aether install
[install](https://docs.google.com/document/d/1-BT7XqVsL7ffBlD7aweYaScKDQH7Gv5tHKt-sJGuf6c/edit#)
## python
ubuntu預設有python,請升級

https://www.itsupportwale.com/blog/how-to-upgrade-to-python-3-8-on-ubuntu-18-04-lts/

## ansible hints for solving error
參考這篇去找 ssh-no-password
https://ithelp.ithome.com.tw/articles/10185315

## ssh無法登入
複製rsa key  
https://mgleon08.github.io/blog/2015/12/14/ssh-no-password/

---
P4 switch

bmc mode
root/0penBmc
next step > sol.sh

root
onl

auto ma1
iface ma1 inet static
address x.x.x.x
netmask x.x.x.x
 
gateway x.x.x.x
dns-nameservers x.x.x.x

---

Take insecure.




---
## FLEET

### New update

改變gitlab repo 為public

### 以下請無視
```javascript
# create configmap
FLEET_NS=fleet-system
ssh-keyscan github.com > known_hosts
kubectl -n ${FLEET_NS} create configmap github-known-hosts --from-file=known_hosts=known_hosts

# check manifests
kubectl -n ${FLEET_NS} get configmap github-known-hosts -o yaml
kubectl -n ${FLEET_NS} get deployment gitjob -o yaml

# patch file
cat <<'_EOF_' >patch.yml
apiVersion: apps/v1
kind: Deployment
metadata:
  name: gitjob
  namespace: fleet-system
spec:
  template:
    spec:
      containers:
      - name: gitjob
        volumeMounts:
        - mountPath: /etc/ssh/ssh_known_hosts
          name: known-host-volume
          subPath: known_hosts
      volumes:
      - configMap:
          name: github-known-hosts
        name: known-host-volume
_EOF_

# patch deployment
kubectl -n ${FLEET_NS} patch deployment gitjob --patch "$(cat patch.yml)"        
kubectl -n ${FLEET_NS} get deployment gitjob -o yaml
```

### KEYGEN
```javascript
ssh-keygen -m pem -t rsa -b 4096 -f <name>
```
  



### ROC LOGIN

*.aetherproject.com:port

port:31194
 






