Monday, February 11, 2013

Is there a way to download the mediawiki software and run it on locally for testing purposes?

Q. I'd like to start a wiki, and I've heard that the software is free, but I don't have anywhere to host it now. Is there a way I could set it up just to run locally and not available to the outside internet? (and add pages, edit pages, create user accounts, pretty much fully use it in every way, except locally). Thanks!

A. No problem. I have it running at home on a Linux box with Apache.

You'll need to start by installing a web server. Apache is free, and if you have Windows you can try IIS. There are plenty of tutorials on installing Mediawiki on both.

How do I create new user in Linux console?
Q. I just got a new Raspberry Pi for my b-day and installed the recommended disk image, Raspbian. I am so far satisfied, but how can I add a new user besides the default user "Pi"?

A. sudo adduser <username>

How can I sync the Linux system password and the Samba password?
Q. I have a Linux server to act as a file server for Windows clients. It is running Debian 3.1rc4 and Samba.

I've created the users system accounts, their home folder, etc, all fine, and also the samba sharing system. I can connect to it and its running ok, but I would like to keep sync`ed the linux system user pass and the samba pass, so that when I change the SYS pwd, the Samba be updated automatically.

I've read about it, mostly of people trying the oposite: when the Samba pwd gets changed, the sys its updated, but it seems to be a little more complicated, so the first case would be just fine.

I also don't wanna turn the linux box into a PDC, or make a domain, using a central DB system for user management and do the job. Just want to keep the files sync without one of these DB solutions, keeping it as simple as possible.

I think that's possible, but dont know if it is so simple, without creating a DB or using external tools.

Thanks in advance.

A. Hopefully, Samba is configured with PAM. If so, follow the instructions below.

Make sure this is set in your smb.conf.
=======
unix password sync = true
pam password sync = true
=======

Navigate to /etc/pam.d/system-auth and add this after the "pam_cracklib.so" line.

=======
password required /lib/security/pam_smbpass.so nullok use_authtok try_first_pass
=======



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

No comments:

Post a Comment