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, Solutions, Ubuntu |
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 Solutions, Ubuntu |
By Ammon | Published:
August 31, 2009
I find myself needing this all the time, especially when I’m doing a tutorial on something nerdy.
Create an empty file in the current directory from the command line:
$ touch filename
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 Solutions, Ubuntu |
By admin | Published:
April 28, 2009
Snippets are extremely useful feature of Gedit that make it usable for TextMate fiends like myself. They work exactly the same as in TM: in Gedit go to Edit -> Preferences -> Plugins and put a check next to “Snippets”. Now open, say, an html file, type body and press TAB. Gedit [...]
Also posted in Gedit, Tutorial, Ubuntu |