By Ammon | Published:
January 28, 2010
If you get this error when you try to upload an image to your WordPress blog, there are two things you can do:
Go to Settings > Miscellaneous in your Wordpress admin area and make sure that ‘Store uploads in this folder’ is set to the default: wp-content/uploads (notice there is no ‘/’ before wp-content/uploads). Try [...]
By Ammon | Published:
January 20, 2010
Using a public_html file in your home directory is much more convenient than /var/www for a local website development environment. The following commands create a file called public_html in your home directory and enable the UserDir module in Apache.
From the command line, enter:
$ mkdir ~/public_html
$ cd /etc/apache2/mods-enabled
$ sudo ln -s ../mods-available/userdir.conf userdir.conf
$ sudo ln [...]
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.
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