I was working on my DNS server and I wanted to create a virtual interface to distinguish internal requests from external requests. The command to create a virtual interface is:
Thursday, April 25, 2013
How to create a virtual interface on CentOS or Debian
Tuesday, April 16, 2013
Sharing folders without login - Samba
Samba is an open source software that allows to solve communications problems between Windows and Linux. With Samba, you can share folders, printers for Windows clients and can perform as a Primary Domain Controller (PDC) or as domain member. Samba can also be part of an Active Directory (AD) domain.
As a Systems Administrator, one of first things I wanted to do was share folders on Debian with my Windows to transfer easily files. My Debian is a local Web Server to test my PHP5 applications (yes, I am also PHP5 developer). Why do I want share folders without password? Because it is painful every time I need to login and I am working at home where is no danger around me. No one can crack me at home. At home, it is a great way to share files without login.
- How to install and configure samba
- su -
- insert your root's password
- mkdir /home/yourusername/mysharedfolder
- chown nobody /home/yourusername/mysharedfolder
- apt-get install samba
- nano /etc/samba/smb.conf
- security = share
- guest account = nobody
[mysharedfolder] writable = yes path = /path/to/directory public = yes guest ok = yes guest only = yes guest account = nobody browsable = yes
- Ctrl+X and then y
- service samba restart
Optionally, you can use Samba Web Administration Tool (SWAT) to configure the settings of shared folder.
- How to install SWAT
- apt-get install swat
- Go to your favorite web browser and type the next URL: http://localhost:901
- insert your root login
- watch the next video how to configure samba
Samba is very useful tool for who want share files between Windows and Linux and SWAT is also very useful for who want configure settings of sharing easily.
I have created another article about Samba before but this one requires a login. If you want to do login, please read this article.
Monday, January 2, 2012
What is your favorite operating system? - Results
Monday, November 14, 2011
Equivalent to ubuntu-restricted-extras for Debian
For Ubuntu, I typed "sudo apt-get install ubuntu-restricted-extras". But I wanted a equivalent to ubuntu-restritected-extras for Debian.
So I googled and found out how to fix problems in Debian. In terminal, type the next commands:
- su -
- type root's password
- echo deb ftp:// ftp.debian-multimedia.org/ squeeze main >> /etc/apt/sources.list
- apt-get update
- apt-get install debian-multimedia-keyring
- type 'y'
