When you are customizing Deki Wiki you'll want to be able to easily drag and drop files from your windows environment into the root directory to apply changes. In order to integrate the Deki Wiki with Explorer you need to use Samba, which comes installed on the Deki Wiki WM. More information about Samba can be found at Wikipedia and the official Samba website.
Here is how you configure Samba:
1. Log in as the root user.
2. Create the user that you want to use to login into Deki Wiki:
useradd yourusername
3. Create a Samba password for the user:
smbpasswd -a yourusername
NOTE: if you want to use the root password then yourusername=root and use the same password that you have for your root password account.
4. Update the Samba configuration file (/etc/samba/smb.conf):
workgroup = WORKGROUP (replace by your Windows value)
# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
create mask = 0644
# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
directory mask = 0775
[MyWWW]
comment = Deki /var/www folder
path = /var/www
public = yes
writeable = yes
read only = no
valid users = yourusername
create mode = 0666
Note for users not familiar with the smb.conf file: the directory mask and create mask lines exist in the default smb.conf file, and they must be modified. The [MyWWW] section does not. Add the [MyWWW] section at the very end of the smb.conf file to make sure that you are not interrupting another already existing section.
If you want to connect as the root user, make sure to comment the following line like this:
;invalid users = root
5. Restart Samba: /etc/init.d/samba restart
If Vista is Host Operating System
If Vista is your Host operating system that VM Player is running on then you'll want to update Samba to the most recent version to avoid a glitch that slows transfer to a trickle. Run the following code to update Samba:
apt-get install samba samba-common samba-client
No comments:
Post a Comment