Setting up Apache Web Server in Ubuntu VM
Step 1: command sudo apt-get update
Step 2: command sudo apt install apache2
Step 3: command chmod –R 777 /var/www
At Apache Webserver
Step 1: Under var/www/html, copy phonebook.xml to this folder
Step 2: Navigate to any browsers and verify phonebook.xml is accessible through URL, for eg. http://192.168.0.81/phonebook.xml
At Phone’s Setting:
Step 1: Configure the following parameters:
Global Phonebook Type : XML
Automatic XML Phonebook Download: Enabled, use HTTP
HTTP/HTTPS User Name: Optional
HTTP/HTTPS Password: Optional
Phonebook XML Server Path: 192.168.0.81 (IP address of Apache Server)
Phonebook Download Interval: 5 (minutes)
Save and Apply the changes
Step 2: Contacts are synced and uploaded successfully from Apache Web Server to phone
Commenti