Submitted by BXTra on Sat, 08/06/2011 - 00:27
I was trying to run Boost module with Drupal on one of my website and I got the problem that Boost doesn't work as it should be no matter what I did. I don't have this problem when using [NginX + PHP-FPM] or [Apache + mod_fcgid]. So, I checked error log and found below :
Submitted by BXTra on Wed, 07/27/2011 - 19:56
I just need Memcached to start automatically when reboot so that I don't have to wait to log into the server to do that every time I restart my server. The problem here is that I didn't install Memcached using YUM. I compiled Memcached it myself. So, there is no startup script for me to do it. Also, from what I have read, init.d startup script comes with YUM only support one instance of Memcached. In my case, I need to run multiple instances of Memcached. So, I searched for the script and below script is work for me
1. Create Script in /etc/init.d/memcached
Submitted by BXTra on Wed, 07/27/2011 - 01:28
Today, I got a problem with one of my website. Suddenly, I could access my website using Nginx but all themes were gone. I, then, switched back to Apache. It became worse. I can't access my website at all. The error when access my website using Apache is below :
Submitted by BXTra on Mon, 07/25/2011 - 21:43
When you use chown to change ownership of a file or directory, it will work but with Symlink (Created by using ln command), you can't do that. When you do it, it will fail and you may not know that since there is no error message or anything to let you know. So, to change ownership for Symlink, you need to use option -h. Below is an example :
Submitted by BXTra on Sun, 07/24/2011 - 23:58
1. Download RPMForge Package. Check your system with uname -a command to get the suitable package. Below is the current one I got :
32-bit system
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm
64-bit system
wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm
If you want to check for the latest one, check it from -> http://packages.sw.be/
Submitted by BXTra on Mon, 05/02/2011 - 10:27
I have a MAC OS X Server and would like to be able to use "wget" command to download some file using Terminal. However, wget doesn't come with it. So, I checked on Google and found an article about using Curl as a replacement for wget. What you have to do is run command below in Terminal :
echo 'alias wget="curl -O"' >> ~/.bash_profile
Then, log out and login again. Now, you can use "wget" command to download file as you normally do. For example, I ran
wget http://pecl.php.net/get/APC-3.1.7.tgz
It will looks like this :
Pages
Recent comments