Solutionist's Blog

Tech | Health | Life | Travel

[solved] [fixed] Unable to load dynamic library ‘/usr/lib/php5/20090626/suhosin.so’

Reason why it happen: php5-suhosin depends on an obsolete version of phpapi-20090626+lfs so php5-suhosin is removed during the upgrade… but the PHP config snippet /etc/php5/conf.d/suhosin.ini isn’t purged… so PHP still try to load the module suhosin.so.   to fix this STEP 1 Connect the repository: wget -q -O – http://www.atomicorp.com/installers/atomic.sh | sh   STEP 2 […]

Install and setup mysql centos redhat

How to install MySQL Install MySQL yum install mysql-server mysql php-mysql How to configure MySQL Set the MySQL service to start on boot chkconfig –levels 235 mysqld on Start the MySQL service service mysqld start Log into MySQL mysql -u root Set the root user password for all local domains SET PASSWORD FOR ‘root’@’localhost’ = […]

Teach spamAssasin – amavis that a message is SPAM

Spamassassin is a powerful antispam tool. However, it consumes a lot of processing power, so a good idea is to install amavis. This is a lightweight Perl script that pre-scans emails and rejects many of them based on rules that you set up within the Amaviz configuration file. NOTE: This page won’t attempt to teach you how […]

DD command examples

Example 1. Backup Entire Harddisk To backup an entire copy of a hard disk to another hard disk connected to the same system, execute the dd command as shown below. In this dd command example, the UNIX device name of the source hard disk is /dev/hda, and device name of the target hard disk is […]

Resize partition in Centos

Resizing a Partition Warning Do not attempt to resize a partition on a device that is in use. Before resizing a partition, boot into rescue mode (or unmount any partitions on the device and turn off any swap space on the device). Start parted, where /dev/sda is the device on which to resize the partition: parted /dev/sda […]

NTFS for MAC OSX – download

Project Information About this project: This is the NTFS for Mac OS X project (“ntfsosx”) This project was registered on SourceForge.net on Aug 2, 2003, and is described by the project team as follows: An implementation of the NT filesystem for Mac OS X. Download NTFS for MAC here

Wikileaks publishes 1.7m US diplomatic records

Wikileaks says it has created the world’s largest searchable collection of US diplomatic documents Wikileaks has published more than 1.7 million US diplomatic and intelligence reports from the 1970s. They include allegations that former Indian PM Rajiv Gandhi was a middleman in an arms deal and the first impressions of eventual British PM Margaret Thatcher. […]

30 Nmap Examples

I have found the post from NIXCRAFT very interesting , it literally make a network admins life easier   #1: Scan a single host or an IP address (IPv4) ### Scan a single ip address ### nmap 192.168.1.1 ## Scan a host name ### nmap server1.cyberciti.biz ## Scan a host name with more info### nmap -v […]

how to fix broken YUM in CentOS

When we type the command yum, we encounter the error such as the one below. # yum update Loaded plugins: downloadonly, fastestmirror Loading mirror speeds from cached hostfile Traceback (most recent call last):   File “/usr/bin/yum”, line 29, in ?     yummain.user_main(sys.argv[1:], exit_code=True)   File “/usr/share/yum-cli/yummain.py”, line 309, in user_main     errcode = main(args)   […]

Secured By miniOrange