MCEUSB Remote + XBMC 10 + Fedora 15 = Broken OK and BACK Buttons

The mceusb remote controls have been moved from LIRC to the kernel, so editing the Lircmap.xml won't do you any good.

Edit this file (good idea to make a backup copy, first):
/etc/RC_keymaps/rc6_mce

Change these lines:
0x800f0422 KEY_OK >> 0x800f0422 KEY_ENTER
0x800f0423 KEY_EXIT >> 0x800f0423 KEY_BACK

KDE Autostart (Fedora 15)

Easiest way...

Copy a program short cut (desktop or K menu) into
/home/USERNAME/.kde/Autostart.

KDE Autologin (Fedora 15)

Edit /etc/kde/kdm/kdmrc

[X-:0-Core]
AutoLoginDelay=0
AutoLoginEnable=true
AutoLoginUser=USERNAME

MySQL Data Types

Type {storage} Name Range Attributes Default
Numeric
{1 byte}
TINYINT[(M)] -128 TO 127
[0 to 255 if UNSIGNED]
AUTO_INCREMENT
UNSIGNED, ZEROFILL,
SERIAL DEFAULT VALUE
NULL
[0 if NOT NULL]
Numeric
{2 bytes}
SMALLINT[(M)] -32,768 to 32,767
[0 to 65,535]
AUTO_INCREMENT,

FreeNAS on Intel SS4200-E

My Setup:
- Intel SS4200-E
- Three hard drives I had lying around
- Compact Flash to IDE module (don't forget the FDD-to-Molex adapter like I did)
- 8GB Compact Flash Card
- Intel/DTK 10 pin IDC to DB-9 (for console access)

Process:
- Connected compact flash card to another PC. (I have a compact flash reader in my primary PC but you could use to the IDE module for the SS4200.)
- Formated flash for FAT32.
- Installed FreeNAS embedded version .img on flash.
gunzip -c /home/liz/Desktop/FreeNAS-i386-embedded-0.7.2.5543.img | dd of=/dev/sdb
- Booted PC from compact flash

Setting up Drupal on CentOS 5.5

- https://www.loughborough.lug.org.uk/?q=node/14
- http://drupal.org/node/327731

Additionally...
In /var/lib/pgsql/data/pg_hba.conf, add the following:

local all all ident sameuser
host all all 127.0.0.1/32 md5
host all all ::1/128 md5

Also, if you have SE Linux enabled, run the following:

/usr/sbin/setsebool -P httpd_can_network_connect_db=1

Fedora 10 + Cacti Install issues

I had a lot. Here's a couple things I remembered to write down...

Crontab was all screwed up. This worked...

sudo -u cacti crontab -e
*/5 * * * * /usr/bin/php /usr/share/cacti/poller.php > /var/log/cact/poller.log

Also, the access list. Why is it set to deny by default?

nano /etc/httpd/conf.d/cacti.conf
Allow from all

If you add plugins or copy/paste/move around files, you may fubar the SELinux context stuff.

chcon --reference=/var/www/html /usr/share/cacti -R

Linux Disk Usage via Command Line

df -h (translates to "disk free, human readable")

[root@*** ]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_***-lv_root 36G 19G 16G 55%
dev/sda1 194M 14M 171M 8% /boot
tmpfs 246M 568K 245M 1% /dev/shm

Adding a DB and User in PostgreSQL (in Centos)

[root@taggart liz]# su - postgres
-bash-3.2$ psql template1
Welcome to psql 8.1.23, the PostgreSQL interactive terminal.

Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
\q to quit

template1=# create database [dbname];
CREATE DATABASE
template1=# create user [username] WITH PASSWORD '[password]';
CREATE ROLE
template1=# grant all privileges on [dbname] to [username];
GRANT
template1=# \q
-bash-3.2$ exit
logout

Enable root login under Fedora 10 Gnome GUI login screen

nano /etc/pam.d/gdm

remove or comment out...
auth required pam_succeed_if.so user != root quiet

Syndicate content