inside the mind of a linux admin

Multimedia: Audio and Video Playback

Erik

Thursday, October 29, 2009

ubuntu linux

No Comment

Playing a Video (XVid, DivX etc.) or Audio (MP3) file has become pretty easy. Just double click the file you want and allow Totem to automatically download the needed codecs. But you could also do this by yourself very easily by installing a package which contains all the needed codecs and more. Just look above […]

Read More

Google Earth for Ubuntu

Erik

Thursday, October 29, 2009

ubuntu linux

No Comment

As we all know Google Earth lets you fly anywhere on Earth to view satellite imagery, maps, terrain, 3D buildings, from galaxies in outer space to the canyons of the ocean. Now, it’s been made available to us Linux junkies. To install it type: sudo apt-get install googleearth-package make-googleearth-package –force sudo dpkg -i googleearth*.deb Afterwards […]

Read More

fix permissions recursively using find

find . -type d -exec chmod 755 {} \; find . -type f -exec chmod 644 {} \; Share on FacebookTweet

Read More

older OSCommerce + mySQL 5.0 Compatibility Workaround

older OSCommerce + mySQL 5.0 Compatibility Workaround

Read More

enable/disable webmail access for a particular user

Yes, you can disable one or more of the Webmail packages on specific accounts or domains: SSH into the server as root and edit the file: /var/cpanel/users/username Now, if you want to disable all webmails then add below lines: skiphorde=1 skipsqmail=1 skipneomail=1 Restart cPanel using /etc/init.d/cpanel restart Share on FacebookTweet

Read More

force a horde update and reset databases

Sometimes you may need to update Horde forcefully due to a database or MySQL version upgrade/downgrade. Additionally, if Horde is not “saving” user preferences or remembering last logins, you can force upgrade Horde by executing following command: /usr/local/cpanel/bin/update-horde –force Please note that it will drop the existing Horde Database and will create a new database. […]

Read More

can’t find user in WHM

cPanel doesn’t know user, or you can’t find the user in WHM * There aren’t account neither in “List Accounts” neither in “Show Reseller Accounts” * Check on /var/cpanel/users/username. Make sure the user is owned by the correct account. It should also have a “DNSX=domain.com” line. * Execute the following commands: # /scripts/updateuserdomains # /scripts/rebuildcpusers […]

Read More

simple foreach to kill multiple PIDs

Sometimes you’ll find a bunch of stale or malicious processes that need to be killed. When a killall won’t grab them, use this simple for loop to kill -9 each of them individually from the ps output. Simply replace the name= variable with the PID’s name or a string from the process list. # name="perl" […]

Read More

enable passive FTP in pure-ftpd

For users that are behind a firewall it might be required that you enable passive ftp in the customer’s ftp server and client. While enabling passive ftp in your ftp client is simple, doing so in your ftp server configuration files might be a bit tricky if you don’t know what you are doing. This […]

Read More

cPanel error: language cache is out of date

During an upcp, or visible on cPanel WHM you may encounter an error that says: Warning: language cache is out of date. It is being rebuilt now Can’t locate Class/Std.pm in @INC (@INC contains: /usr/local/cpanel /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi […] Compilation failed in require at (eval 1) line 3. …propagated at /usr/lib/perl5/5.8.8/base.pm line 85. BEGIN failed–compilation aborted at […]

Read More

Twitter: kireguy

Tweeter button Facebook button Myspace button