Created on 02-18-201712:51 PM - edited 02-13-202010:08 PM
- We can see that ambari has it's image files and web contents present inside the "/usr/lib/ambari-server/web/" directory. This directory contains all the static stuff that are needed by the UI.
.
- Suppose we want to make changes to ambari UI logo. That can be accessed from the URL:
- We have converted out images in compressed format. We can see the file as following, which we will need to move inside the "/usr/lib/ambari-server/web/img" directory.
# ls -l /tmp/images/logo-white.png.gz
-rw-r--r-- 1 root root 41532 Nov 13 05:46 ./logo-white.png.gz
# cp /tmp/images/logo-white.png.gz /usr/lib/ambari-server/web/img/
mv: overwrite `/usr/lib/ambari-server/web/img/logo-white.png.gz'? y
.
Now we should be able to open the ambari UI after refreshing the browser.
Refresh the browser (make sure to clear the old cache data from browser) Or open ambari UI in (Google chrome menu "File --> New Incognito Window")
.
Notice: The top left corner of the page that ambari UI where the logo is changed. Same way we can also make changes in the Style sheets (css) as well.