apt-get install unrar
then .rar files can extract normal way.
sudo cp -r /home/viranga/mysql1/database /var/lib/mysql/database
sudo chown -R mysql:mysql /var/lib/mysql/database
php -r "$(curl -fsSL http://getsparks.org/go-sparks)"
function __construct()
{
if(!defined('SPARKPATH'))
{
define('SPARKPATH', 'sparks/');
}
parent::__construct();
}
sudo a2enmod rewriteview apache error log
tail -f /var/log/apache2/error.logopen default file
sudo gedit /etc/apache2/sites-available/default
sudo apache2ctl restart
sudo apt-get install curl libcurl3 libcurl3-dev php5-curl
Or just be lazy and Right Click > Extract Heretar xzf eclipse-SDK-3.7-linux-gtk-x86_64.tar.gz
4) Create an eclipse executable in your pathmv eclipse /opt/ sudo chown -R root:root eclipse sudo chmod -R +r eclipse
copy this into nanosudo touch /usr/bin/eclipse sudo chmod 755 /usr/bin/eclipse sudo nano /usr/bin/eclipse
save the file (^O = Ctrl+o) and exit nano (^X = Ctrl+x)#!/bin/sh #export MOZILLA_FIVE_HOME="/usr/lib/mozilla/" export ECLIPSE_HOME="/opt/eclipse" $ECLIPSE_HOME/eclipse $*
copy this into nanosudo nano /usr/share/applications/eclipse.desktop
save and exit nano[Desktop Entry] Encoding=UTF-8 Name=Eclipse Comment=Eclipse IDE Exec=eclipse Icon=/opt/eclipse/icon.xpm Terminal=false Type=Application Categories=GNOME;Application;Development; StartupNotify=true
/opt/eclipse/eclipse -clean &
tail -f /var/log/apache2/error.log
sudo apt-cache search aptitude
sudo apt-get install aptitude
sudo aptitude search rewrite
sudo a2enmod rewrite
What do we need?
- your on multiple domains
- your need to test your projects with same configuration with the server
- test your projects without touching your public server
- your just organizing your projects into groups
- or setup a local copy of your blog or website
127.0.0.1 localhost
127.0.0.1 www.tildemark.com
127.0.0.1 tildemark.com
<<local path>>\xampp\apache\conf\extra
NameVirtualHost 127.0.0.1:80
<VirtualHost 127.0.0.1:80>
DocumentRoot E:/xampp/htdocs/ # change this line with your htdocs folder
ServerName localhost
</VirtualHost>
<VirtualHost www.tildemark.com>
DocumentRoot "E:\www\www.tildemark.com"
ServerName www.tildemark.com
ServerAlias www.tildemark.com
CustomLog "E:\www\www.tildemark.com\www.tildemark.com-access_log" combined
ErrorLog "E:\www\www.tildemark.com\www.tildemark.com-error_log"
<Directory "E:\www\www.tildemark.com">
Options Indexes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
127.0.0.1 domain.localsudo gedit /etc/apache2/sites-available/
domain.localsudo ln -s /etc/apache2/sites-available/domain.local /etc/apache2/sites-enabled/domain.local
sudo /etc/init.d/apache2 restart
sudo /etc/init.d/apache2 reload
sudo add-apt-repository ppa:mozillateam/firefox-stable
sudo apt-get update
sudo apt-get upgrade
ppa:mozillateam/firefox-stable
aptitude search flash p flashblock - mozilla extension that replaces flash elements with a button i A flashplugin-installer - Adobe Flash Player plugin installer i flashplugin-nonfree - Adobe Flash Player plugin installer (transitional package) p flashrom - Universal BIOS/ROM/flash programming utility p flashybrid - automates use of a flash disk as the root filesystem p libroxen-flash2 - Flash2 module for the Roxen Challenger web server p m16c-flash - Flash programmer for Renesas M16C and R8C microcontrollers p vrflash - tool to flash kernels and romdisks to Agenda VR