... | @@ -37,6 +37,32 @@ ubuntu@test-amf:~/oai-cn5g-amf/build/scripts$ ./build_amf -c -V -b Debug -j |
... | @@ -37,6 +37,32 @@ ubuntu@test-amf:~/oai-cn5g-amf/build/scripts$ ./build_amf -c -V -b Debug -j |
|
## MySQL Installation
|
|
## MySQL Installation
|
|
At this stage, AMF does not support authentication/authorization procedures via UDM/AUSF. These procedures are implemented locally in AMF. Also, we relied on a MySQL database to store the user information. This DB can be deployed in a separated machine or in the same machine with AMF.
|
|
At this stage, AMF does not support authentication/authorization procedures via UDM/AUSF. These procedures are implemented locally in AMF. Also, we relied on a MySQL database to store the user information. This DB can be deployed in a separated machine or in the same machine with AMF.
|
|
|
|
|
|
|
|
Install MySQL server and try to login.
|
|
|
|
```bash
|
|
|
|
$ sudo apt install mysql-server
|
|
|
|
$ mysql -u root -p
|
|
|
|
```
|
|
|
|
You may need to change password for root as following:
|
|
|
|
|
|
|
|
mysql -u root -p
|
|
|
|
|
|
|
|
then from mysql prompt:
|
|
|
|
|
|
|
|
mysql> FLUSH PRIVILEGES;
|
|
|
|
|
|
|
|
then set new password to "linux"
|
|
|
|
|
|
|
|
mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'linux';
|
|
|
|
|
|
|
|
exit
|
|
|
|
|
|
|
|
and then try to login a gain with password "linux"
|
|
|
|
Default username and password used for HSS are `root` and `linux`,
|
|
|
|
respectively, and can be changed in the HSS's `hss.conf` file later.
|
|
|
|
For Ubuntu 18.04, a login as root was not possible. [Follow these steps to make
|
|
|
|
it work](https://vitux.com/how-to-install-and-configure-mysql-in-ubuntu-18-04-lts/)
|
|
|
|
or create another user.
|
|
|
|
|
|
|
|
|
|
## AMF Configuration
|
|
## AMF Configuration
|
|
|
|
|
... | | ... | |