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
![](https://static.wixstatic.com/media/39e94b_cdf5a99b22c942dc89f7717b50cdd956~mv2.jpg/v1/fill/w_980,h_498,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/39e94b_cdf5a99b22c942dc89f7717b50cdd956~mv2.jpg)
Step 2: Navigate to any browsers and verify phonebook.xml is accessible through URL, for eg. http://192.168.0.81/phonebook.xml
![](https://static.wixstatic.com/media/39e94b_544335a11b2b4887be0b2c913632928f~mv2.jpg/v1/fill/w_765,h_1014,al_c,q_85,enc_auto/39e94b_544335a11b2b4887be0b2c913632928f~mv2.jpg)
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
![](https://static.wixstatic.com/media/39e94b_d0473df2cc064710ae41c66ecadf99cc~mv2.jpg/v1/fill/w_978,h_691,al_c,q_85,enc_auto/39e94b_d0473df2cc064710ae41c66ecadf99cc~mv2.jpg)
Step 2: Contacts are synced and uploaded successfully from Apache Web Server to phone
![](https://static.wixstatic.com/media/39e94b_c736c697be0d4d5db6608341e7178452~mv2.jpg/v1/fill/w_980,h_427,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/39e94b_c736c697be0d4d5db6608341e7178452~mv2.jpg)
Comments