#nobridge

  • 2 Posts
  • 68 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle
  • Alternatively, you can create new users from the command line.
    This can be done as follows:

    If synapse was installed via pip, activate the virtualenv as follows (if Synapse was installed via a prebuilt package, register_new_matrix_user should already be on the search path):

    cd ~/synapse
    source env/bin/activate
    synctl start # if not already running
    Run the following command:
    register_new_matrix_user -c homeserver.yaml
    This will prompt you to add details for the new user, and will then connect to the running Synapse to create the new user. For example:

    New user localpart: erikj
    Password:
    Confirm password:
    Make admin [no]:
    Success!

    This process uses a setting registration_shared_secret, which is shared between Synapse itself and the register_new_matrix_user script.
    It doesn’t matter what it is (a random value is generated by --generate-config), but it should be kept secret, as anyone with knowledge of it can register users, including admin accounts, on your server even if enable_registration is false.

    https://element-hq.github.io/synapse/latest/setup/installation.html




  • pfsense and opnsense are very similar. The pfsense devs has acted like jackasses towards the opnsense gang. They are both great for a router/firewall/vpn device. I would use external access points with them.
    I think there are more addons to pfsense than opnsense.

    OpenWrt is great when it comes to WiFi, but I find it much less intuitive to use for router/firewall parts. Could be that I am used to the way pfsense and opnsense do things.

    Neither do switching from what I know, so pair the router with a switch of your choice.










  • After which ctrl+f " in" takes you to the correct chapters. I do agree that a direct link would be more helpful.
    And for learning postgresql I agree it isn’t very helpful - using their tutorial links, w3schools or something like udemy if you prefer video format is the way to go in that use case.

    I remember back when you were told to learn to work with the documentation, not memorize it, because you will always have access to it as a reference. Maybe bookmarking reference books/documentation will make a come back as the search engines degrade.






  • If you go for SSD another thing to think about is the TBW on them. Buying a low endurance SSD might save some electricity but will cost more in SSDs over time. Example:
    Crucial P3 Plus M.2 NVMe SSD 2TB (2.67W on your link) has 440TBW compared to Kingston Fury Renegade M.2 NVMe SSD Gen 4 2TB (4.92W on your link) with 2000TBW.
    Those few watts you save on using the Crucial P3 Plus will be less than the extra cost in buying new SSDs earlier.
    The site I checked TBW on has the Kingston Fury at $9.4 more than the Crucial P3 Plus.

    I think proper datacenter 3.5’’ HDDs will give you the most efficient Wattage per TB disk space
    Seagate Exos X20 Harddisk ST20000NM007D 20TB SATA-600 7200rpm is supposed to have
    Power Consumption 5.4 Watt (idle) | 9.4 Watt (random read) | 6.4 Watt (random write)