Today learned about the dpkg -s command, e.g.
# dpkg -s kde-baseapps
Today learned about the dpkg -s command, e.g.
# dpkg -s kde-baseapps
Read about how to configure NTP server on Ubuntu.
Disabled Apache2 with:
update-rc.d -f apache2 remove
Followed these instructions!
I followed these instructions to install PHP 5.4 on Ubuntu 12.04 LTS.
Basically:
$ sudo apt-get install python-software-properties $ sudo add-apt-repository ppa:ondrej/php5 $ sudo apt-get update $ sudo apt-get dist-upgrade
Reading about how to create a RAM disk on Linux:
# mount -o size=200M -t tmpfs none /mnt/tmpfs
Been meaning to get around to reading this white paper from Canonical: What’s new in Ubuntu Server 12.04 LTS.
Read about checking your Ubuntu version today and was reminded of lsb_release -a.
I’ve been getting this error from time to time on my Ubuntu server:
INFO: task dpkg:27497 blocked for more than 120 seconds.
I did some research and it turns out this is related to a bug in the dpkg system, and apparently it’s been fixed already (but not rolled out as part of Ubuntu yet).
Look forward to the fixed being rolled out, because the implication of the bug at the moment is that my system can hang for long periods of time while I’m installing software with apt-get.
I was wondering how I could disable the console screen saver on my server (so I can watch progress of stuff in the background) and I found this article, How do I permanently disable Linux’s console screen saver, system-wide?
One of the solutions suggests installing the console-tools package, but there is another solution that looks like it doesn’t need any package installed, so I’m gonna give that a try first. The solution is to edit /etc/kbd/config and specify:
BLANK_TIME=0 POWERDOWN_TIME=0
I’ve configured that now but won’t be able to test for a while as I can’t reboot my server just at the moment.
While I was at it I figured I’d have num lock enabled by default too:
LEDS=+num
Update: I was finally able to reboot my system and test that config, and: it didn’t work.
I tried to apt-get install console-tools, but that make things even worse! I recommend that you don’t try and install console-tools on Ubuntu Lucid, if my experience is anything to go by. Lucky I could still SSH to my server, because there was no console!
In the end I settled on a solution I found over here, being to add the following to /etc/rc.local:
setterm -blank 0 -powersave off -powerdown 0