Thinking about making individual repos for client projects instead of using a master repo. All for client access and hooking into basecamp. 1 hr ago
Even though today was a half day, a Friday and I was able to play golf I still can’t shake how today was one of the worst days ever at work. A couple people made it clear to me that they do not respect my job as a system administrator when they told me to give some clueless employee *root* access to the webserver because he was “inconvenienced” when file permissions were limiting him to overwrite some html files. Tempers…
I’m officially on mediatemple now and after getting my VPS or (dv) cleansed of plesk I noticed Yum was not installed. I’m planning on doing a full writeup after a few days but for now I’ll get this tutorial on how to install Yum on CentOS 4 out of the way.
First off you’ll need to install a key from the centos mirrors,
# rpm –import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4
Next let’s start installing yum,
# rpm -Uvh http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/yum-2.4.3-3.el4.centos.noarch.rpm
Retrieving http://mirror.centos.org/centos/4/os/i386/CentOS/RPMS/yum-2.4.3-3.el4.centos.noarch.rpm
error: Failed dependencies:
libxml2-python is needed by yum-2.4.3-3.el4.centos.noarch
python-elementtree is…
For some reason or another I could not find good documentation on installing Subversion and Trac on fc6 while also using Apache so I’ve simply just documented what I’ve learned and just implemented on my own system.
This tutorial is about the installation of a development enviroment on FC6 it’s not a how-to for using it. If you need to know more I recommend reading Version Control with Subversion (I just ordered it).
Requirements
You need to install these packages before we start…
Once again I’m fixing someone’s computer because they’re too incompetent to realize that they’re destroying their computer with the software they choose to install and the disabling of anti-virus and spyware software I installed months prior. And I absolutly can’t believe there are programs that are allowed to be installed on windows that completely trash the underlying system. In this case (I’ve seen this at least 4x before) no browser will pull up a site but pinging domains work in…
I’m having the worst luck today. Now a whole public_html directory is gone in linux after sending a mv command. Good thing for backups, bad #
Sequential-Access drives are different than Direct-Access drives and need to be treated as such. For a while now I had always thought differently because my experience with tape was only on OS X Server. And those machines had programs that managed the tape drives for ease of use.
With a little knowledge under my belt I know differently and now I’m passing it on:
The 2.4 kernel has built-in SCSI support so you may want to upgrade. I’m using SLES 9 and…
I already posted about using the technique of updating wordpress through SVN but it just dawned on me that the instructions I (and many others) used committed us to the 2.1 trunk. And since 2.2 is a few weeks away I’m thinking of how to transition.
If your running a few sites, the easy way would be to just run these commands:
svn switch --relocatehttp://svn.automattic.com/wordpress/branches/2.1/\http://svn.automattic.com/wordpress/branches/2.2/
Not that big transition since I can control who gets the updates and who doesn’t just in case…
One of my tasks this week was to setup a web server for some sites currently hosted on the tragedy of the grid. I don’t want to talk about the (mt) grid since I’ve said so much about it before but to answer “why?” I’m still on the grid for production sites is, I’ve been too busy to migrate them and at one point I was going to put them on a spry VPS but my DB was too large for their…
It’s bad to remember how to flush DNS in windows and not know what to do in OS X, when it’s your main system.
Windows:
C:>ipconfig /flushdns
OS X command
bash$ lookupd -flushcache
Linux:
$/etc/rc.d/init.d/nscd restart
I always forget these simple commands and since I just had to do a restore because of a 2.1 upgrade sna-foo.
Restoring via the command line
Restoring from FILENAME.mysql is a three step process:
1.Drop the database
mysqladmin -u USERNAME -p drop DATABASE
2. Recreate the database
mysqladmin -u USERNAME -p create DATABASE
3. Import the backup data
mysql -u USERNAME -p DATABASE < FILENAME.mysql