Archive | GNU/Linux

AUSTRUMI 3.7.5 çıktı

Sınırlı sistem kaynağı gerektiren ve Intel uyumlu herhangi bir yapı üzerinde çalışabilen, Letonya kökenli ve Slackware Linux tabanlı önyüklenebilir bir live GNU/Linux dağıtımı olan AUSTRUMI‘nin 3.7.5 sürümü duyuruldu. Tüm sistemin ve tüm uygulamaların RAM üzerinden çalıştırıldığı belirtilirken, AUSTRUMI’nin hızlı bir sistem olarak kullanılabileceği hatırlatılıyor. Henüz resmi duyurusu yapılmamış olan sürüm, indirilmek üzere yansılarda yerini almış bulunuyor. AUSTRUMI 3.7.5 için resmi duyuru yapıldıktan sonra, sürüm hakkında ayrıntılı bilgi edinmek için projenin anasayfasından yararlanabileceksiniz.

Continue Reading →

AUSTRUMI 3.7.5 edinmek için aşağıdaki linkten yararlanalabilirsiniz.

0

OviOS Linux 2.31

Performans odaklı bir depolama sistemine sahip olan Kanada kökenli bir sunucu dağıtımı olan OviOS Linux‘un Antares kod adlı 2.31 sürümü duyuruldu. Kararlı bir şekilde kullanıma hazır iSCSI, NFS ve SMB’ye ihtiyaç duyan kullanıcı ve yöneticileri hedefleyen dağıtım, root ya da diğer kullanıcılar için varsayılan olarak “ovios” şifresiyle kullanıma sunuluyor. “Ovios kabuğu” olarak adlandırılan özel bir komut satırı kabuğuna sahip olan dağıtım; en hızlı ve kullanımı en kolay Linux birleşik depolama sunucusunu amaçlıyor. OviOS Linux yönetici rehberini burada bulabilirsiniz. Kaynaktan inşa edilerek yeni paketlerin kolaylıkla eklenebileceği sistem; Linux Standard Base ile tam uyumludur. Bir sunucu dağıtımı için Linux çekirdeğinin tüm sürücülerden arındırıldığı ve gerekli olmayan modüllerin kullanımdan çıkarıldığı belirtiliyor. OviOS Linux 2.31 hakkında ayrıntılı bilgi edinmek için sürüm notlarını inceleyebilirsiniz.

Continue Reading →

OviOS Linux 2.31 edinmek için aşağıdaki linkten yararlanalabilirsiniz.

0

Linux Lite 3.8 Beta duyuruldu

Kullanıcı dostu, Ubuntu tabanlı, düşük kaynak tüketimi ile gelen, hafif bir GNU/Linux dağıtımı olan Linux Lite’in 3.8 beta sürümü duyuruldu ve kalıplar test edilmek üzere yansılarda yerini aldı. Bunun bir test sürümü olduğunun unutulmaması ve yalnızca test etmek amacıyla kullanılması gerektiği hatırlatılırken, test eden kullanıcıların tespit ettikleri hataları rapor etmeleri rica edildi. Final sürümünün 1 Şubat 2018’de yayınlanmasının planladığı belirtilen 3.8 sürümüne; LibreOffice için daha fazla destek, DVD’ler için bölgesel destek, dizüstü bilgisayarlar için TLP de eklenmiş bulunuyor. Başka bir bölgeden DVD’leri olanların, artık bölgeyi VLC’de oynatacak şekilde kolayca değiştirebilecekleri kaydediliyor. Linux Lite 3.8 Beta hakkında ayrıntılı bilgi edinmek için sürüm duyurusunu inceleyebilirsiniz.

Continue Reading →

Linux Lite 3.8 Beta edinmek için aşağıdaki linkten yararlanalabilirsiniz.

3

NetBSD 7.1.1 duyuruldu

NetBSD projesinin özgür, güvenli ve son derece portatif UNIX benzeri açık kaynak bir sistem olarak piyasaya sürdüğü 7.1.1 sürümü, Soren Jacobsen tarafından duyuruldu. Projenin, NetBSD 7.1.1 sürümünü duyurmaktan mutluluk duyduğunu belirten Jacobsen; önceki sürümleri kullananların mutlaka güvenlik ve kararlılık üzerine odaklanılan yeni sürüme terfi etmelerinin önerildiğini söyledi. Güvenlik veya kararlılık nedenleriyle önemli sayılan düzeltmelerin seçilmiş bir alt kümesini temsil eden yeni sürümün bir güvenlik/hata düzeltme güncellemesi olduğu belirtiliyor. NetBSD 7.1.1 hakkında ayrıntılı bilgi edinmek için sürüm duyurusunu inceleyebilirsiniz.

Continue Reading →

NetBSD 7.1.1 edinmek için aşağıdaki linklerden yararlanabilirsiniz.

0

RancherOS 1.1.2 duyuruldu

Docker çalıştırmak için gerekli asgari oranda araç içeren, ABD kökenli küçük ve işlevsel bir GNU/Linux dağıtımı olan RancherOS‘un 1.1.2 sürümü, niusmallnan tarafından duyuruldu. RancherOS’un basitleştirilmiş bir GNU/Linux versiyonunun konteynerler için kullanıma sunulduğunu açıklayan niusmallnan; 4.9.69 Linux çekirdeği üzerine yapılandırılan sürümün, çeşitli yamalar içerdiğini belirtti. Sistemin çeşitli belge düzeltmeleriyle geldiği ve Raspberrypi için seri konsolun varsayılan olarak otomatik biçimde günlüğe kaydedildiği ifade ediliyor. RancherOS 1.1.2 hakkında ayrıntılı bilgi edinmek için sürüm duyurusunu inceleyebilirsiniz.

Continue Reading →

