With CentOS 6 everthing is handled by udev now. Go into /etc/udev/rules.d and delete the 70-persistent-net.rules file and reboot. If you open it berfore hand you will most likey see the original NIC MAC listed as eth0 and the new one as eth1. Deleting the file forces the detection process to run again at boot with no…
Author: admin
Gym times
Gym Opening Times Day Opening hours Monday – Friday 6.30am – 10.00pm Saturday 8.00am – 7.00pm Sunday 8.00am – 9.00pm Bank Holidays 8.00am – 8.00pm
Procedure to collect support materials from EMC SAN
Below is the procedure to collect support materials: 1. Login to control station using putty or terminal 2. [nasadmin@ ~]$ cd /nas/tools 3. [nasadmin@ tools]$ ./collect_support_materials 4. [nasadmin@ ~]$ cd /nas/var/emsupport (location where the support materials are collected) 5. [nasadmin@ emcsupport]$ ll Attach the latest set of support materials to the service request.
Red Hat Linux – Can not find the Gnome enviroment.
Installed nxserver and trying to connect with nxclient. Error message: Install following: “X Window System” Mandatory Packages: yum install bitmap-fonts desktop-backgrounds-basic xorg-x11-drivers xorg-x11-fonts-100dpi xorg-x11-fonts-75dpi xorg-x11-fonts-ISO8859-1-100dpi xorg-x11-fonts-ISO8859-1-75dpi xorg-x11-fonts-Type1 xorg-x11-fonts-misc xorg-x11-fonts-truetype xorg-x11-server-Xorg xorg-x11-xauth xorg-x11-xfs xorg-x11-xinit “GNOME Desktop Environment” Mandatory Packages: yum install control-center gnome-applets gnome-panel gnome-session gnome-terminal metacity nautilus yelp Also follwing might also be required: bitmap-fonts…
For all those born in 80’s !
php53 + apc
Today I have come across this problem: [root@www ~]# php -v PHP: syntax error, unexpected BOOL_FALSE in /etc/php.ini on line 995 PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/fileinfo.so’ – /usr/lib64/php/modules/fileinfo.so: undefined symbol: php_pcre_exec in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib64/php/modules/zip.so’ – /usr/lib64/php/modules/zip.so: undefined symbol:…
phpinfo from cli/terminal
php -r “phpinfo();” You can also use it: [root@www ~]# php -r “phpinfo();” | grep apc apc apc.cache_by_default => On => On apc.canonicalize => On => On apc.coredump_unmap => Off => Off apc.enable_cli => Off => Off apc.enabled => On => On apc.file_md5 => Off => Off apc.file_update_protection => 2 => 2 apc.filters => no…
Install git on server with Cpanel
yum –disableexcludes=main install git
Redirect output and errors to /dev/null
my.command > /dev/null 2>&1 my.script.sh > /dev/null 2>&1
Find 10 biggest files, sort by file size.
find / -type f -print0 | xargs -0 du -h | sort -hr | head -10