White dog by Silviu Vulcan (silviuvulcan) Silviu Vulcan: Photos · Blog · Activity · Friends · Favorites RSS: Popular Photos · Editors Choice · Upcoming Photos · Fresh Photos Social: Twitter · Facebook · LiveJournal · Blog
I installed transmission on a headless server so I need it to start on boot. The included start-up script was dependent on start-stop-daemon that is mission on Slackware. The examples on the transmission forums were ok but would resulted in transmission running as root and I want it to run as a non-privileged user....
A php application on a cpanel server kept throwing this: Fatal error: Call to undefined function pcntl_fork() in /path/blah.php on line 5 The fix requires recompiling php with –enable-pcntl Fortunately cpanel offers the Easy Apache script. The bad part is that it doesn’t have an option for pcntl. So you have to specify it...
I got this on a newly installed server when I tried to import a database: View Code BASH1 2 3 [root@host ~]# mysql -u user -pPassword database < database.sql Enter password: ERROR 1153 (08S01) at line 53: Got a packet bigger than 'max_allowed_packet' bytes It’s easily fixable. The default is probably 16M, I added...
So, I had to set-up master-slave replication. Here’s how you do it: Why would one want to set-up this? Easy. 1)Spread the read load across multiple servers: you can use the MySQL master for writing (inserts, updates) and the slave(s) for reading (SELECT) This should speed up things nicely for your application. 2)Do...
Recent Comments