How To Force User To Change Password in First Login
Here come to my attention when i want to automatically have my new linux/unix users to change the password when they login into the server.Login into your server with root accesstype chage command...
View ArticleHow to Fixed Dovecot Fatal: listen(::, 143) failed: Address already in use
When i trying to install Dovecot in CentOS 5.6 Yesterday and i trying to start dovecot services.It shows an error like below :Fatal: listen(::, 143) failed: Address already in use After do some...
View ArticleHow To Using Nginx Rewrite From www to non-www FQDN
Here is a simple way to rewrite your domain name from www.example.com to example.com without www.We just need to set a rewrite rules in nginx like sample below :Login as root into your serverEdit...
View ArticleHow To Rewrite www to non-www domain using htaccess
Here is a simple way to rewrite your domain from www.yourdomain.com to yourdomain.com without wwwThis is simply add few lines into your .htaccess files.Below is the example how to do that <IfModule...
View ArticleHow To Solved Mysqldump: Got error: 1016: Can't Open file when using LOCK Tables
Today, i trying to dump my database but when the dump process begin,MySQL shows error like below :Example :root@rainforest# mysqldump -u root -p mypassword --opt sampledb > backupdb.sqlmysqldump:...
View ArticleHow To Integrate AWStats With Apache Webserver in FreeBSD
What is AWStats ?AWStats is a web statistics and log analyzer which create a statistics reports based on rich data from apache or server logs.First We need to install AWStats in FreeBSD server - Login...
View ArticleHow To Install Apache 2.x To Work With GnuTLS
There is another way to using ssl with apache 2.x The common solution is using OpenSSL with Apache 2.xBut right now i trying to get Apache 2.x to work with mod_gnutls FYI, GnuTLS support TLS 1.2 and...
View ArticleSimple Tutorial to Banned Country IP Address With CSF
I just figure it out a simple way to banned country ip address using CSF.If you are using a CSF you can edit your CSF config files like below :Edit csf.conf#vi /etc/csf.confEdit two letters country...
View ArticleFreeBSD Upgrade Packages Stop at pkg-config-0.25_1
When i want to upgrade all packages using portmaster to the latest packagesThe portmaster shows me something like below :===> pkgconf-0.8.5 conflicts with installed package(s):...
View ArticleHow To Moving All Websites Content Using Wget
Last Week i want to moving a large sites from one server to a new server. There is a few method to moving all websites content to a brand new server,First we can using RSYNC, FTP and WGETIn this...
View ArticleFixed Error: curses.h: No such file or directory on CentOS
Sometimes when you install some packages, it will automatically find others dependency one of them may be curses.h: No such file or directoryin this case i'm using CentOS as a server.So we will need to...
View ArticleHow To FSCK Your Linux LVM Partition
Yesterday i have a problem when my computer can't booting up.After checking more detail i found that i need to FSCK my partition.The problem is my linux partition using LVMThen after googling it for a...
View ArticleHow To Install Apache, PHP and MySQL Latest Version In Windows 7
How To Install Apache, PHP and MySQL Latest Version In Windows 7 This is a short tutorial to install apache, php and mysql latest for windows 7 in my laptop.First, We need to preparing packages...
View ArticleSteps To Fixing Linux Crash Filesystem After Power Outage.
Sometime if we didn't properly shutdown a server that running linux, it will cause a crash for the filesystem.We need a tool that able to repair it immediately, the tool is FSCK or file system...
View ArticleFixing su: cannot set user id: Resources temporarily unavailable in Linux VPS
Last night when i login into my VPS, i found a weird issue in my VPS.When i type a su command below it shows : #su -su: cannot set user id: Resource temporarily unavailable# After searching and...
View Article