Wednesday, June 15, 2011

Installing Bugzilla 4 on Ubuntu 11.04

Step 1, install the build environ.
sudo apt-get install libyaml-perl build-essential

Step 2, follow the directions at this blog.
http://vibhurishi.blogspot.com/2009/05/howto-install-bugzilla-on-ubuntu-9.html

Wednesday, June 1, 2011

Share Ubuntu 7.04 folders with Windows

http://www.go2linux.org/how-to-install-samba-on-linux-with-swat


This guide to install samba server on Ubuntu, will help you share files from your Ubuntu Feisty with the windows machines on your network.

This way maybe you will be able to use Ubuntu at your office, hope you can.

First install samba

sudo apt-get install samba


With this you will have samba installed on your system, now you need to edit the configuration file which is located at:

/etc/samba/smb.conf
Here I will put a simple minimal configuration to allow share files from your Linux server.

[global]
workgroup = MSHOME
netbios name = UBUNTU_SERVER
security = SHARE
auth methods = guest
domain master = No
wins support = Yes

[share1]
comment = mi home
path = /home/ggarron
read only = No
guest ok = Yes
--or--
[global]
security = user
map to guest = bad user
guest account = nobody
workgroup = MSHOME

#these two only work together...
#for wins you must have a static IP address
netbios name = Ubuntu_Server
wins support = yes

[share1]
path = /home/me
comment = Stuff
read only = no
guest only = yes
guest ok = yes
Ok, the [global] section lets you configure all global parameters, which in this case are:

  • workgroup; Lets you specify the windows workgroup
  • netbios name; Lets you specify the name with your Linux PC will be seen by windows PCs
  • security; specifies the level of security, default is user, but if the users on the windows PCs are not the same as the ones on the Linux PC, you better use share instead
  • auth methods; Possible options include guest (anonymous access), sam (lookups in local list of accounts based on netbios name or domain name), winbind (relay authentication requests for remote users through winbindd), ntdomain (pre-winbindd method of authentication for remote domain users; deprecated in favour of winbind method), trustdomain (authenticate trusted users by contacting the remote DC directly from smbd; deprecated in favour of winbind method)
  • domain master; Lets you configure your PC as a domain master or not, in this case we prefer not, as our goal is only to share files
  • wins support; If you want or not to have wins enabled or not
Now comes the shares section, the string you put between the [] will be how windows will sees the share, in this case share1

  • path; You put here the path you may want to share
  • read only; yes or no, depending if you want to permit other users to write on this directories.
  • guest ok; It is a boolean field, and will permit or not guest users to access this resource
Until here you are able to share files from your Linux PC to your Windows PCs.

Update for Vista:

You will need samba 3.0.22 in order to see shares of Linux on Vista, and to be able to mount the Vista\\''s shares on Linux you will maybe need to do it manually using the mount command.

mount -t smbfs -o username=[username] password=[secret] //ip_address/share /mountpoint