• Home
  • Raw
  • Download

Lines Matching +full:server +full:- +full:password

16 - Install Ansible <https://ansible.com>
17 - Install some prereqs:
20 ansible-galaxy install -r requirements.yml
23 - Make sure you can `ssh` into all of the needed systems. For example,
24 `ssh cldr-ref.unicode.org` should succeed without needing a password.
26 - You should be able to run `ansible all -m ping` and get something back
30 cldr-ref.unicode.org | SUCCESS => {
41 - Install python3. Make sure `python --version`
42 or `python3 --version` returns "Python 3…"
44 - TODO: these shouldn't be needed, but they are. Here's the entire
48 sudo apt-get update && sudo apt-get install python3 python-apt python3-pymysql
53 Create a RSA keypair with no password for the buildbot:
56 mkdir -p ./local-vars
57 ssh-keygen -t rsa -b 4096 -f ./local-vars/surveytool -P '' -C 'surveytool deploy'
60 The contents of the `local-vars/surveytool.pub` file is used for the
61 `key:` parameter below in `local.yml`. The `local-vars/surveytool`
66 - `SMOKETEST_HOST` -
68 - `SMOKETEST_PORT` -
70 - `RSA_KEY_SURVEYTOOL` -
71 contents of `local-vars/surveytool` (the secret key)
72 - `SMOKETEST_KNOWNHOSTS` -
73 run `ssh-keyscan smoketest.example.com` where _smoketest.example.com_
74 is the name of the smoketest server. Put the results into this
77 Try `grep -i smoke ~/.ssh/known_hosts`
79 Create a folder "cldrbackup" inside local-vars
81 mkdir -p ./local-vars/cldrbackup
84-vars/cldrbackup-vars: id_rsa, id_rsa.pub, and known_hosts. These must correspond to the public ke…
88 - Create a file `local-vars/local.yml` matching the example values in [test-local-vars/local.yml](t…
94 # password will match /var/lib/openliberty/usr/servers/cldr/server.env
95 - name: surveytool
97 password: hunter42
100 # password will match /home/cldradmin/.my.sql
101 - name: cldradmin
102 password: hunter46
107 # TODO: surveytooldeploy.password appears to be unused?
108 password: hunter43
115 key: ssh-rsa …  ( SSH key goes here)
118 - domains:
119 - cldr-ref.unicode.org
125 mkdir -p local-vars/cldrcc
126 ssh-keygen -t rsa -b 2048 -C 'CLDR Commit Checker' -f local-vars/cldrcc/id_rsa
135 ansible-playbook --check setup-playbook.yml
139 `--check` out and run it again.
141 You can also use the `-l cldr-smoke.unicode.org` option to limit
150 You need a server zipfile to deploy. This is a file such as `cldr-apps.zip`. When expanded, it con…
154 - Prerequisites: See <https://cldr.unicode.org/development/maven> and follow instructions to be abl…
156 - You can then create a server zipfile locally with maven using these command (from the top `cldr/`…
159 mvn --file=tools/pom.xml install -DskipTests=true
160 mvn --file=tools/pom.xml -pl cldr-apps liberty:package
163 - The output file will be in `tools/cldr-apps/target/cldr-apps.zip`
168 - Server Builds are actually attached to each action run in <https://github.com/unicode-org/cldr/ac…
170 - *Warning*: Clicking on this artifact will download a zipfile named `cldr-apps-server.zip` which _…
174 - install [vagrant](https://www.vagrantup.com) and some provider such as virtualbox or libvirt, see…
176 - vagrant up!
184 - To log into the new host, run `vagrant ssh`
186 - To iterate, trying to reapply ansible, run `vagrant provision --provision-with=ansible`
188 - to deploy your built server to this, use the following:
191 # Note 1: $(git rev-parse HEAD) just turns into a full git hash such as 72dda8d7386087bf6087de200b5…
192 # Note 2: change ../../cldr-apps/target/cldr-apps.zip to point to your cldr-apps.zip file if moved
193 vagrant ssh -- sudo -u surveytool /usr/local/bin/deploy-to-openliberty.sh $(git rev-parse HEAD) < .…
196 - Now you should be able to login at <http://127.0.0.1:9081/cldr-apps/>
198 - Use the user `admin@` and the password set in `surveytooldeploy.vap` above.
200 - *Note*: <http://127.0.0.1:8880> will go to the nginx proxy, but it has login problems, see <https…
204 - the mvn build and `deploy-to-openliberty.sh` steps above can be repeated to redeploy a new versio…
205 - `vagrant ssh` to login and poke around at the server
206 - `sudo nano /srv/st/config/cldr.properties` to edit the configuration file (will be created automa…
207 - `sudo journalctl -f` to watch server logs
208 - `sudo systemctl restart openliberty@cldr` to restart the server
209 - Logs are in `/var/log/openliberty/cldr`
210 - `sudo -u cldradmin mysql cldrdb` will give you the raw SQL prompt