shutdown -c
Monthly Archives: December 2014
FFMPEG on CentOS
rpm –import http://packages.atrpms.net/RPM-GPG-KEY.atrpms
vi /etc/yum.repos.d/atrpms.repo
[atrpms]
name=Fedora Core $releasever – $basearch – ATrpms
baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1
enabled=0
[atrpms-testing]
name=Fedora Core $releasever – $basearch – ATrpms
baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/testing
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1
enabled=0`
yum --enablerepo=atrpms* install ffmpeg
cPanel disable SSL 3
If you are afraid of POODLE Attack, you should disable SSL v3. You can use this ansible playbook:
—
– hosts: test
remote_user: root
tasks:
– lineinfile: dest=/usr/local/apache/conf/includes/pre_main_global.conf line=”#Turn off SSL v3 support\nSSLProtocol All -SSLv2 -SSLv3\nSSLHonorCipherOrder On\n” insertafter=BOF
– name: rebuild httpd confs
command: /scripts/rebuildhttpdconf
notify:
– restart httpd
– name: ensure apache is running
service: name=httpd state=started
handlers:
– name: restart httpd
service: name=httpd state=restarted
iDRAC keyboard not works Java
If you are using some linux distro standard javaws should not work, you need create javaws-idrac, which needs some additional tricks:
https://github.com/anchor/idrac-kvm-keyboard-fix
idrack keybard fix:
https://raw.githubusercontent.com/anchor/idrac-kvm-keyboard-fix/master/keycode-hack.c
check SSL v3 support
openssl s_client -connect linux4you.tk:443 -ssl3
The server cannot upgrade to cPanel & WHM version because Microsoft® FrontPage® is installed.
Fix.
rpm -qa | grep -i frontpage
yum remove frontpage-*
/scripts/cpup
cpanel disable ssh redirection
vi /var/cpanel/cpanel.config
alwaysredirecttossl=0
requiressl=0
service cpanel restart
jQuery plugin to flip content with 3D animation
http://nnattawat.github.io/flip/
centos 6 install php54
yum install centos-release-SCL
yum install php54 php54-*
/opt/rh/php54/root/usr/bin/php
debian: rescue error no such disk or no such partition
If you installed grub, but it still not boots:
apt-get update
apt-get purge grub*
apt-get-install grub
[rvsitebuilder] cannot connect using curl_init
Fix:
touch /var/cpanel/rvglobalsoft/rvsitebuilder/var/skip_validate_domain