Archive for the 'General Linux' Category

Crossover office 7 to support Microsoft Office 2007 and more

The following is the release announcemnet from Jeremy White of CodeWeavers (CrossOver):

Hi Folks,

I am pleased to announce that we have shipped CrossOver 7 for both Macintosh and Linux. New in Version 7 is support for Microsoft Office 2007, dramatically improved support for Outlook 2003 and Internet Explorer 6, and a broad range of improvements that should bring improvements to all Windows applications.

For our Linux customers, it also brings expanded support for most Adobe programs, with Photoshop CS and CS2 working particularly well.

For our Macintosh customers, this release also brings a change in our product mix. We are now providing “CrossOver Mac Standard” and “CrossOver Mac Professional”. The new Standard product will mirror

the Linux Standard product, in that it will be a lower priced product with more basic support and no multiple user support. The new CrossOver Mac Professional product replaces the existing CrossOver Mac product. It continues to have our best support, support for multiple users, and, CrossOver Mac Pro continues to come with a complimentary copy of CrossOver Games. If you have purchased CrossOver Mac in the past, you have been automatically upgraded to a CrossOver Mac Pro license.

Finally, another major benefit of 7.0 is that it includes many of the elements of Wine 1.0, which was also released today. This is a major milestone for us, and for the Wine project. Our many years of work, and your many years of supporting our work, have enabled us to help bring Wine to this milestone. I am very proud to have been part of this, and very grateful for all the support of our customers, advocates, and fellow Wine developers.

If you are an existing CrossOver customer with an active support entitlement, you can visit our web site to download this latest version: www.codeweavers.com
You will need to log in with the email and password that you used when
purchasing CrossOver. Please write to info@codeweavers.com if you need help with this process.

Thanks again for all your support, and I hope that you enjoy CrossOver 7!

Cheers,

Jeremy White
CEO
CodeWeavers


Version 7.0 Changelog:

New application support:

  • Office 2007 (Including Word, Excel, PowerPoint, and Outlook)
  • Adobe Photoshop CS and CS2
  • Added support for the “Compatibility Pack for the 2007 Office system” so that Office 2003 can open Office 2007 documents

Bug fixes:

  • Greatly improved online banking integration in Quicken 2007 and 2008
  • Greatly improved Outlook behavior, particularly with Exchange servers
  • Fixed service pack support for several versions of Office
  • Improved IE support in win2000 and winxp bottles (though win98 is still better)
  • Improved support for modern Linux distributions (especially Ubuntu)
  • Fixed a seriously horrible interaction with the Logitech Control Center documents from Office 2007
  • This version also includes countless Wine fixes and synchronizes with Wine 1.0.
  • Many small bugs should be fixed, and unsupported application behavior should be greatly improved.

Source: Wine Reviews

(easy) LVM on Gentoo

LVM (Logical Volume Manager) is a great piece of software which allow you to deal with Logical Volumes. Using LVM, you are able to extend/reduce your filesystems which is pretty handy when you need more space.

Let’s get the easy way to do that.

Read more »

Installing Microsoft Office 2007 using wine

Yes.. I know theres a lot of office suites out there for linux.. the problem is: In my actual work, I *MUST* use the dammit OOXML for docs, spreadsheets, presentations and Visio for stuff. I personaly hate Office2007 but.. I just need it…

  • Download and install crossover-game trial at codeweavers (yes, crossover games)
  • Install the last wine available (Ubuntu 8.04 have a good one, gentoo ~x86 too)
  • Download and install winetricks at http://www.kegel.com/wine/winetricks
  • Now, go to console and type winecfg to create your first wine configuration.
  • From winetricks, install this packages: dotnet11, dotnet20, gdiplus, msxml3, msxml4, msxml6, vcrun2005sp1 and vcrun2008.
  • Now, go to /home/<youruser>/.wine/drive_c/windows/system32 and rename rpcrt4.dll to something like rpcrt4.dll.bak
  • Copy /opt/cxgames/lib/wine/rpcrt4.dll.so to /home/<youruser>/.wine/drive_c/windows/system32/rpcrt4.dll (yes, without the .so).
  • Mount office cd with -o unhide option (I don’t know why, but if you automount, the cd will miss some files).
  • Go to directory of cdrom and type wine setup.exe
  • Now you can uninstall crossover trial, remove the rpcrt4.dll used and put the old one in this place (now office 2007 will work with the old one).

Update 1: It’s a good one to install riched20 and riched30 to have a better look on fonts.
Update 2: 4j4x translate this post to indonesian, check here
Update 3: MS Project and MS Outlook doesn’t work (project claims to not being installed to current user, I think this is just a registry problem).
Update 4: MS Visio and Office updates works as well.
Update 5: Alain reports the .Net 1.1 asks for ie5 (this doesn’t occurs with me), but without the .net 1.1 the installation works.
Update 6: I don’t know why but Powerpoint doesn’t work to everyone.
Update 7: Portuguese version here

Thanks for all testing and reporting.

Basic (Useful) TSM Commands

Sometimes I need to analyse *something* in TSM (I’m very noob with TSM) and I never remember any commands

Read more »

Simple Backup for your home

Hi all

In the last days I think to make some simple script to make my backups (I have a TSM server in my company, but I’m not there all the time). So I create some simple stuff to make backups when I’m not on home or in my desk (Just simpel tars + rar + pass, without crypt, to send via net to my job or to some gmail fs-space-a-like).

Read more »

Encrypted /home


Reading Zeth’s blog, I’ve found this interesting article about encrypting your /home.. And the reasons had convinced me to do the same.

