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 following ; syntax: ; ; extension=modulename.extension ; ; For example, …

Fixing integration issues of manually installed WordPress, MySQL, Php using IIS on Windows Servers Leia mais »

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 or comment out whichever options you don’t wish to use. …

Remove menus and submenus from the WordPress Dashboard Leia mais »

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( ‘edit-comments.php’ ); remove_menu_page( ‘link-manager.php’ ); remove_menu_page( ‘tools.php’ ); remove_menu_page( ‘plugins.php’ …

How to remove entire admin menu? Leia mais »

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 80 -m recent –name http_flood –set iptables -I INPUT -p …

IP bloqueado ataque continua Prevencao Syn Flood Leia mais »

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 0 0 66.7.221.78:80 109.230.222.43:19324 SYN_RECV – tcp 0 0 66.7.221.78:80 …

Prevent syn floods [SYN_RECV] attack on Linux (cPanel) Server Leia mais »

http://www.devin.com.br/shell_script/

Programando em shell script Comentários 160 Visualizações 509,824 489 4 7 57 Índice de Conteúdo Primeira parte, uma introdução Conceito de Variáveis em shell script Controle de fluxo com o if Outras alternativas Segunda parte, se aprofundando mais! case for while until Usando vários scripts em um só Variáveis especiais Funções Exemplo Final Terceira parte, …

http://www.devin.com.br/shell_script/ Leia mais »