- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: install man pages in HTML format and show them...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2005 01:52 AM
тАО07-16-2005 01:52 AM
is it any way to install man pages in HTML format and show them via Apache ?
I have Debian Sarge.
kind regards
chris
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2005 01:12 PM
тАО07-16-2005 01:12 PM
Re: install man pages in HTML format and show them via Apache
man command >command.txt
The above command produces non stop output of man. Create a simple html page calling this file in HTML body. Man pages under /usr/share/man are compressed files. You can also do gzcat /usr/share/man/command files to view the actual file. But the format is different.
Create a HTML page placing all commands and use href to reference to these man files.
I would like to know if there is any direct method for this.
And If I am in your place, i would place PDF file containing all HP-UX commands and reference this file. There is PDF file which has all commands.
Thx,
Pradeep.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2005 04:17 PM
тАО07-16-2005 04:17 PM
Solutionhttp://packages.debian.org/unstable/doc/man2html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2005 08:18 PM
тАО07-16-2005 08:18 PM
Re: install man pages in HTML format and show them via Apache
as stuart mentioned, convert man pages to html using man2html.
Usage is: man2html
remember, the man page file has to be gunziped before feeding on to man2html.man2html can also do multiple files at a time.
if you do not want to do this, you can try accessing the man pages online, check this link: http://linux.ctyme.com/ there are lot more sites like this (eg: linux documentation project http://www.tldp.org/) which allows you to download the html-ized man pages.
Then its all matter of copying the html files to a particular directory in apache (/var/www/html) and accessing them through browser.
Regards,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-16-2005 09:17 PM
тАО07-16-2005 09:17 PM
Re: install man pages in HTML format and show them via Apache
# apt-get install apache man2html
simply point your browser to this URL:
http://localhost/cgi-bin/man/man2html
and it works excellent !
greetings
chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2005 08:03 AM
тАО07-18-2005 08:03 AM
Re: install man pages in HTML format and show them via Apache
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2005 02:59 PM
тАО07-19-2005 02:59 PM