One observation (I see this happen in more than one thinkpad model) :

I don’t know why, but Ubuntu linux eat lots of minutes to boot with a black screen, and when you use a encrypted /home, you’ll need to imaginate when type the password..

A: Just remove “splash silent” from the line kernel of your grub.

UPDATE: Just edit /etc/usplash.conf

Sort CPU usage

I don’t know if this works in any unix, but for me works in AIX and Linux.
Sorting CPU usage:

# ps -eo pid,user,%cpu,args --sort %cpu

Source: Kairo Araujo

The same comments about any OS

First of all, let me say that I’m not defending any version of windows, so this is become the same old bullshit all the time.

Read more »

The Next Leap for Linux

LINUX runs the Google servers that manage billions of searches each day. It also runs the TiVo digital video recorder, the Motorola Razr cellphone and countless other electronic devices.

Read more »

Autenticating SQUID in Active Directory

1. Requirements

Basic knowledge in Active Directory, Kerberos, Samba, Linux e Squid. And all packages related. The Microsoft Windows Server 2003® must be acessible by proxy server and *must* have WINS Server working.
The linux server (any distro) must have installed this packages:

  • Kerberos5 (clients, libs, services, servers, etc)
  • SQUID (v2.6)
  • Ntp
  • Samba (with winbind)

2. Introduction

We have to types of authentication:
The NTLM Authentication is automatic, the proxy receives the connection requirement and authenticate using AD to make a login.
The BASIC Authentication is the trivial authentication with user input.
The best point of NTLM Authentication is the fact of the proxy will be transparent to the user, even if the browser is closed.

3. Preparations

The servers:

Domain Controller

Proxy

Microsoft Windows Server 2003 Enterprise

Any Linux

atenas.lab.wtf.br

oslo.lab.wtf.br

10.0.0.4

10.0.0.6

First of all, edit /etc/hosts in your linux box:

10.0.0.60 oslo.lab.wtf.br oslo
10.0.0.4 atenas.lab.wtf.br atenas

Now, edit the /etc/krb5.conf:

[libdefaults]

default_realm = LAB.WTF.BR
krb4_config = /etc/krb.conf
krb4_realms = /etc/krb.realms
kdc_timesync = 1
ccache_type = 4
forwardable = true
proxiable = true

v4_instance_resolve = false

clockskew = 300

v4_name_convert = {
host = {
rcmd = host
ftp = ftp
}
plain = {
something = something-else
}
}

fcc-mit-ticketflags = true

[realms]
LAB.WTF.BR = {
kdc = atenas.lab.wtf.br
default_domain = lab.wtf.br
admin_server = atenas.lab.wtf.br
}


[login]
krb4_convert = true
krb4_get_tickets = false

[logging]
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmin.log
default = FILE:/var/log/krb5lib.log


[domain_realm]
.lab.wtf.br = LAB.WTF.BR
lab.wtf.br = LAB.WTF.BR

Now we need to sync the clocks. First, lest sync the linux server:

# ntpdate pool.ntp.org

And them, the windows:

C:\> net time /setsntp:pool.ntp.org
C:\> net stop w32time & net start w32time

Now edit /etc/nsswitch.conf, and modify this lines…

passwd: compat
group: compat

…to this…

passwd: compat winbind
group: compat winbind

4. Samba/Winbind

This is the /etc/samba/smb.conf used:

[global]
workgroup = PMP
netbios name = OSLO
server string = OSLO (Samba Server)
load printers = no
log file = /var/log/samba/log.%m
max log size = 500
realm = LAB.WTF.BR
security = domain
auth methods = winbind
winbind separator = /
encrypt passwords = yes
winbind cache time = 15
winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes
idmap uid = 10000-20000
idmap gid = 10000-20000
local master = no
os level = 233
domain master = no
preferred master = no
domain logons = no
wins server = 10.0.0.4
dns proxy = no
ldap ssl = no

After configured, restart SAMBA and WINBIND services.
Lets get the proxy server inside the AD:

# net ads join –U Administrator –S lab.wtf.br

After enter the password, you’ll see something like this:

# net ads join –U Administrator –S lab.wtf.br
Administrator’s password:
Using short domain name – PMP
Joined ‘OSLO’ to realm ‘LAB.WTF.BR’

You can verify if you’re connected using this commands:

wbinfo –t

Verify connections

wbinfo –u

List all users in AD

wbinfo –g

List all groups in AD

5. Preparing SQUID
Modify /etc/squid/squid.conf like this:

http_port 3128
hierarchy_stoplist cgi-bin ?
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
access_log /var/log/squid/access.log squid
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
auth_param ntlm program /usr/bin/ntlm_auth –helper-protocol=squid-2.5-ntlmssp
auth_param ntlm use_ntlm_negotiate off
auth_param ntlm children 60
auth_param ntlm max_challenge_reuses 0
auth_param ntlm max_challenge_lifetime 5 minutes
auth_param basic program /usr/bin/ntlm_auth –helper-protocol=squid-2.5-ntlmssp
auth_param basic use_ntlm_negotiate off
auth_param basic children 60
auth_param basic realm Type your USER/PASS
auth_param basic max_challenge_reuses 0
auth_param basic max_challenge_lifetime 5 minutes
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
acl authenticated proxy_auth REQUIRED
http_access allow authenticated
http_reply_access allow all
icp_access allow all
coredump_dir /var/cache/squid

6. Tests

Go to some box using windows, configure the browser to use the new proxy and try to access some web page. After this, look in /var/log/squid/access.log and see if the user are logging.
If you have some problems, try using your proxy with default configurations.

Next Page »