-
Recent Posts
Ubuntu Countdown
Archives
Recent Comments
Categories
Tags
ajax apache api bandwidth bash browsers bug config custom fields data validation Developing with Netsuite Doctrine embed error firefox forms google google analytics html HTML 5 JavaScript jQuery linux netbeans netsuite Netsuite Bugs Netsuite Errors Netsuite Sucks network override PHP PHP Framework php toolkit plugin routing sample code script search security Symfony task Ubuntu web browsers xml YML
Category Archives: System Administration
Brasero Disk Burner Gets Stuck Creating Image Checksum
When I was trying to burn a new copy of the latest version of Ubuntu, Brasero was getting stuck on the “Creating Image Checksum”. My first thought was to disable the check-sum feature (which you can do via the edit … Continue reading
Ubuntu 12.04 Released!
Woot! Today Ubuntu 12.04 will be available for download. I am quite excited about a number of new features, most significantly HUD (Heads Up Display). This is an innovative system for interacting with menus via the keyboard with search. Not … Continue reading
javascript-common & mantis 404 problem on Ubuntu
Although my mantis install seemed to be working, I noticed that whenever I loaded the page, I recieved a number of 404 errors on the javascripts. ( 404 – /javascript/min/common.js). What really confused me is that the file was in … Continue reading
Posted in Linux, System Administration
Tagged apache, bug tracking, error, JavaScript, linux, mantis, problem, Ubuntu
Leave a comment
Apache /icons directory Index
Generally I like to add Options -Indexes to my apache config files. Naturally I was surprised to find that www.mydomain.com/icons/ was returning a standard apache index. I checked my config files and all the files remove the Index options, so … Continue reading
Posted in Linux, System Administration
Tagged apache, grep, linux, Ubuntu, web server
Leave a comment
Linux test network connection
Lately I have begun to suspect on of my servers is losing its network connection under certain circumstances. Naturally I started with basic connectivity test such as ping: However, I also wanted to put it under a little strain so … Continue reading
Posted in Linux, System Administration
Tagged bash, command line, file transfer, linux, sh, ssh, Ubuntu
Leave a comment
Symfony Project Returns Apache 404
When copying a Symfony Project to a new server I noticed a problem; when I used the dev environment, everything worked fine, but when I used prod, I received a 404. They key was that the 404 came from apache … Continue reading
Execute a PHP 5 Script From the Command Line in Ubuntu Linux
To execute a PHP script from the command line in Ubuntu you must have php5-cli installed. (CLI stands for “Command Line Interface”.) sudo apt-get install php5-cli Once cli is installed, you can execute your script like so: php5 ./myScript.php Inside … Continue reading
PHP Sessions: Can’t open directory error
When working on an Ubuntu webserver, I have noticed the following error appearing at the top of my pages every so often: Notice: session_start(): ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission denied (13) Apparently this a “bug” in Ubuntu: https://bugs.launchpad.net/ubuntu/+source/php5/+bug/619855 For the reasons … Continue reading
Bash: Saving output from commands
Often I want a bash script to run a command and then save the output of the command to a variable. For example, lets say I want to a file for a version number and then check in my script … Continue reading
Linux Bash Scripts: colored text
Often I have wondered how scripts like grep output colored text to the terminal. It turns out it is fairly easy. The following code will output red text (depending on profile settings) to the terminal from a bash script: $(tput … Continue reading
