sudo apt-get install php5-curl
And then restart apache, how?
sudo /etc/init.d/apache2 restartsudo apt-get install php5-curl
And then restart apache, how?
sudo /etc/init.d/apache2 restartsudo apt-get install libapache2-mod-auth-mysql phpmyadminsudo /etc/init.d/apache2 restart
sudo a2enmod rewrite
NameVirtualHost *
<VirtualHost *>
ServerAdmin admin@site.com
DocumentRoot /var/www/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
# Commented out for Ubuntu
#RedirectMatch ^/$ /apache2-default/
</Directory>
Restart Apache by
sudo /etc/init.d/apache2 restart
You should be all set.sudo apt-get install lamp-server^
You may be asked to set up root password for mysql during the installation, other than that, everything is automatically. sudo /etc/init.d/apache2 restart
OK, install Zend is also easy, sudo apt-get install zend-framework
After that you have to make sure zend library path is included. Go to php.ini (@/etc/php5/apache2/), edit the following line,
; UNIX: "/path1:/path2"
include_path = ".:/usr/share/php:/usr/share/php/libzend-framework-php"
I also found, after added include_path in the php.ini, the Zend library is still not found if I run the php script in the command line. Not sure why, but the solution I found is uncomment the line at /etc/php5/conf.d/zend-framework.ini, [Zend] include_path=${include_path} ":/usr/share/php/libzend-framework-php"
Happy ubuntu!
1. create a folder under media,
<code>sudo mkdir -p /media/c</code>
2. sudo fdisk -l
You will see something like the following,
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x9c879c87
Device Boot Start End Blocks Id System
/dev/sda1 * 1 8421 67641651 7 HPFS/NTFS
/dev/sda2 8423 9728 10490445 7 HPFS/NTFS
3. mount it
sudo mount -t ntfs -o nls=utf8,umask=0222 /dev/sda1 /media/c
Note that /dev/sda1 is my Device, yours may be different!!!
So here is how,
http://askubuntu.com/questions/9865/how-can-i-configure-unitys-launcher-auto-hide-behavior/31418#31418
Happy Ubuntu!