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
A collection of technology shortcuts, tips, and tricks to make computing a more enjoyable experience.
sudo apt-get install libyaml-perl build-essential
sudo apt-get install samba
/etc/samba/smb.confHere I will put a simple minimal configuration to allow share files from your Linux server.
[global]--or--
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
[global]Ok, the [global] section lets you configure all global parameters, which in this case are:
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
mount -t smbfs -o username=[username] password=[secret] //ip_address/share /mountpoint
(http://movabletripe.com/archive/recursively-chmod-directories-only/)
For directories:
find . -type d -exec chmod 755 {} \;
For Files:
find . -type f -exec chmod 644 {} \;| execute permission | = 1 | |
| write permission | = 2 | |
| write and execute (1+2) | = 3 | |
| read permission | = 4 | |
| read and execute (4+1) | = 5 | |
| read and write (4+2) | = 6 | |
| read, write and execute (4+2+1) | = 7 |
Add the number value of the permissions you want to grant each group to make a three digit number, one digit each for the owner, the group, and the world. Here are some useful combinations. Try to figure them out!
| ||
| chmod 600 {filespec} | You can read and write; the world can't. Good for files. | |
| chmod 700 {filespec} | You can read, write, and execute; the world can't. Good for scripts. | |
| chmod 644 {filespec} | You can read and write; the world can only read. Good for web pages. | |
| chmod 755 {filespec} | You can read, write, and execute; the world can read and execute. Good for programs you want to share, and your public_html directory. | |