ServerAvatarDocs
Servers

Settings

Change a server's hostname and timezone, SSH sign-in, swap, Redis and automatic updates, and reboot it now or on a schedule.

Settings holds the server-wide configuration. Open Settings in the server's sidebar. The page has four tabs, and each tab has its own address, so you can bookmark it:

TabWhat it holds
ServerHostname, timezone and clock sync.
Access & securitySSH port, root login and password sign-in.
MemorySwap and Redis.
Updates & restartAutomatic security updates, the reboot schedule, and the actions that run right away.

Each card has its own Save button. A card that you changed but did not save shows Discard. After a save, the card shows when it last changed ("Changed time"). Changes happen on the server and appear in the server's own Activity log.

When the server needs a reboot to finish installing updates, a Reboot required notice appears with a Reboot… button.

Change the hostname and timezone

  1. Open the Server tab.

    The Settings page on the Server tab with the Hostname, Timezone and Keep the clock in sync automatically controls

  2. Change Hostname. Use letters, numbers, dots and dashes, up to 64 characters, for example server1.example.com. Each part between dots must start and end with a letter or a number.

  3. Choose a Timezone. Use Search timezones to find one.

  4. Turn Keep the clock in sync automatically on or off. The card shows Clock in sync or Clock not in sync.

  5. Select Save. You see "Server details saved."

Change SSH sign-in

A wrong value here can lock everyone out of SSH. Check the port and the sign-in options before you save.

  1. Open the Access & security tab.

    The Access & security tab with the SSH port, Root can sign in and Allow sign-in with a password settings

  2. Change the settings you need:

    • SSH port: a number from 1 to 65535. Make sure the firewall allows the new port before you save.
    • Root can sign in: Yes, Only with an SSH key or No.
    • Allow sign-in with a password: on or off. If no SSH key is set up for root, a warning says that turning it off may lock you out.
  3. Select Save, then confirm Change SSH sign-in? with Save changes. You see "SSH sign-in settings saved."

The per-user SSH switch and SSH keys are on System users. This page controls the server-wide rules.

Set the swap size

Swap is disk space used as extra memory when RAM runs out.

  1. Open the Memory tab.

    The Memory tab with the Swap card and its Swap size choice, and the Redis card

  2. Choose a Swap size: Off, 512 MB, 1 GB, 2 GB, 4 GB or 8 GB. If the server already has another size, that size is listed too. The card shows how much swap is used ("used of size used").

  3. Select Save. You see "Swap size saved."

If the server has swap that ServerAvatar did not create, the card says "Saving changes only ServerAvatar's own swap file."

Set up Redis

Redis is the in-memory cache your applications can use.

  1. Open the Memory tab, Redis card.
  2. Set Max memory, for example 256mb or 1gb. The value is 0 (no limit) or a number with an optional unit b, kb, mb or gb.
  3. Choose what Redis does When memory is full: noeviction, allkeys-lru, allkeys-lfu, allkeys-random, volatile-lru, volatile-lfu, volatile-random or volatile-ttl. A policy marked Not safe for app caches can drop or refuse data your application expects.
  4. To change the Password, type a New password (8 to 255 characters). To remove it, turn on Remove the password. You cannot do both at once: "Set a new password or remove it, not both."
  5. Select Save. You see "Redis settings saved."

Changing the password takes a moment. Central says "The new Redis password is being applied. Apps that use Redis need it in their settings." Update each application that uses Redis with the new password. If a Redis password was not set by ServerAvatar, it cannot be changed here.

The password shows as Set or Not set. Only people who can manage settings can see it (Copy password).

Turn on automatic updates

  1. Open the Updates & restart tab.

    The Updates & restart tab with the Automatic updates card and its reboot options

  2. In Automatic updates, turn on Install security updates automatically.

  3. To restart the server when an update needs it, turn on Reboot automatically when an update needs it. Then choose Reboot at a time of day, or turn on Right away.

  4. Turn on Reboot even when someone is signed in if the reboot should not wait for signed-in users.

  5. Select Save. You see "Automatic update settings saved."

The card also shows how many security updates are waiting ("n security updates waiting", "No security updates waiting"), when the list was checked and when the last automatic run happened. "The last automatic run failed" tells you the last run did not finish.

Run security updates now

  1. In Updates & restart, find Security updates under Actions.
  2. Select Run security updates now.
  3. Confirm Install security updates now? with Install now. The updates are the ones that automatic updates would install. Services may restart, and the server may need a reboot afterwards.

The row shows the run's status: Queued, Running, Finished or Failed. You cannot start another run while one is running.

Reboot a server

Every site on the server is offline until it is back, usually 1 to 3 minutes.

Reboot now: select Reboot now under Actions and confirm Reboot this server? with Reboot.

Reboot later: choose Reboot in 5, 15, 30 or 60 minutes and select Schedule reboot. Confirm the dialog. A bar then shows "Reboot scheduled for time" with Cancel reboot, until the reboot starts.

Reboot on a schedule: in the Scheduled reboot card, turn on Reboot on a schedule, then choose:

  • How often: daily, weekly or monthly.
  • Hour: 0 to 23.
  • Day of the week, for weekly.
  • Day of the month, for monthly: 1 to 28.

Select Save. You see "Reboot schedule saved." The card shows Next reboot and says "Times are in the server's timezone".

Limits

  • Hostname: up to 64 characters.
  • SSH port: 1 to 65535.
  • Swap: up to 65,536 MB. The page offers 0 (off), 512, 1024, 2048, 4096 and 8192 MB.
  • Redis password: 8 to 255 characters.
  • Reboot delay: 0 to 60 minutes. The page offers 5, 15, 30 and 60.
  • Monthly reboot day: 1 to 28.

Who can do this

  • Seeing the screen needs View on Settings. Changing, running updates and rebooting need Manage on Settings. Without Manage the page says "Your role can view settings but not change them."
  • Settings is its own permission, separate from Server.

Common errors

  • Set a new password or remove it, not both. Clear one of the two Redis password choices.
  • This password isn't managed by ServerAvatar, so it can't be changed here. The Redis password was set outside ServerAvatar.

On this page