pdf viewer doesn’t work in Kile Ubuntu

After installing Kile, I got the problem that after I compile the text file I couldn’t open pdf by using ViewPDF (Alt+7).
The log window is shown the message “[ViewPDF] exit code 127. <file name>.pdf (okular). The problem is I don’tinstall okular yet so the solution for this problem is

sudo apt-get install okular

July 4, 2011 at 3:40 am Leave a comment

How to install Adobe Flash Player 10 In Ubuntu 10.04

If somebody couldn’t open video in Youtube and the error is shown is “Lack of suitable plugin” then you should do something like this
1. sudo apt-get install remove flashplugin-* –purge
To remove all plugins of flash player
2. sudo apt-get install flashplugin-nonfree
To install new version of flash player

July 4, 2011 at 3:27 am Leave a comment

Installing Apache, PHP, MySQL and phpMyAdmin on Ubuntu 9.04


Installing Apache

1. Type as following command:

sudo apt-get install apache2

Installing php5

1. Inside Terminal, execute the following command:

sudo apt-get install php5 libapache2-mod-php5

2. When setup is complete, you have to restart Apache so that php5 will work on Apache. Execute the following command in Terminal:

sudo /etc/init.d/apache2 restart

Installing MySQL

1. Inside Terminal, execute the following command:

sudo apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql

2. Towards the end of the installation you will be prompted to set your root or admin password (see pic below)

set root password

Installing phpMyAdmin

1. Inside Terminal, execute the following command:

sudo apt-get install phpmyadmin

2 During the installation you will be asked to select the webserver that would be used to run phpMyAdmin. Select Apache2 (see pic below).

choosing webserver

3. After the installation is over execute the following command to copy the phpmyadmin folder into the /var/www/ directory. (By default it is installed in /usr/share/phpmyadmin/ directory.)

sudo ln -s /usr/share/phpmyadmin/ /var/www/phpmyadmin

4. Now you can go to the phpMyAdmin login page by pointing your browser to: http://localhost/phpmyadmin/index.php

The username for MySQL and phpMyAdmin is “root”. The password will be what you set in step 2 (under installing MySQL).

That’s it! Now you’ve successfully installed Apache 2 webserver, php5, MySQL and phpMyAdmin on Ubuntu.

May 17, 2011 at 12:00 am Leave a comment

Command line for PostgreSQL in Ubuntu

1.Start data base

sudo /etc/init.d/postgresql-8.4 start

2. Login to your database in this case my data base name is Research0_development and username is chada

psql -d Research0_development -U chada

3. command for examine the database

  • \l :List databases
  • \c database-name :List databases
  • \d :List tables in database
  • \d table-name :D escribe table
  • \q : quit
  • select * from table-name :List table contents
  • delete from table where condition =>

delete from place_ratings where user_id = 49;

 

 

November 27, 2010 at 1:49 pm Leave a comment

Installation Wekaclassalgos1.7 in Ubuntu

Wekaclaaalgos1.7 is the tool that using for data mining.

1. Download Wekaclassalgos1.7.zip which use for both ubuntu and window at this website http://linux.softpedia.com/get/Science-and-Engineering/Mathematics/WEKA-Classification-Algorithms-30935.shtml

2. Unzip in everywhere that you want then execute command following for start Weka.

~/weka$  java -jar wekaclassalgos.jar

June 3, 2009 at 4:22 am 1 comment

Installation PHP Apache MySQL phpmyadmin in Ubuntu 9.04

1. Open terminal and execute following command.

sudo apt-get install apache2 php5 php5-mysql mysql-server

2. Test the apache2 server. http://localhost/

when you want to restart apache execute following command.

sudo etc/init.d/apache2 restart

3. Test PHP. You need to go to folder localhost and then create file .php for example using test.php

cd var/www/

sudo gedit test.php &

Then typing php to test file test.php. we use command echo to print hello .

<?

echo “hello”;

?>

testing file test.php http://localhost/test.php

4. Install phpMyadmin, execute folling commands

sudo apt-get install phpmyadmin

After finishing, you need to execute this command below for changing phpMyadmin folder  to var/www

sudo ln -s /usr/share/phpmyadmin/ /var/www/phpmyadmin

Testing phpMyadmin http://localhost/phpmyadmin/index.php

Username for phpMyAdmin is “root”.

June 2, 2009 at 1:09 pm 21 comments

Making Your Internet is safer, faster, and smarter because you’re using OpenDNS.

1. Go to my network place => view network connects

capture11

2. Click right select properties and then click left at Internet Protocal(TCP/IP) and click use the following DSN servername

Editing: Preferred DNS Server to 208.67.222.222

Alternate DNS SErver to 208.67.220.220

capture31

3. Click here to check  that you can use Open DNS correctly.

capture4

April 24, 2009 at 5:11 am Leave a comment

Setting Email account in SugarCRM

1. Go to Email tap in Sugar crm => Setting => Mail Account

2. Edit Email account in this example use gmail

username:

password: 

untitled9

3. Setting Outgoing mail server as the picture below.

untitled10


April 21, 2009 at 6:09 am 2 comments

Command line in MySql

Connect to mysql database : -u:user name = root, -p:pass word = admin

mysql -u root -p

Show database name =>     show database;
Connect to database : database name  is  sugarcrm =>     use sugarcrm;
See table in database =>     show tables;

——————————————————————————————————————–

Dump file .sql to mysql database : faq1.sql is a file that we want to dump

mysql -u root -p sugarcrm < faq1.sql

April 20, 2009 at 7:23 am Leave a comment

Integrate with any Web 2.0 content using My Portal Dashlet

1. Open SugaCRM home page

2. Click Add Sugar Dashletuntitled7

3. My Portal will be showed in your home page then clic edit .

untitled8

4. http://developers.sugarcrm.com/wordpress/2009/01/08/integrate-anything-with-my-portal-dashlet/

5. Copy URL http://talkgadget.google.com/talkgadget/popout

6. Title => Google talk

Website Location => http://talkgadget.google.com/talkgadget/popout?hl=en

(adding ?hl=en for typing in English)

7. Save


April 17, 2009 at 9:09 am Leave a comment

Older Posts


Categories

  • Blogroll

  • Friends Blog

  • Feeds


    Follow

    Get every new post delivered to your Inbox.