best pdf reader for ubuntu

image_pdfimage_print

Evince is the default PDF viewer in most GNOME-based Linux distributions, so if you don’t want to install all those KDE dependencies, Evince is probably your next choice. It’s lightweight, simple, and easy to use, though it doesn’t have too many advanced features. You can rotate PDFs, add bookmarks, and change the sidebar’s view mode, but other than that, you don’t have much. If all you’re doing is reading the occasional PDF, it’s great, but you won’t find any annotation features here.

Adobe Reader has a Linux version available, and as always, we don’t recommend it as your go-to reader. That said, it’s still the standard, which means if you ever have compatibility issues in something like Okular or Evince, Adobe Reader will probably handle it just fine. You don’t need to install it now, just know that if you ever have problems, it’s worth keeping in mind.

Lastly, it’s worth noting that lots of Windows PDF apps work great under WINE, including PDF X-ChangeFoxit, and Sumatra. So, while they won’t look fantastic under Linux, they’re great if you need some more advanced reading and editing tools, since most Linux apps are a bit lacking.

These aren’t the only PDF viewers for Linux, but they are, in our opinion, the best. If you’ve got a favorite we didn’t mention, let us know about it in the comments.

Ubuntu Performance Tuning

image_pdfimage_print

The overall performance of Ubuntu Linux is fine but to further tune the following can be done :

1. If you are not using IPv6 it can be disabled as follows:

In /etc/modprobe.d/aliases change the line alias net-pf-10 ipv6 into alias net-pf-10 off #ipv6.

2. Start daemon/processes in parallel

Change /etc/init.d/rc from CONCURRENCY=none in CONCURRENCY=shell

3. Add your hostname in the host file (default on hardy & intrepid). If you add your host name to the /etc/hosts file some apps will start quicker. e.g. 127.0.1.1 myhostname

4. Install preload. Startup times on apps. can be further improved by installing preload (apt-get install preload)

5. Decrease Swappiness setting

If you got plenty of ram (>1GB) you can decrease the use of the swap file by changing the vm.swappiness sysctl entry from 60 to 10. If you like to further reduce swapfile usage you can set this value to 0* which will not disable swapfile usage but will reduce it to the absolute minimum. To change the sysctl entry *sysctl vm.swappiness=10 can be used, to let this setting survive a reboot vm.swapiness=10 can be added to the /etc/sysctl.conf file.

I’ve found that the value of 5 works very good for my use and I have 2 GB of memory.

6. Use the profile option of grub to reduce startup time.

Hit the escape button when booting to get to the grub menu, select the default kernel and select edit, add the profile option to the end of the kernel line and boot your system.

8. Disable unused services.

9. Use the noatime mount option to disable updating the access time on files.

If you have additional tips I’m more then willing to test/add them to this list.

Setting Up a MySQL User

image_pdfimage_print

Setting Up a MySQL User

Our application requires to access the MySQL database. For security reasons, we do not want this user to be the root MySQL user, so we define a user named www-data that has read access to the local databases and can only connect locally with some password.

  • First we need to connect to the MySQL monitor using the default password we specified earlier:

  • Then we can create our user and exit the MySQL monitor: