This page assumes SD Core Solo for Linux is installed. It is a walkthrough, not a reference — every step links to the page that explains it properly.
1. Start SD#
Open a new terminal — one opened before the install may not have
~/.local/bin on its PATH yet — and type:
sd-solo
SD is already running. It is your own systemd user service, so you do not
type sd-solo -start. See Running SD.
It asks for the account password, the one you chose when installing. On a computer installed from a control file there is none yet, and it asks you to choose one now:
This account has no password yet. Choose one now - SD Core Solo for Linux asks for it every time it is used.
The sign-on banner names the product and its version, LS2.0-0.
2. Look around#
who
list voc with type = "F"
term
who |
the account — always sduser |
list voc with type = "F" |
the files in it |
term |
your terminal type and page size |
term also reports the page size, and SD's default is 140 × 43 — not
80 × 24. A terminal narrower than that makes wide reports look wrapped
or truncated and the report is not at fault. Widen the window, or set it
for the session with term default — which puts the 140 × 43 back and
prints nothing while doing it, so check with a bare term afterwards.
term 140,43 is the same thing typed out.
See Other hardening.
3. Make a file and put something in it#
create.file customers
ed customers 1001
ed is the line editor, and it needs nothing installed —
edit is an alias for it, not for a full-screen editor. For a full screen, sed is SD's own editor, with drop-down menus, and needs no operating-system permission for a record of an SD file (see The SED Screen Editor in the User set);
micro opens the record in micro — see
Development and file commands. The old
full-screen editors update.record and modify are gone; see
Not in SD Core Solo for Linux.
In ed: i to insert, type your lines, a full stop on its own line to stop
inserting, then fi to file and exit.
You do not have to write programs in
ed. The account'sbpfile is a directory file — an ordinary Linux directory with one file per program — so any text editor works on it just as well:
~/SDCoreSolo/user_accounts/sduser/bpSave the file, then
basicandcatalogit from inside SD as usual.
list customers
count customers
Commands are lower case now, and so are the VOC records behind them. Typing LIST still works — SD converts it.
See Lower case.
THIS IS THE POINT AT WHICH MOST THINGS SHOULD FEEL LIKE OpenQM. If anything in ordinary data work behaves differently and is not described in this set, that is worth reporting.
4. An administrator command#
listu
Command requires administrator privileges
That is the administrator gate. Unlock it for this session:
admin
Type the administrator password — or, on a managed computer, the global
password — and listu works, and so does every other administrator command,
until you type admin off or leave. See
Administrator commands.
5. Leave#
off
6. A command from a script#
From a terminal, not from inside SD:
sd-solo list customers
It runs the one command and returns, with no password prompt. A command on the command line uses a copy of the account password kept for you — which is what lets a script or a scheduled job use SD. See Scheduled jobs.
What to try next#
- Your own application data. There is no restore utility, so the way in is a short BASIC program that reads your exported data and writes the records. Then query it — the query processor is where most of the surface area is.
- A client program against the API, if you chose it when installing. It
signs in as
sduserwith the account password, on port 4249, and needs a client library from this release, because the old cleartext login is gone. See API access and Client distribution. - ssh straight into
sd-solo, unless you installed with--ssh off:ssh -p 4251 <your Linux user>@localhostasks for your Linux password (or uses your key) and then lands at SD's password prompt. Solo's ssh is its own, on port 4251, and port 22 is not used. See ssh access. - An upgrade.
bash installsdsolo.sh --upgrade— see Upgrading and uninstalling.
When something goes wrong#
| Something SD did, and who did it | audit, in ~/SDCoreSolo |
| Diagnostics, and API connections | errlog, same place |
| The service | systemctl --user status sd-solo.service, and journalctl --user -u sd-solo.service |
Other hardening explains which log answers which question.
When you report something, say which build. The release stamp is on the
sign-on banner, in sd-solo --version, and in ~/SDCoreSolo/changelog.