ubuntu

Ubuntu MagicSpam Plesk can’t install needs libmilter package

Getting some error like: magicspam-plesk depends on libmilter1.0.1; Trying to install MagicSpam on Unbuntu 12.04 and Plesk 11? apt-get install libmilter-dev   root@blue:/tmp# sudo dpkg -i magicspam-plesk-1.0.5-3-precise64-postfix10.amd64.deb (Reading database … 188972 files and directories currently installed.) Preparing to replace magicspam-plesk 1.0.5-3 (using magicspam-plesk-1.0.5-3-precise64-postfix10.amd64.deb) … Unpacking replacement magicspam-plesk … dpkg: dependency problems prevent configuration of magicspam-plesk:…

Read More...

Ubuntu 12 Postfix Messages Stuck In Queue

Command To See Postfix Queue % mailq or % postqueue -p FLUSH Messages In Queue % postfix flush or % postqueue -f Hope this helps.

Read More...

Plesk Ubuntu / Linux Log and Config file locations

http://kb.parallels.com/en/111283 Another nice page to help me remember where all those log files and config files are for Parallels Plesk Panel for Linux services logs and configuration files

Read More...

Apache2 HTTPS / SSL directory AND Password Protect

just a note. if you need to password protect a directory and add SSL / HTTPS support you need to put the protection code FIRST in your .htaccess file. when i had it after the https force it wouldn’t work. AuthType BasicAuthName “RESTRICTED AREA”AuthUserFile /var/www/vhosts/YourDomain.com/httpdocs/YourDirectory/.htpasswdrequire valid-user RewriteEngine OnRewriteCond %{SERVER_PORT} 80RewriteCond %{REQUEST_URI} YourDirectoryRewriteRule ^(.*)$ https://YourDomain.com/YourDirectory/$1 [R,L]

Read More...

UBUNTU check free memory and free mem empty cache

check memory usage: cat /proc/meminfo or free free command displays amount of total, free and used physical memory (RAM) in the system, as well as shoing information on shared memory, buffers, cached memory and swap space used by the Linux kernel. Syntax of free free -[options] Example usage of free free -m The command will…

Read More...

UBUNTU dpkg–configure-a E: dpkg was interrupted error

somehow my apt-get got torqued and wouldn’t work anymore. i tried running: sudo dpkg –configure -a i couldn’t do this command because the last install download was still in place. dpkg: parse error, in file ‘/var/lib/dpkg/updates/some_file’ near line 0: you can take care of this error by removing (rm) the file and rruning dpkg again…

Read More...

Ubuntu 10.x completely remove and clean MySQL installation

In my attempt to move the MySQL datadir I have a messed up MySQL installation. Here’s how I’ve completely removed MySQL 5.1 from Ubuntu 10.x. i have a messed up installation and need to completely remove MySQL and re-install it. Warning, this will delete *everything* associated with MySQL on ubuntu! It does give you a…

Read More...

MCrypt PHP5 Ubuntu Install

Ubuntu: PHP mCrypt Installation mCrypt is an encryption program used on Linux systems. To install mCrypt for PHP5 on your Ubuntu Linux system: sudo apt-get install php5-mcrypt Then restart Apache with: sudo /etc/init.d/apache2 restart I needed to do this so that  phpMyAdmin would have mcrypt available. For more info about mcrypt, visit: Official site http://mcrypt.hellug.gr…

Read More...

Plesk Ubuntu Remove DrWeb!

the MAGIC apt command to remove all of DrWeb: apt-get remove drweb-base drweb-bases drweb-common drweb-daemon drweb-updater psa-drweb-configurator root@blue:/home/primax# apt-get remove drweb-base drweb-bases drweb-common drweb-daemon drweb-updater psa-drweb-configurator Reading package lists… Done Building dependency tree Reading state information… Done The following packages were automatically installed and are no longer required: xulrunner-1.9-gnome-support Use ‘apt-get autoremove’ to remove them….

Read More...