RancherOS 1.1.2 edinmek için aşağıdaki linkten yararlanabilirsiniz.

0

Install, Access, Mount and Authenticate Linux Samba Server

Linux Samba server is one of the powerful servers that helps you to share files and printers with Windows-based PCs and other operating systems. Before we talk about Linux samba server, let’s discuss some basics. To understand Linux/Samba/Windows relationship, you need to understand the relationships of the operating systems, users, and networks. Linux login system is different from Windows login system. So, it’s the system administrator job to maintain the logins between different platforms.

Continue Reading →

Linux/Samba/Windows Relationship

There are several solutions to do this:

  • Linux pluggable authentication modules (PAMs): there are two user lists, one local list and one on the domain controller (DC), and users need to maintain their passwords only on the Windows system.
  • Samba as a DC: you maintain usernames and passwords on the Linux system, and users can log in to Windows boxes with Samba
  • Custom script: you can create scripts for maintaining logins and passwords, this can be done using a cross-platform scripting language like python.

The samba server composed of several components and daemons, the three main daemons are smbd, nmbd, and winbindd.

  • The smbd daemon is the main service for sharing of files and printers. This daemon uses port 139 or 445 to listen for requests.
  • The nmbd daemon handles NetBIOS name service requests. This daemon uses port 137 to listen for requests.
  • The winbindd is used to get user and group information from Windows.

Install Samba

To install Linux samba server, you need to install three packages.

For Red Hat based distros, you can install them like this:

$ dnf -y install samba

This package installs SMB server.

$ dnf -y install samba-common-tools

This package includes the required files for both the server and client.

$ dnf -y install samba-client

For Debian based distros, you can install them like this:

$ apt-get -y install samba

$ apt-get -y install samba-common-tools

$ apt-get -y install samba-client

Then you can start samba service and enable it at startup:

$ systemctl start smb

$ systemctl enable smb

Samba File Sharing

Of course, you can use web-based or GUI utilities to manage your Linux Samba server. However, it is useful to understand what GUI or web tools are doing from behind.

Now we will share a folder named myfolder:

$ chmod -R 755 myfolder

Open up Samba configuration file /etc/samba/smb.conf and add the following lines at the end:

[likegeeks]

path=/home/likegeeks/Desktop/myfolder

public=yes

writable=no

guest ok=yes

The first line is the Samba server name that the clients see.

The second line is the path to the folder that will be shared.

The third line means the share will available to all users like guest account and others. If set to no, authenticated and permitted users are only allowed.

The fourth line means that you cannot create or modify the stored files on the shared folder.

You can check for SMB configuration errors using the testparm command:

$ testparm

Now restart SMB service:

$ systemctl restart smb

Access Samba Shared Files

Now we need to access what we’ve shared. The smbclient utility is used to access Windows shared files.

You can list the shared files like this:

$ smbclient -L localhost -U%

The -U% option is used to avoid asking for the password.

As you can see our shared folder is on the list.

You can access this shared folder from Windows by just typing the IP address in the Windows explorer.

\\192.168.1.3\

You can list specific directory using the smbclient tool like this:

$ smbclient -U% //192.168.1.2/My_Folder

Once you’ve connected, you can use Linux commands to list and travel between files.

You can transfer files using get, put, mget, and mput commands.

If you are using iptables firewall, don’t forget to allow the ports 137,139 and 445.

Mounting Samba Shares

Most Linux kernels support SMB file system.

To mount a Samba share, First, create a mount point:

$ mkdir /mnt/smb

Then we mount the SMB shared folder:

$ mount -t cifs -o guest //192.168.1.2/My_Folder /mnt/smb

If the shared folder is password protected, then you type the username and password:

$ mount -t cifs username=likegeeks,password=mypassword //192.168.1.2/My_Folder

To unmount the SMB shared folder, use the unmount command like this:

$ umount /mnt/smb

On Debian based distros, you might need installing the cifsutils package in order to use it:

$ apt-get -y install cifs-utils

Creating Samba Users

To create a samba entry for an existing system user, use the pdbedit command:

$ pdbedit -a likegeeks

The new user will be created in the Samba default user database which is /var/lib/samba/private/passdb.tdb file.

With a Samba user created, we can make the shares available only to authenticated users like the user likegeeks.

This user can access his resources on Samba server using smbclient like this:

$ smbclient -U likegeeks -L //192.168.1.3

The smbpasswd command is used to change the SMB password like this:

$ smbpasswd likegeeks

Authenticate Users Using Windows Server

The winbindd daemon is used for resolving user accounts information from native Windows servers. All this from your Linux samba server.

First, install the winbind package.

$ dnf -y install samba-winbind

Then start the service like this:

$ systemctl start winbind

Then add the following options in /etc/samba/smb.conf file:

workgroup = windows-domain

password server = 192.1638.1.5

realm = windows-domain.com

kerberos method = secrets and keytab

winbind use default domain = yes

winbind enum users = yes

winbind enum groups = yes

winbind refresh tickets = yes

winbind normalize names = yes

winbind nss info = rfc2307

domain master = no

local master = no

Then Edit the /etc/nsswitch.conf file and modify the following lines:

passwd: files winbind

shadow: files winbind

group: files winbind

Then Edit the /etc/resolv.conf file and change the primary DNS server:

Search windows-domain.com

nameserver 192.168.1.5

Now join the Linux Samba server from the Windows domain using the net command:

$ net join -w WINDOWS-DOMAIN -s ' win-server' -U Administrator%password

You can list the users in Windows domain using wbinfo command

$ wbinfo -u

For any problem diagnostics, you can check the samba log files under /var/log/samba/ directory, also use testparm utility to check your configuration after you modify samba configuration file.

That’s all. I hope you find the Linux samba server easy. Keep coming back.

Thank you.

likegeeks.com

0