Posts

Showing posts with the label ubuntu

Customize ubuntu login console by Cowsay, ascii art

Before this article, I wanna introduce cowsay again, cowsay is an ASCII art generator, which is alway the nerd's favorite toy. Cowsay & Fortune I already used cowsay in my email client, gnus. And at that moment, I found out cowsay's closet mate, fortune . And this time is the moment to make some fun to my ssh login terminal. How to decorate your ssh login console? Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.13.0-53-generic x86_64)  * Documentation:  https://help.ubuntu.com/  ____________________________ / Expect the worst, it's the least you \ \ can do.                                            /  --------------------------------------         \   ^__^          \  (oo)\_______             (__)\              )\/\ ...

How to configure Samba Server in Ubuntu?

How to configure Samba Server in Ubuntu? Table of Contents What is Samba? Target Prepare configure /etc/samba/smb.conf 1 What is Samba? Samba is a linux implementation of file share and transaction protocol for LAN, which mainly used in Windows OS. Samba is more convenient than FTP in my opinion, and it is useful in a small group who works in a same LAN, but its members are familiar with different OS, Bob works in Mac, David works in Ubuntu, while Mars likes Windows more. 2  Target This tutorial is a step to step document of how to build a Samba Server which met the following requirement: Share a Directory with both readable and writable authority for Guest. Share a Directory with both readable and writable authority for certain Users. Share a Directory with only readable authority for Guest. 3 Prepare addgroup smbgrp adduser abc smbgrp smbpasswd -a abc mkdir /xxx/path chown -R abc:smbgrp /xxx/path mkdir /xxx/public chown -R nobody:nogroup...