Saturday, June 1, 2013

Ubuntu Tips and Tricks

change apache phpmyadmin password

mysql -h your_host(localhost) -u root

SET PASSWORD FOR root@localhost = PASSWORD('yourpassword');

rabbitvcs for gui base svn in ubuntu
sudo add-apt-repository ppa:rabbitvcs/ppa && sudo apt-get update
sudo apt-get install rabbitvcs-core rabbitvcs-nautilus3 rabbitvcs-cli
sudo apt-get install rabbitvcs-gedit
gconftool-2 --set /desktop/gnome/interface/menus_have_icons --type bool true

uninstall rabbitvcs from ubuntu

sudo apt-get purge rabbitvcs-cli rabbitvcs-core rabbitvcs-gedit rabbitvcs-nautilus

Install taskbar cairo dock like mac
sudo add-apt-repository ppa:cairo-dock-team/ppa
sudo apt-get update
sudo apt-get install cairo-dock cairo-dock-plug-ins

install netbeans 7.2.1 with php and install java environment

ubuntu speed up with preload
sudo apt-get install preload

install pidgin for lan chat and other chat
sudo add-apt-repository ppa:pidgin-developers/ppa
sudo apt-get update
sudo apt-get install pidgin pidgin-data pidgin-plugin-pack pidgin-themes
sudo apt-get install pidgin-lastfm pidgin-guifications msn-pecan pidgin-musictracker

Install wine for exe file
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get install wine1.5
sudo apt-get install winetricks

sudo apt-get purge google-chrome-stable

Install filezilla
sudo add-apt-repository ppa:n-muench/programs-ppa
sudo apt-get update
sudo apt-get install filezilla

changing hostname in ubuntu
also change the file /etc/hosts with the ip address to point to the hostname

changes for php.ini present under
(error reporting, display errors, max_upload_file, max_post_size)

allowing users without password to login into phpmyadmin
(comment out  $cfg['Servers'][$i]['AllowNoPassword'] = TRUE;)

for .htaccess rules (set AllowOverride All)
also allow the use of url rewriting module in apache through command
sudo a2enmod rewrite

changing permission of a folder to current user
sudo chown -R $USER [directory or file name]
sudo chmod -R 755[directory or file name]

restart apache service
sudo /etc/init.d/apache2 start
sudo /etc/init.d/apache2 restart
sudo /etc/init.d/apache2 stop

restart mysql
sudo service mysql restart

ROR mysql configuration for socket (symbolic linkage)

install php curl
sudo apt-get install php5-curl

lamp start on boot system
sudo vi /etc/init.d/rc.local
/opt/lampp/lampp start

play playonlinux(install windows s/w)
sudo apt-get install playonlinux

install httrack s/w for offline donwload website
sudo add-apt-repository ppa:upubuntu-com/web
sudo apt-get update
sudo apt-get install webhttrack httrack

install java in ubuntu

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

install ubuntuTweak 0.8.2

sudo add-apt-repository ppa:tualatrix/ppa

sudo apt-get update

sudo apt-get install ubuntu-tweak

when ubuntu not boot

No comments:

Post a Comment