Install Perl CPAN on CentOS troubleshooting Net::LDAP Rumi, June 20, 2012June 20, 2012 First we need to make sure our perl modules are all there and up to date. We can do this easily by Running perl -MCPAN -e –shell Let it run. Answer “no” when it asks about Manual configuration. Once it stops you'll be at the cpan prompt….type install Bundle::CPAN this will install many perl modules for you. Answer “yes” to any dependency questions. When you get to the question about “libnet”….answer “no”. Once you are finished…hit “enter” to exit….it'll run for a few seconds more and then bring you back to the cpan prompt. For good measure let's type install Net::LDAP (it should be up to date) Related Administrations Configurations (Linux) CentOSCPANPerl
Delete/Purging mysql-bin (binlog) files safely January 7, 2021 The file mysql-bin.index keeps a list of all binary logs mysqld has generated and auto-rotated. The mechanisms for cleaning out the binlogs in conjunction with mysql-bin.index are: PURGE BINARY LOGS TO ‘binlogname’; PURGE BINARY LOGS BEFORE ‘datetimestamp’; These will clear all binary logs before the binlog or timestamp you just… Read More
Install wkhtmltopdf on Debian 8, 9 August 3, 2018January 18, 2019 Installation on Debian 8 apt-get update aptitude install xfonts-base xfonts-75dpi fontconfig xvfb mkdir ~/src/wkhtmltopdf -p cd ~/src/wkhtmltopdf wget https://bitbucket.org/wkhtmltopdf/wkhtmltopdf/downloads/wkhtmltox-0.13.0-alpha-7b36694_linux-jessie-amd64.deb dpkg -i wkhtmltox-0.13.0-alpha-7b36694_linux-jessie-amd64.deb echo ‘xvfb-run –server-args=”-screen 0, 1024x768x24″ /usr/local/bin/wkhtmltopdf $*’ > /usr/bin/wkhtmltopdf.sh chmod a+rx /usr/bin/wkhtmltopdf.sh ln -s /usr/bin/wkhtmltopdf.sh /usr/local/sbin/wkhtmltopdf /usr/local/sbin/wkhtmltopdf https://www.google.fr output.pdf Installation on Debian 9 Related Read More
Upgrade mysql 5.5 to 5.6 in Ubuntu 14 June 2, 2017 While I was installing idoit- the cmdb and IT documenting platform, struggling with a pre-requisite of having mysql version 5.6 which is not shipped by native in ubuntu 14 installations. So had to google it and found some solution, however the one that worked for me which I’m sharing below:… Read More