• I have a Fedora 18 system here with the hostname snape.greshamhs.org and the IP address 192.168.92.249.

    I always make sure that SELinux is disabled:

    Edit /etc/selinux/config and set SELINUX=disabled:

    vi /etc/selinux/config

    # This file controls the state of SELinux on the system.
    # SELINUX= can take one of these three values:
    #     enforcing - SELinux security policy is enforced.
    #     permissive - SELinux prints warnings instead of enforcing.
    #     disabled - No SELinux policy is loaded.
    SELINUX=disabled
    # SELINUXTYPE= can take one of these two values:
    #     targeted - Targeted processes are protected,
    #     minimum - Modification of targeted policy. Only selected processes are protected.
    #     mls - Multi Level Security protection.
    SELINUXTYPE=targeted
    Installing Samba

    Install Samba packages:

    yum install cups-libs samba samba-common samba-client

    Edit the smb.conf file:

    vi /etc/samba/smb.conf

    Make sure you see the following lines in the [global] section:

    [...]
    # ----------------------- Standalone Server Options ------------------------
    #
    # security = the mode Samba runs in. This can be set to user, share
    # (deprecated), or server (deprecated).
    #
    # passdb backend = the backend used to store user information in. New
    # installations should use either tdbsam or ldapsam. No additional configuration
    # is required for tdbsam. The "smbpasswd" utility is available for backwards
    # compatibility.
    #
    
            security = user
            passdb backend = tdbsam
    
    
    [...]

    This enables Linux system users to log in to the Samba server.

    Then create the system startup links for Samba and start it:

    systemctl enable smb.service

    systemctl start smb.service

    Adding Samba Shares

    Create the directory for sharing the files and change the group to the users group:

    mkdir -p /home/public

    chown -R root:users /home/public/

    chmod -R ug+rwx,o+rx-w /home/public

    At the end of the file /etc/samba/smb.conf add the following lines:

    vi /etc/samba/smb.conf

    [...]
    [allusers]
      comment = All Users
      path = /home/public
      valid users = @users
      force group = users
      create mask = 0660
      directory mask = 0771
      writable = yes

    If you want all users to be able to read and write to their home directories via Samba, add the following lines to /etc/samba/smb.conf (make sure you comment out or remove the other [homes] section in the smb.conf file!):

    [...]
    [homes]
       comment = Home Directories
       browseable = no
       valid users = %S
       writable = yes
       create mask = 0700
       directory mask = 0700

    Now we restart Samba:

    systemctl restart smb.service

    Adding And Managing Users

    In this example, I will add a user named john.

    useradd john -m -G users

    Set a password for john in the Linux system user database. If the user john should not be able to log into the Linux system, skip this step.

    passwd john

    -> Enter the password for the new user.

    Now add the user to the Samba user database:

    smbpasswd -a john

    -> Enter the password for the new user.

    Now you should be able to log in from your Windows workstation with the file explorer (address is \\192.168.92.249 or \\192.168.92.249\john for john’s home directory) using the username john and the chosen password and store files on the Linux server either in john’s home directory or in the public shared directory.

  • Open Government was published in 2010 by O’Reilly Media. The United States had just elected a president in 2008, who, on his first day in office, issued an executive order committing his administration to "an unprecedented level of openness in government." The contributors of Open Government had long fought for transparency and openness in government, as well as access to public information. Aaron Swartz was one of these contributors (Chapter 25: When is Transparency Useful?). Aaron was a hacker, an activist, a builder, and a respected member of the technology community. O’Reilly Media is making Open Government free to all to access in honor of Aaron. #PDFtribute

    — Tim O’Reilly, January 15, 2013

  • I find that I often need to remember the steps to configuring NFSv4 on Fedora.  Note that under Fedora 18, nfs-utils may already installed depending on the options you select.

    [root@master ~]# yum -y install nfs-utils

    [root@master ~]# vi /etc/idmapd.conf

    # line 5: uncomment and change to your domain name

    Domain = server.world

    [root@master ~]# vi /etc/exports

    # write like below *note
    /home 10.0.0.0/24(rw,sync,no_root_squash,no_all_squash)

    # *note
    /home ⇒ shared directory
    10.0.0.0/24 ⇒ range of networks NFS permits accesses
    rw ⇒ writable
    sync ⇒ synchronize
    no_root_squash ⇒ enable root privilege
    no_all_squash ⇒ enable users’ authority

    [root@master ~]# systemctl start rpcbind.service

    [root@master ~]# systemctl start nfs-server.service

    [root@master ~]# systemctl start nfs-lock.service

    [root@master ~]# systemctl start nfs-idmap.service

    [root@master ~]# systemctl enable rpcbind.service

    [root@master ~]# systemctl enable nfs-server.service

    [root@master ~]# systemctl enable nfs-lock.service

    [root@master ~]# systemctl enable nfs-idmap.service

    [via ServerWorld]

  • Derived from ComputerWeekly.com

    A new video on the origins of OpenSource explaining the suggestion tht OpenSource existed prior to the Industrial Revolution has been hosted on OSS Watch, an advisory service for issues relating to free and open source software in the Further Education (FE) and Higher Education (HE) sectors.

    Open source and the bicycle

    The first iteration of the bicycle dates back to 1817 and the invention of the Laufmaschine (German for "running machine") or Draisine (English).
    drasine.png
    This all wood construction basic "bike without pedals" was later to be innovated upon (in an open source fashion) all the way through to it becoming the bicycle as we know it.

    The OSS Watch video below suggests that this great invention was taken up by lots of individuals… who all saw the potential in the device — and so the innovation curve was started.

    Over the next 200 years we added brakes, pedals etc. and we’ve never looked back.

    This collaboration is what the open source model of open contribution is all about i.e. it’s a level playing field fuelled by community input.

  • Pretty lively and accurate.