Author: Ahmad
Date: May 22, 2020
Heap Memory, it starts from lower address and increases to higher address malloc malloc(size) allocate memory, return a pointer realloc(pointer, size) resize currently allocated memory for bigger or lower by relocating, return a pointer free() remove allocated memory calloc() like malloc but create a memory with zeros, better for security to prevent memory leaks! dlmalloc() … Read More
Author: Ahmad
Date: September 5, 2017

Hello Folks, it’s has been a while I didn’t write new articles, it’s has been a while I didn’t write new articles, so time to give back to the community, I will describe how to implement MySQL cluster for high-availability and disturbed workload MySQL Cluster Architect comes with new process ndbd and ndb_mgmd ndb is used … Read More
Author: Ahmad
Date: July 23, 2016

Performance Co-Pilot allow sysadmins to collect and measure data from various systems, it comes in RPM packages for Red Hat 6 to 7 website http://pcp.io/ installing Performance CO-Pilot yum -y install pcp pcp packages comes with different services pmcd,pmlogger pmcd : performance metrics collector daemon [root@localhost ~]# systemctl enable pmcd ; systemctl start pmcd ; systemctl … Read More
Author: Ahmad
Date: July 14, 2016

hello world, let’s hit the point directly 1 – we have traffic coming from Source IP to our box and we need to Route it to another destination ( traffic forwarding ) 2- we have traffic coming from Source IP to our box and we need to Route it to another destination ( traffic forwarding ) … Read More
Author: Ahmad
Date: June 26, 2016
#1146 – Table ‘phpmyadmin.pma_tracking’ doesn’t exist this error indicates that phpmyadmin pages failed in setup and you just ignored it in the setup process you need to reconfigure the package again root@ubuntu:~# dpkg-reconfigure phpmyadmin after you follow the reinstall steps it will setup the missing sql files for pma tables
Author: Ahmad
Date: June 26, 2016
if you setup your development environment with no mysql root password after you setup phpmyadmin package it will land you with this error Login without a password is forbidden by configuration (see AllowNoPassword) to fix this error vi /etc/phpmyadmin/config.inc.php find line : 96 ” /* $cfg[‘Servers’][$i][‘AllowNoPassword’] = TRUE;” remove the comment /* $cfg[‘Servers’][$i][‘AllowNoPassword’] = TRUE; … Read More
Author: Ahmad
Date: June 26, 2016
today I faced problem in setup a mcrypt module I did install it via apt-get install mcrypt php5-mcrypt when i did try to enable it via php5enmod mcrypt I got this error root@ubuntu:/etc/php5/apache2/conf.d# php5enmod mcrypt WARNING: Not enabling the mcrypt module for apache2 SAPI since module symlink WARNING: already exists in /etc/php5/apache2/conf.d with different content. … Read More
Author: Ahmad
Date: May 30, 2016
Docker Crash Course As Hypervisor is slow to boot and use a lot of resources and needs full installation the Container Technology not that old we used to use LXC – openVZ extra but what a cool about Docker is it really lightweight with awesome images build and we can ship many services in one … Read More
Author: Ahmad
Date: October 7, 2015
Categories:
Linux,
SecurityThe pam_tty_audit PAM module is used to enable or disable TTY auditing. By default, the kernel does not audit input on any TTY this module is part of auditd and it takes 3 parameters 1 – disable is a pattern to disable the module in specified users u can use =* to disable it globally … Read More
Author: Ahmad
Date: August 17, 2015
as a physical security is the main factor in our security perspective we all need to protect unauthorised access to our Linux box after we protect bios and we all know that anyone can rest the root password via accessing the single mode so we have 3 ways 1st thing to disable single user mode entirely … Read More