Showing posts with label lynx. Show all posts
Showing posts with label lynx. Show all posts

Sunday, August 26, 2012

write and publish your work with vi, lynx, and apache

It's pretty interesting to find out that lynx is installed by default, and it's Homepage was set to openbsd.org, which is also a well-written HTML website without annoying scripts and cookies. Therefore, an ideal process to write and publish your own work simple on an OpenBSD box could be suggested below.

1) edit HTML files with vi. it's the pen to write down our work.

2) put the HTML files into /var/www/htdocs, and fire up apache. edit /etc/rc.conf if needed. that's how we publish our work.

3) use lynx to view our web pages. that's how we view our work. if there's anything needs to e corrected, go back to step 1 and do the whole process again.

shell prompt & web browsing tips

1) enable xdm in /etc/rc.conf for starting X-Window at system startup.

2) after login via X, edit .profile and add PS1 for tuning shell prompt.

export PS1="simplebsd \w # "

3) Lynx text web browser is pre-installed. we can surf the net by typing #lynx !