Gebauer took on teaching music after completing his formal training. In 1842, he became editor of "Sangfuglen", a compilation of the compositions of budding Danish composers. He was employed at the
Royal Danish Academy of Music as a teacher in harmony from 1866-1883. In 1870, his collected songs were published and he received the title of professor in 1876. In 1846, he was given the job of the organist at
St. Peter's Church, Copenhagen. From 1859, he held the position of organist at
Church of the Holy Ghost, Copenhagen, a job he held until his death. ==Personal life==