18 May 2013 21:14
18 May 2013 17:33
Install php 5.3 in Ubuntu 12.10
Adam Tong <adam.tongu <at> gmail.com>
2013-05-18 15:33:59 GMT
2013-05-18 15:33:59 GMT
Hi,
I want to know what is the best way to install a specific version of php and have a full LAMP setup. Ubuntu intallation of LAMP is very esay but by default I get php 5.4, and I need 5.3. If I can choose a specific version like 5.3.17 that would be even better.
Thank you
<div><div dir="ltr"> <div> <div>Hi,<br><br> </div>I want to know what is the best way to install a specific version of php and have a full LAMP setup. <br><br><br> </div> <div>Ubuntu intallation of LAMP is very esay but by default I get php 5.4, and I need 5.3. If I can choose a specific version like 5.3.17 that would be even better.<br><br> </div> <div>Thank you<br> </div> </div></div>
18 May 2013 17:31
zRam and Swapspace
Liam Proven <lproven <at> gmail.com>
2013-05-18 15:31:35 GMT
2013-05-18 15:31:35 GMT
So, just for the experiment, I tried configuring a 1GB RAM VM with both zRam (compressed swap in RAM) and swapspace (on-demand swapfiles in /var so you don't need a swap partition). It seemed to work fine. I loaded Firefox with a ton of image tabs, plus LibreOffice, the GIMP, VLC, Evince, System Monitor and watched the swap gradually climb until zRam's half a gig of "virtual" virtual memory (IYSWIM) was exhausted, at which point it started creating swapfiles - one of 216MB followed by one of 270MB. System performance gradually degraded, as you might expect. Eventually System Monitor froze up and then Firefox, but I suspect that if I had given them long enough, they'd have recovered as they were swapped back in. The only snag: trying to hibernate, it did it happily, but when the VM rebooted, I got a cold-boot rather than a recovery from hibernation. But if you don't want hibernation - and I don't, not on desktops - then the combination seems to work well for slightly low-memory machines. I'd say that if you don't want or need hibernation support, there doesn't seem to be much need for a dedicated swap partition any more. -- Liam Proven • Profile: http://lproven.livejournal.com/profile Email: lproven <at> cix.co.uk • GMail/G+/Twitter/Flickr/Facebook: lproven MSN: lproven <at> hotmail.com • Skype/AIM/Yahoo/LinkedIn: liamproven Tel: +44 20-8685-0498 • Cell: +44 7939-087884 -- -- ubuntu-users mailing list ubuntu-users <at> lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
18 May 2013 08:54
DVD drivers for external usb dvd550s-H03 8, ubuntu precise pagolin/puppy precise
Ashim Kapoor <ashimkapoor <at> gmail.com>
2013-05-18 06:54:56 GMT
2013-05-18 06:54:56 GMT
Dear Gods of Ubuntu,
I wish to use HP's dvd550s-H03 8 with Puppy precise based on Ubuntu 12.04. Currently it does not detect my external us.b drive. Can someone point me in the right direction? <div><div dir="ltr"> <div> <div> <div>Dear Gods of Ubuntu,<br><br> </div>I wish to use HP's dvd550s-H03 8 with Puppy precise based on Ubuntu 12.04. Currently it does not detect my external us.b drive. Can someone point me in the right direction? <br><br> </div>Many thanks,<br> </div>Ashim<br> </div></div>
17 May 2013 22:19
fixing (invalid coding)
rikona <rikona <at> sonic.net>
2013-05-17 20:19:06 GMT
2013-05-17 20:19:06 GMT
I have been doing lots of file copies/restores in a new box. Turns out many files have 'odd' characters in them that seem to be causing problems in 12.04. Some software [like grsync] does not work properly with these files. CLI with sudo seems to do well though - it seems to be GUI pgms that have trouble. The offending files have '(invalid coding)' tacked on the end of the name [in the GUI]. The chrs seem to be in foreign file names, especially German. I have hundreds [+] of these in a wide variety of locations. It's not possible to look through all the files, in thousands of dirs, to find them. Is there a way to list ALL the files that have this problem and/or fix it in the file name by, say, substituting a like-sounding OK chr in the name? Thanks... rikona
17 May 2013 17:07
Openldap Installation
kannan rbk <kannanrbk.r <at> gmail.com>
2013-05-17 15:07:37 GMT
2013-05-17 15:07:37 GMT
Hi team,
--
Regards,
Bharathikannan R
I am very happy using linux over the years. Now , I am moved to new generation linux Ubuntu . I am doing a project with kerberos and openldap. I read the documentation in ubuntu site.
I can't proceed with step 5.
Here is the error , I am facing.
root <at> bharathi:~# ldapadd -x -D cn=admin,cn=config -W -f /tmp/cn\=kerberos.ldif
Enter LDAP Password:
ldap_bind: Invalid credentials (49)
I posted the same in ask ubuntu. I got no answer.
Finally, I searched google and found the email address.
Please help me on this.
More Info
Ubuntu 12.04
Regards,
Bharathikannan R
<div><div dir="ltr"> <span>Hi team,</span><div><br></div> <div>I am very happy using linux over the years. Now , I am moved to new generation linux Ubuntu . I am doing a project with kerberos and openldap. I read the documentation in ubuntu site. </div> <div><br></div> <div><a href="https://help.ubuntu.com/12.04/serverguide/kerberos-ldap.html#kerberos-ldap-openldap" target="_blank">https://help.ubuntu.com/12.04/serverguide/kerberos-ldap.html#kerberos-ldap-openldap</a></div> <div><br></div> <div>I can't proceed with step 5.</div> <div><br></div> <div>Here is the error , I am facing.</div> <div><br></div> <div> <div>root <at> bharathi:~# ldapadd -x -D cn=admin,cn=config -W -f /tmp/cn\=kerberos.ldif </div> <div>Enter LDAP Password: </div> <div>ldap_bind: Invalid credentials (49)</div> <div><br></div> <div>I posted the same in ask ubuntu. I got no answer. </div> <div><br></div> <div>Finally, I searched google and found the email address. </div> <div><br></div> <div>Please help me on this. </div> <div><br></div> <div>More Info</div> <div><br></div> <div>Ubuntu 12.04</div> </div> <div><br></div>-- <br>Regards,<br><br>Bharathikannan R<br> </div></div>
17 May 2013 16:05
symlink for a command - affected by its location
Sabniveesu Shashank <shashank16392 <at> gmail.com>
2013-05-17 14:05:59 GMT
2013-05-17 14:05:59 GMT
I created a symlink for an executable in /usr/bin which didn't work. But I created the same in /usr/local/bin which worked the way I expected. How are these two different?
Both the above locations are present in my $PATH.<div><div dir="ltr"> <div>I created a symlink for an executable in /usr/bin which didn't work. But I created the same in /usr/local/bin which worked the way I expected. How are these two different?<br><br> </div>Both the above locations are present in my $PATH.<br> </div></div>
17 May 2013 09:52
Pidgin 2.10.7 on Raring Ringtail
Kaushal Shriyan <kaushalshriyan <at> gmail.com>
2013-05-17 07:52:44 GMT
2013-05-17 07:52:44 GMT
Hi
Is there a way to steal the focus in raring ringtail whenever someone contacts me in Pidgin IM Conversation Window. I do a ALT-TAB to look at the conversation window if someone has pinged me during which i miss most important conversation. Any suggestions please?
Screenshot -> http://i.imgur.com/AdX5ila.png
Thanks and Regards,
Kaushal
<div> <p>Hi</p> <div><br></div> <div>Is there a way to steal the focus in raring ringtail whenever someone contacts me in Pidgin IM Conversation Window. I do a ALT-TAB to look at the conversation window if someone has pinged me during which i miss most important conversation. Any suggestions please?</div> <div>Screenshot -> <a href="http://i.imgur.com/AdX5ila.png">http://i.imgur.com/AdX5ila.png</a> </div> <div><br></div> <div>Thanks and Regards,</div> <div><br></div> <div>Kaushal</div> <div><br></div> <div><br></div> </div>
16 May 2013 23:59
XFCE locks up on me
David Fletcher <dave <at> thefletchers.net>
2013-05-16 21:59:25 GMT
2013-05-16 21:59:25 GMT
I've been recycling an HP Pavilion ze5232 that was given to me rather than dump it. Never attempted this before but I've completely stripped down the laptop, fitted WiFi antennas, put it back together then fitted a Broadcom based mini PCI card. Ended up putting XP back on to use the BIOS flashing tools, installed Ubuntu 12.04 dual boot, and used the instructions I found to flash the Broadcom chip with Linux firmware. Now, the laptop is working with WiFi but it's not got enough horsepower to run Unity properly. So, I installed xubuntu-desktop. XFCE works, except I was using Chrome with ebay to purchase a new battery for said laptop. Got to the stage of checkout where it needs the PayPal password. I clicked on the top edge of Revelation which was underneath Chrome to retrieve the password, end the desktop locked up. The mouse cursor changed from the arrow to a hand, carried on moving around but everything stopped working. Only thing I could do was hold the power button in to force the laptop to power off and try again. Logged back in to ebay, tried to pay, the damn thing locked up exactly the same way. So, I guess I'd like to know if anybody else can reproduce this? Dave
16 May 2013 23:35
Help with programming using libcairo
Kevin O'Gorman <kogorman <at> gmail.com>
2013-05-16 21:35:59 GMT
2013-05-16 21:35:59 GMT
I'm trying to work with the tutorial at http://cairographics.org/tutorial/
but cannot get anything to compile and link.gcc `pkg-config --cflags --libs cairo` -static hello.c -o hello
--
Kevin O'Gorman
programmer, n. an organism that transmutes caffeine into software.
programmer, n. an organism that transmutes caffeine into software.
| Please consider the environment before printing this email. |
<div><div dir="ltr"> <div> <div> <div> <div> <div> <div> <div> <div> <div> <div>I'm trying to work with the tutorial at <a href="http://cairographics.org/tutorial/" target="_blank">http://cairographics.org/tutorial/</a><br> </div>but cannot get anything to compile and link.<br><br> </div>I entered their first example, and all of the cairo_* symbols show up undefined in the link phase.<br><br> </div>I'm compiling the tutorial's simplest example, a hello.c program, using<br>gcc `pkg-config --cflags --libs cairo` -static hello.c -o hello<br><br> </div>and it looks like the library's empty. However, when I use nm(1) on /usr/lib/i386-linux-gnu/cairo.so<br> </div>I see those symbols. The nm utility does not seem to work on the .so library, even after following symlinks.<br><br> </div>pkg-config --libs cairo<br> </div>just emits "-lcairo"<br><br> </div>I've tried inserting -L /usr/lib/i36-linux-gnu/ to no avail.<br><br> </div>I'm not sure what else to try.<br> </div> <div><div><div> <div><div><div><div><div><div><div><div> <br>-- <br><div dir="ltr">Kevin O'Gorman<br><br>programmer, n. an organism that transmutes caffeine into software.<br><span><span></span></span><table border="0" cellpadding="0" cellspacing="0" width="448"><tr> <td width="25"></td> <td width="423"><span>Please consider the environment before printing this email.</span></td> </tr></table> <br> </div> </div></div></div></div></div></div></div></div> </div></div></div> </div></div>
16 May 2013 20:54
switch users --> black screen, no response [in 12.04]
rikona <rikona <at> sonic.net>
2013-05-16 18:54:14 GMT
2013-05-16 18:54:14 GMT
This has happened a few times: switching users gives me a black screen, no response to anything, keys or mouse. alc-ctl f(whatever) does nothing. Assuming that it actually is switching, entering the password also gives nothing. So far, in past occurrences, I have not found a way to recover except pull the plug. But - this time I have a couple of USB drives attached and have been copying files to/from these disks, so a final sync may not have been done. A power-off shutdown might damage the backup disks, which would be a serious problem. My primary concern now is saving the USB disks. I can confirm that the box is still running - a Win2k box on the net can see and access files, so it's not a complete crash. What can I do to preserve the USB's and/or restore the box to operational status? If there is no way, is there a way to repair the damaged USB disks, short of another full recovery process? -- -- Best regards, rikona
RSS Feed