Creating admin login on Centos

  • 1
  • Problem
  • Updated 3 years ago
Hi Everyone,
This is my 1st crack at the Kazoo software. I have just done an installation of the Kazoo on the cloud but after I finished, I could not login because I don't know what the login details are. Please can someone help me out on how to recreate the login details using the command line on Centos
Photo of Beshel Ikwen

Beshel Ikwen

  • 7 Posts
  • 0 Reply Likes

Posted 3 years ago

  • 1
Photo of Simba

Simba

  • 6 Posts
  • 0 Reply Likes
sup crossbar_maintenance create_account ACCOUNTNAME ACCOUNTREALM ADMINUSER ADMINPASS
Photo of Beshel Ikwen

Beshel Ikwen

  • 7 Posts
  • 0 Reply Likes
I have tried that and it didn't work, please see attached the screenshot.
Photo of Simba

Simba

  • 6 Posts
  • 0 Reply Likes
Make sure you run as root and also what installation guide are you using for this?
Photo of Beshel Ikwen

Beshel Ikwen

  • 7 Posts
  • 0 Reply Likes
You can see from the screenshot that I ran the command as a root user
Photo of Simba

Simba

  • 6 Posts
  • 0 Reply Likes
What guide are u using for your install? 
Are u using this:
https://www.powerpbx.org/content/kazoo-v4-single-server-install-guide-v1
Photo of Beshel Ikwen

Beshel Ikwen

  • 7 Posts
  • 0 Reply Likes
Photo of Simba

Simba

  • 6 Posts
  • 0 Reply Likes
I have used that guide from 2600hz but got into some installation issues. Use the guide I referenced above it's straight forward. Most things are the same but the author smoothed out some stuff. If ur still having trouble just email me and we can do a team viewer session: simbahmso@yahoo.com
Photo of Beshel Ikwen

Beshel Ikwen

  • 7 Posts
  • 0 Reply Likes
Thanks Simba
Photo of Beshel Ikwen

Beshel Ikwen

  • 7 Posts
  • 0 Reply Likes
Please confirm that I can use my public IP for the server ip
Photo of Simba

Simba

  • 6 Posts
  • 0 Reply Likes
Yes you sure can
Photo of Beshel Ikwen

Beshel Ikwen

  • 7 Posts
  • 0 Reply Likes
Look at the error message a got creating the FQDN 
Photo of Simba

Simba

  • 6 Posts
  • 0 Reply Likes
Easier and less hassle if you simply declare FQDN as variable by using command;
serverFQDN=$(hostname)      
  --> where hostname is whatever is returned when you type command "hostname"
After doing that then command:
sed -i "s/kamailio\.2600hz\.com/$serverFQDN/g" /etc/kazoo/kamailio/local.cfg

That's the way I do it instead of manually inserting FQDN in above command that way it always works but also make sure you verify your hostame by "hostname" and "hostname -f" commands to start