{"id":1511,"date":"2010-05-09T19:39:47","date_gmt":"2010-05-09T19:39:47","guid":{"rendered":"http:\/\/wiki.davelevy.info\/?p=1511"},"modified":"2023-03-25T18:56:19","modified_gmt":"2023-03-25T18:56:19","slug":"snipsnap-ubuntu","status":"publish","type":"post","link":"https:\/\/davelevy.info\/wiki\/snipsnap-ubuntu\/","title":{"rendered":"Snipsnap &#038; Ubuntu"},"content":{"rendered":"<p>I decided to make an install of Snipsnap on my favourite Linux. I am using Ubuntu 9.0. This snip talks about how to, and configuring the rc.d files. It must be pretty useless now, and I have marked it <code>deprecated<\/code> and is another page that points at my mirror and thus needs to acknowledge that the source is now on github,&nbsp; <a href=\"https:\/\/github.com\/thinkberg\/snipsnap\">https:\/\/github.com\/thinkberg\/snipsnap<\/a><!--more--><\/p>\n<ol>\n<li>Download the tar from <a href=\"http:\/\/snipsnap.org\/space\/snipsnap-download1.\">http:\/\/snipsnap.org\/space\/snipsnap-download1.<\/a><\/li>\n<li>Make a user, with a home directory,<\/li>\n<li>Unpack the tar contents into the home directory<\/li>\n<li>Install Java 5 both JRE and JDK, use <code>synaptic<\/code>, <acronym title=\"July 2013\">now<\/acronym> you have to go to the Oracle old distros page<\/li>\n<li>Get and unpack <a href=\"https:\/\/github.com\/dfl1955\/snipsnaptools\">my utilities<\/a> into $HOME\/bin, <i>this needs to be uploaded here<\/i><\/li>\n<li>Create a .\/mkenv script that sets JAVA_HOME=\/usr\/lib\/jvm\/java-1.5.0-sun &lt;- Ubuntu specific, I think snipsnap needs Java 1.5, I should test 6 on Ubuntu again but I have failed this test once<\/li>\n<\/ol>\n<p>The login script is currently set to \/bin\/false. Lets see if we can build a snipsnap instance, I need to<\/p>\n<ol>\n<li>Run run.sh<\/li>\n<li>Fix the apache conf file to redirect the port.<\/li>\n<li>Test the utilities, I know that snipsnapmgr.sh will need some tarting about.<\/li>\n<\/ol>\n<p>I had to change the login shell from \/bin\/false, couldn&#8217;t get programs to run as the snipsnap admin user. I should have another look at this. Need to version control snipsnap manager.<\/p>\n<h3>Installing the rc files<\/h3>\n<p>I have an rc script, but most stuff I insert has post install triggers, and since I am not using a package to do this, I need to work out how to install the scripts into the rc directories. I have not done this for Ubuntu before. The following links are\/maybe useful<\/p>\n<ul>\n<li>A thread at ubuntu forums called Add Service to Startup. This thread references <a href=\"https:\/\/web.archive.org\/web\/20100413161023\/http:\/\/manpages.ubuntu.com:80\/manpages\/jaunty\/en\/man8\/update-rc.d.8.html\">update-rc.d<\/a>. This link is at the <a href=\"http:\/\/manpages.ubuntu.com\/\">Ubuntu man pages site<\/a> site, which as a firefox add-able search engine.<\/li>\n<li>There is another interface to the Ubuntu SysV rc interface, called sysv-rc-conf. This is the Ubuntu manpages page.<\/li>\n<li><del>This is an article on managing services from http:\/\/www.cyberciti.biz<\/del><\/li>\n<li>The <b>Bootup Manager<\/b> aka BUM is documented at <a href=\"http:\/\/www.marzocca.net\/linux\/bumdocs.html\">the bum docs<\/a> site, and the ubuntu man bum page which is one way to get a GUI to help.<\/li>\n<\/ul>\n<p>The program update-rc.d does the job.<\/p>\n<p style=\"text-align: center;\">ooOOOoo<\/p>\n<h3>Mirror<\/h3>\n<p>I created a mirror for my critical snipsnap files <a title=\"Dave's Snipnap Mirror\" href=\"https:\/\/davelevy.info\/wiki\/snipsnap\/\">now here&#8230;<\/a><\/p>\n<h3>Contributions<\/h3>\n<p>I decided to upload the current copy of my utilities for managing snipsnap; it should make bring it online easier, these are now on github.<\/p>\n<ol>\n<li><a href=\"https:\/\/github.com\/dfl1955\/snipsnaptools\">https:\/\/github.com\/dfl1955\/snipsnaptools<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>I decided to make an install of Snipsnap on my favourite Linux. I am using Ubuntu 9.0. This snip talks about how to, and configuring the rc.d files. It must be pretty useless now, and I have marked it deprecated and is another page that points at my mirror and thus needs to acknowledge that&#8230;<\/p>\n","protected":false},"author":1,"featured_media":7593,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","_share_on_mastodon":"0"},"categories":[27,3],"tags":[1184,54,499,213,162,916,500,498,29,920,911,343,288],"class_list":["post-1511","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software","category-technology","tag-deprecated","tag-howto","tag-init-d","tag-install","tag-java","tag-linux","tag-mirror","tag-services","tag-snipsnap","tag-software","tag-technology","tag-ubuntu","tag-utility"],"share_on_mastodon":{"url":"","error":""},"jetpack_featured_media_url":"https:\/\/davelevy.info\/wiki\/wp-content\/uploads\/2013\/07\/snipsnap4creativiely-w1480.png","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/1511","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/comments?post=1511"}],"version-history":[{"count":15,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/1511\/revisions"}],"predecessor-version":[{"id":7688,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/posts\/1511\/revisions\/7688"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media\/7593"}],"wp:attachment":[{"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/media?parent=1511"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/categories?post=1511"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/davelevy.info\/wiki\/wp-json\/wp\/v2\/tags?post=1511"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}