By Ammon | Published:
April 8, 2010
So the other day my boss brought over a computer for me to fix. Turns out he never partitioned this new hard drive he had installed. I fixed it but we didn’t have a copy of Windows around, so I went ahead and installed Ubuntu 9.10 on it. After years of subtle [...]
By Ammon | Published:
April 8, 2010
You can get the beta right now; I’ve played with it and it’s completely sweet. There’s some really bold design choices they’ve made with this version (window controls on the left!?) that I’m excited to explore.
Ubuntu is Important
You know, along with Ubuntu, I use Windows XP, Windows Vista, and Mac OSX every day. [...]
By Ammon | Published:
March 29, 2010
All this comes from here:
https://help.ubuntu.com/community/ApacheMySQLPHP
In the teminal:
$ sudo tasksel install lamp-server
$ sudo apt-get install phpmyadmin
$ sudo gedit /etc/apache2/apache2.conf
Add the following to the end of this file: “Include /etc/phpmyadmin/apache.conf”
Edit the /etc/php5/apache2/php.ini file and increase the memory_limit value. I used 64M, but that may be overkill.
Also posted in Apache, Linux, Solutions |
By Ammon | Published:
February 25, 2010
When I’m building websites especially, I have to work with a lot of deeply nested files. But typing cd ~/public_html/websitename/wp-content/themes/themename/ in the terminal every time is giving me carpal tunnel, so I found a better way:
First open ~/.barshrc in a text editor and uncomment lines 73 through 75 so they look like this:
if [ [...]
Also posted in Linux, Solutions |
By Ammon | Published:
February 17, 2010
Before you do anything, back up your original config files. I used to just create a copy of the files with the suffix “.bak” (sudo cp example.conf example.conf.bak), which works, but creates a lot of clutter. Now I use a great little utility called etckeeper which automatically places all files in /etc under [...]
By Ammon | Published:
January 19, 2010
In the terminal, type:
$ sudo apt-get install apache2
$ sudo apt-get install php5 libapache2-mod-php5 php5-mysql
$ sudo apt-get install mysql-server
$ sudo apt-get install phpmyadmin
Just agree when it asks you stuff.
Also posted in Solutions |
By Ammon | Published:
January 19, 2010
The service service_name command command can be used to start, stop, or restart anything in your /etc/init.d directory. From the command line, use it like this:
$ sudo service apache2 start
$ sudo service apache2 stop
$ sudo service apache2 restart
Also posted in Solutions |
By Ammon | Published:
August 4, 2009
I really loved using VMWare Fusion in OSX to test my webpages in Windows. The power to just drag a whole Windows installation into the trash when it gets jacked up is intoxicating. Unfortunatly, Jaunty is still not supported by VMWare, and the bugs were just to much. Plus, I really didn’t like the [...]
By Ammon | Published:
August 4, 2009
I’ve been looking for a command line ftp utility that does tab completion and supports sftp. lftp is it! It comes pre-installed on Ubuntu 9.04 Jaunty.
change directory: cd
change local directory: lcd
list directory contents: ls
list local directory contents: !ls
print local working directory: lpwd
Put a file: put filename
Put multiple files: mput filename1 filename2
Get a file: get [...]
Also posted in Linux, Solutions |
By Ammon | Published:
July 28, 2009
There is a lot of false information floating around the interweb about this one, but here’s how to get the right resolution on your external monitor when running Ubuntu Jaunty on a Macbook 2-1:
Edit the xorg.conf file by typing the following into the terminal: sudo gedit /etc/X11/xorg.conf
Edit that file to look like this:
Section “Monitor”
[...]
Also posted in Solutions |