标签:.so /etc star bubuko use automake style 添加 src
git clone https://github.com/hamano/apache-mod-markdown.git
apt-get install build-essential libtool automake autoconf
apt-get install libmarkdown2-dev apache2-dev
autoreconf -f -i
./configure --with-apxs=/usr/bin/apxs2 --with-discount=/usr
make
sudo make install
sudo chmod 644 /usr/lib/apache2/modules/mod_markdown.so
sudo vim /etc/apache2/apache2.conf
LoadModule markdown_module /usr/lib/apache2/modules/mod_markdown.so
<Location />
AddHandler markdown .md
# If you want to use stylesheet.
MarkdownCss style.css
</Location>
sudo systemctl restart apache2
标签:.so /etc star bubuko use automake style 添加 src
原文地址:https://www.cnblogs.com/QUSIR/p/9056060.html