Showing posts with label configure file. Show all posts
Showing posts with label configure file. Show all posts

Monday, March 29, 2010

Linux: how to reduce eps file size?

I have couples of eps files which have a large size (>10 MB). Thus when using them in Latex, the output files (either pdf or ps) become very large and very slow to view. So it is necessary to reduce them first. Here provided is an approch working in Linux.

  1. Create a new open office drawing file, past your large eps file to the canvas.
  2. Add your canvas hence it has no too much extra-space (magine)
  3. Export your drawing file to a PDF file. Here you can use low compress factors etc.
  4. Use "pdftops -eps YourFile.pdf" to get your small-size eps file
Note: You can use open office drawing to export your file to an eps file directly, however, the eps file is even larger than your original one, so this exporting is not useful.

Saturday, July 26, 2008

linux:ssh:kerberos

Installing proper kereros and connecting with fermilab by ssh are always a bit tricky. Sometimes it needs old version openssh, sometimes it needs more... I don't know. One guy from Fermilab has a post talking about his experience based on ubuntu:

http://ubuntuforums.org/showthread.php?t=486284

I didn't follow his steps (since I just installed a new system, I need to install what I need). The basic idea is:

  • install openssh (I installed newest one)
  • install krb5
  • sudo apt-get install krb5-user
  • copy configure file (/etc/krb5.conf) from any computer of fermilab to your local computer (in the same location)
then you could connect !

Although you could connect, please make sure you have right parameters both in ssh_config and sshd_config due to Fermilab security policy. I have a problem with it (once log in to one computer of clued0, I type klist, nothing found). I got the solution from kerberos-users of fnal:
===
Make sure your SSH client configuration in ssh_config (usually in /etc/ssh/)
contains the lines

GSSAPIAuthentication yes
GSSAPIDelegateCredentials yes
===

Tuesday, April 3, 2007

D0: configure file

Old version of caf has a bad feature that it cannot remove space after a string in configure files. It will be bad when the line end is file name or string-like configure. So use the script to check:
./top_cafe/scripts/check_configs.sh


Locations of visitors to this page