Aprenda a “encontrar coisas” pelo terminal Linux, com o comando FIND
Aprenda a “encontrar coisas” pelo terminal Linux, com o comando FIND Vinícius Vieira 31/07/2013 1 No post de hoje vamos abordar o uso do comando find. Ele é um incrível software de terminal que tem por finalidade “encontrar coisas” no nosso sistema. Vamos lá? Antes...
XenServer Dicas
Como finalizar uma VM travada no XenServer Sua VM travou e você não quer reiniciar o servidor para liberar a tarefa que não desliga, essa dica servirá para desligar a VM que está travada. Primeiro passo é saber o uuid da VM que está travada,...
Fixing integration issues of manually installed WordPress, MySQL, Php using IIS on Windows Servers
Your PHP installation appears to be missing the MySQL extension which is required by WordPress. image Fix: Enable MySQL Extension for Php via php.ini as shown below: ;;;;;;;;;;;;;;;;;;;;;; ; Dynamic Extensions ; ;;;;;;;;;;;;;;;;;;;;;; ; If you wish to have an extension loaded automatically, use the...
Remove menus and submenus from the WordPress Dashboard
Sometimes you might need to remove posts, pages, plugins or other menus and submenus from the WordPress dashboard. Here’s two handy functions put together to remove all by Chris_O over at StackExchange. Simply add these to the functions.php file in your WordPress theme then delete...
Add Your Own Branded Image Logo to the WordPress Login Screen
function change_my_wp_login_image() { echo ” “; } add_action(“login_head”, “change_my_wp_login_image”); http://diythemes.com/thesis/rtfm/add-image-logo-wordpress-login/
How to remove entire admin menu?
The correct hook to use is admin_menu and then create a function to remove the menus you want to remove. The following 2 functions remove all the menus. add_action( ‘admin_menu’, ‘remove_admin_menus’ ); add_action( ‘admin_menu’, ‘remove_admin_submenus’ ); //Remove top level admin menus function remove_admin_menus() { remove_menu_page(...
Customize the WordPress admin menu based on user roles
WordPress can be a powerful content management system but if you have multiple users often some can end up with permissions that you really wish they didn’t have. There are plenty of plugins that will let you customize user permissions but it’s not that hard...
IPtables – Bloquear IPs definitivamente
IPtables – Bloquear IPs definitivamente Galera, Estava com um problema na empresa onde trabalho, o servidor está com o IPtables bloqueando tudo certinho, mas tinham alguns IPs que tentavam acessá-lo muitas vezes ao dia. Isto gerava muitos Logs no SYSLOG, então eu queria bloquear esses...
IP bloqueado ataque continua Prevencao Syn Flood
# Prevencao Syn Flood http://www.forumcpanel.com.br/topic/2148-ip-bloqueado-ataque-continua/ iptables -N syn-flood iptables -A INPUT -i eth0 -p tcp –syn -j syn-flood iptables -A syn-flood -m limit –limit 10/s –limit-burst 24 -j RETURN iptables -A syn-flood -j DROP http://linuxthink.blogspot.com.br/2011/03/prevent-syn-floods-synrecv-attack-on.html iptables -I INPUT -p tcp -m state –state NEW –dport...
Prevent syn floods [SYN_RECV] attack on Linux (cPanel) Server
revent syn floods [SYN_RECV] attack on Linux (cPanel) Server One of my Linux Server (Cent OS, cPanel) is under syn floods Attacks come from different spoofed ip addresses and ports as below logs. root@yes [~]# netstat -n -p | grep SYN_REC | sort -u tcp...
Stay connected