Thursday, June 20, 2013

Upgrade PHP5.3 to 5.4 in Cent OS

Open Terminal and execute below command

rpm -Uvh http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

after execution of above execute

yum --enablerepo=remi install httpd php php-common

as it execute, it will show you the list of packages which will be upgraded and below the list it will ask you for upgrade with option (Y/N) press Y and it will start upgrading

as the upgrade and installation completed you need to restart the service of apache

service httpd restart                       or

/etc/init.d/httpd restart


may be you can get error while restarting httpd service it looks like

error
httpd: Syntax error on line 196 of /etc/httpd/conf/httpd.conf: Cannot load /etc/httpd/modules/mod_file_cache.so into server: /etc/httpd/modules/mod_file_cache.so: cannot open shared object file: No such file or directory

open the file httpd.conf and find mod_file_cache.so and comment that line.

after doing this you may get error for the line 197 which is of mem_cache.so find that in httpd.conf file and comment that line

now again try to start the service of httpd

you may get the error msg like

[warn] module ssl_module is already loaded, skipping
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available,
shutting down
Unable to open logs


don't worry,

execute below command

killall httpd

now, start the service of httpd (Apache)

it will start successfully.









cent os,php 5.3 to 5.4 cent os,cent os php upgrade,upgrade php,upgrade php in cent os,upgrade php 5.3 to 5.4

Monday, June 10, 2013

Crack Login Password of Mac

If you forget any login password of your mac system (specially root) just follow the steps and you'll done.

(1) first of all need to start machine in single user mode which you can do by pressing 
Command + S at system start up

it will start machine in command line mode, as its process will complete you can see

:/ root #

now type the command

(2) /sbin/fsck -fy
 
after that 
 
(3) /sbin/mount -uw /
(4) launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist
(5) passwd root 
 
after changing password of root successfully you can use any of the below command 
 
(6)reboot or logout 
login password mac,crack mac password,crack mac login,machintosh login password,machintosh login password for machintosh,root password crack mac,root password crack for machintosh