Unix Servers
How To Unlocked Brute Force System Cpanel
How To Unlocked Brute Force System Cpanel
Today i just updated my cpanel server to the latest version but the strange thing is i misstyped my email password account few times and this will automatically detected as brute force in cpanel system that handle by cphulkd.
If i trying to login into the WHM / Cpanel it will show like below :
How To Remove USB Pen Device MBR
How To Remove USB Pen Device MBR
What is MBR ?
MBR is master boot recorded.
The question is how can we remove the MBR for USB device?
in DOS environtment we can just simply type fdisk/mbr command
but this is different, in LINUX/ UNIX please follow this step below :
Login into your server and type command below
[code]$dd if=/dev/zero of=/dev/sdc bs=512 count=1[/code]
YOu will see the output like below
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0.00308483 s, 166 kB/s
PHP 5.3.x and Date Error in Drupal
After i've upgraded my PHP to the latest version, i found there is a problem with my PHP date function.
here is the error example :
"warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function.
Here is the fastest way to fixed this issue.
Login as root into your server
Edit php.ini
#pico /usr/local/etc/php.ini
How To Upgrade PHP5 To Latest Version FreeBSD Without PCRE Error
I just found this problem when i trying to upgrade my PHP 5.2.x to PHP Latest 5.3.x.
When i trying to upgrade all PHP5 extension i found that there is a problem with the PHP PCRE.
Here is the error :
============================================================================
In file included from /usr/local/include/php/main/../main/php_config.h:2764,
from /usr/local/include/php/Zend/zend_config.h:1,
How to Add user and password .htaccess apache-like in Nginx Config
Login into the server with root access
#pico /usr/local/etc/nginx/nginx.conf
First add the following to your Nginx configuration file:
location / {
auth_basic "Restricted";
auth_basic_user_file /etc/nginx/htpasswd;
}
Then We need to create the htpasswd file
this be passwords format will be
=================================
thisbetheusername:thisbeencryptedpass
Install MPD4 FreeBSD With 1 IP Public And Share With NAT
What is MPD ?
Mpd is a netgraph(4) based implementation of the multi-link PPP protocol for FreeBSD. It is designed to be both fast and flexible.
It handles configuration and negotiation in user land, while routing all data packets strictly in the kernel. It supports several of
the numerous PPP sub-protocols and extensions, such as: Multi-link PPP capability, PAP, CHAP, MS-CHAP and EAP authentication ,
PPP compression and encryption, IPCP and IPV6CP parameter negotiation
How To Install GeoIP Module For Apache 2
What is GeoIP
GeoIP® is the proprietary technology that drives MaxMind's IP geolocation data and services. GeoIP provides businesses with a non-invasive way to determine geographical and other information about their Internet visitors in real-time. When a person visits your website, GeoIP can determine which country, region, city, postal code, area code the visitor is coming from. Furthermore, GeoIP can provide information such as longitude/latitude, connection speed, ISP, company name, domain name, and whether the IP address is an anonymous proxy or satellite provider.
PEAR channel using a unsupported protocol
When installing PHP 5.2.14 from source and then installing PEAR libraries, I got the following error when executing pear:
pear.php.net is using a unsupported protocol - This should never happen.
install failed
so How to fixed this ?
#rm -rf /usr/local/lib/php/.channels
and then re execute pear channels again
#pear update-channels
This should fixed your problem.
Postfixadmin Squirellmail Plugins To Change Postfix User Password
What is Postfixadmin Squirellmail Plugins ?
This plugin is used to help postfix user to be able to change their password, autovacation and forwarding via squirellmail webmail without need to asking admin to change their needs.
Prepare anything to start
1. Zend Framework Minimal. We can download it from this URL http://framework.zend.com/releases/ZendFramework-1.10.8/ZendFramework-1....
2. We need to recompile / install php to support XMLRPC
Simple Way To Setup WebDAV on Apache
WebDAV (Web-based Distributed Authoring and Versioning) is a way to share files over HTTP, much like you would use Samba or NFS.
It has more limitations, and less speed, than file systems like Samba or NFS, but with the proliferation of Web servers and the ability to reach Web sites from multiple clients in various locations, WebDAV certainly has its appeal. Unlike Samba or NFS, which are best suited for local area networks, you can use an HTTP server anywhere in the world and likewise access it from anywhere.
WebDAV support is also baked right into most modern operating systems (OS), making it extremely easy to access as a client. Setting it up on the server, however, may be more of a challenge. Certainly setting it up correctly can be.
Recent blog posts |
Recent comments
1 day 17 hours ago
1 week 2 hours ago
1 week 1 day ago
2 weeks 2 days ago
4 weeks 1 day ago
4 weeks 2 days ago
4 weeks 6 days ago
5 weeks 1 day ago
5 weeks 2 days ago
6 weeks 2 days ago