I screwed up the installation of a U14 Gnome installation and the user was not prompted on the desktop login panel. This was fixed by using the settings -> user accounts control.
Been trying to get my latest Linux Laptop to behave nicely while on battery. It’s an Elementary Luna build. I came to the conclusion that there’s not much that can be done; it’s one of those things we leave to the OS authors, in this case Canonical. Continue reading “Linux Power Management”
While installing docker, I decided I needed to write some notifications to ensure the configuration works. See Docker. I started with a TCL/TK script, which these days looks a bit old school, and writing the packer was (& remains) difficult. Virtualbox reports its status on Ubuntu via a very pretty interface, prettier than Apple script anyway, so I thought I’d have a lock. Continue reading “notify-send”
I am planning to install a linux on my last laptop, It is an HP Probook and has no CD/DVD. I need to choose a Linux, this, elementry os looks good and is derived from Ubuntu.
I am installing this on the Mac under Virtual Box. This snip is about Ubuntu.
The first problem is that it comes with quite a bit of crap installed and the Unity search is over zealous and too network noisy.
This might be helpful, an article about the first 10 things to do. I seem to have a problem with finding the dash plugins to stop the internet searches. This needs to be tuned.
I want to configure the software package manager to check daily.
I have installed Unity Tweaks.
I have turned the virtual desktop manager on.
I have uninstalled Ubuntu One.
I started using Planet in about
2008 2006, it would seem? I rapidly came too “Planet Venus” and this article was written during that time, and was copied from the snipsnap wiki, itself copied from my sun blog. This article focuses on installation and administration. It includes links to my scripts. Continue reading “Planet Planet”
I decided to test an install of Snipsnap on my favourite Linux. I am using Ubuntu 9.0
- Download the tar from http://snipsnap.org/space/snipsnap-download1.
- Make a user, with a home directory,
- Unpack the tar contents into the home directory
- Install Java 5 both JRE and JDK, use synaptic, now you have to go to the Oracle old distros page
- Get and unpack my utilities into $HOME/bin, this needs to be uploaded here
- Create a ./mkenv script that sets JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun <- Ubuntu specific, I think snipsnap needs Java 1.5, I should test 6 on Ubuntu again but I have failed this test once
The login script is currently set to /bin/false. Lets see if we can build a snipsnap instance, I need to
- Run run.sh
- Fix the apache conf file to redirect the port.
- Test the utilities, I know that snipsnapmgr.sh will need some tarting about.
I had to change the login shell from /bin/false, couldn’t get programs to run as the snipsnap admin user. I should have another look at this. Need to version control snipsnap manager.
Installing the rc files
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
- A thread at ubuntu forums called Add Service to Startup. This thread references update-rc.d. This link is at the Ubuntu man pages site site, which as a firefox add-able search engine.
- There is another interface to the Ubuntu SysV rc interface, called sysv-rc-conf. This is the Ubuntu manpages page.
- This is an article on managing services from http://www.cyberciti.biz
- The Bootup Manager aka BUM is documented at the bum docs site, and the ubuntu man bum page which is one way to get a GUI to help.
The program update-rc.d does the job.
I created a mirror for my critical snipsnap files here…
My package copies are hosted here
- snipsnap-1.0b3-uttoxexter.tar.gz 21 Mb ….. Download…
- snipsnap-1.0b3-uttoxexter.tar 22 Mb ….. Download…
- HTMLMacro.jar 7 Kb ….. Download….
I decided to upload the current copy of my utilities for managing snipsnap; it should make bring it online easier
- snipsnap-scripts-dfl20100822.tar.gz 8Kb ….. Download…
I checked in July 2010, as I was looking at porting my Snipsnap due to the Qube’s final failure and found that my archives were corrupt, and the snipsnap.org had gone. Leo has promised to restore it. I have uploaded a .tar. I’ll compress it and reload the .tgz later today. The .tar is 22 Mb so I obviously didn’t get it right when I uploaded the two files in March 2009. Bit Torrent will have to wait until I have a new web server and then only if I can find some other (people’s) servers to act as peers. 29 Jul 2010.
I have had the subversion pages pointed out to me and uploaded the HTMLMacro page. This page now points at the original source as well as hosting my tarballs and now HTML Macro, which is the only user contributed code I currently use. 7th July 2009
Comments and size amended, comments about the original locations added. I should add HTMLMacro.jar to this page as well. 24 March 2009
I went back today and still can’t find it. So I have uploaded a .tgz file I had lying around and I am adding a share this button on this page. I haven’t a clue why the sizes are so different, if you’re lucky I’ll investigate and document it. I might also upload .torrent file when I work out how. For now, I’d recommend the larger file. 20 Mar 2009.
The Ubuntu forums were hacked earlier this week, and are currently unavailable. 26 July 2013
I copied part of my static snipsnap mirror to this page, when I created it from the roginal on the snipsnap bliki in July 2013. 26 July 2013
This should be easier, but I think made harder because I corrupted my Firefox applications helper list, and then chose the wrong way out
My problem, the browser tries to download index.phtml, in retrospect because, I believe that the module wasn’t properly installed into apache. Using Ubuntu 9.04
The Right Way
apt-get install apache2 php5 php5-mysql libapache2-mod-php5 php5-mysql mysql-server
I am running in a virtual box so I needed to create a /etc/apache2/conf.d/fqdn. There wasn’t one on my system, it needs the line
I suspect that fixed it, and that my errors were caused by not initially correctly installing libapache2-mod-php5. I have proved that my install works by using Opera. Now to remove the .phtml line from the firefox browser and make the vm a server.