centos7 : chrome install

# vi /etc/yum.repos.d/google-chrome.repo -------------------------------------------------- [google-chrome] name=google-chrome baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64 enabled=1 gpgcheck=1 gpgkey=https://dl.google.com/linux/linux_signing_key.pub -------------------------------------------------- # yum install google-chrome-stable

Read More

php : redefine function runkit

for cebos7 rpm http://pkgs.org/centos-7/remi-x86_64/php-pecl-runkit-1.0.4-0.7.git5e179e9.el7.remi.5.4.x86_64.rpm.html http://php.net/manual/en/function.runkit-function-redefine.php <?php function testme() { echo "Original Testme Implementation\n"; } testme(); runkit_function_redefine('testme','','echo "New Testme Implementation\n";'); testme(); ?>

Read More

CentOS 6 : chrome install

#vi /etc/yum.repos.d/google-chrome.repo [google-chrome] name=google-chrome baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch enabled=1 gpgcheck=1 gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub #yum install google-chrome-stable # wget http://chrome.richardlloyd.org.uk/install_chrome.sh # chmod 755 install_chrome.sh # ./install_chrome.sh ... need os update.... # google-chrome &

Read More