What is the easiest way for me to set up user accounts and sessions on my website?

I’ve recently got into home networking and set up a LAMP stack in Ubuntu 16.04 LTS. I added NextCloud and got it set up as well. How can I set up user accounts and sessions as easily as possible? I’m just starting out so I do not know to write PHP, MySQL, etc. from scratch (although I can edit files and understand configs and whatnot). NextCloud makes a database and and table for users by default and (if it’s reasonably secure) I would like to use it. I could also make a new one and let NextCloud use it, with guidance. Thanks!

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @forestman11,

Since you are using NextCloud, I’ll recommend checking it’s documentation. It’s quite well written and it does have a section you are looking for.

The sections is called User Management and explains the bases of it and how to use it. All can be found here -

Regards, KDSys