Setting up a server for home or small business | 2 – SAMBA print server, File Backups, Remote Desktop Connection0
This is the second post about setting up a server for home or small business with SAMBA. If you haven’t seen the 1st post read it here :
Printer sharing with SAMBA
I have already installed HP Deskjet 3920 printer in my server machine and enabled sharing. (Open “Printing” application >> Right click on the printer, see whether sharing is enabled).
As we are giving anonymous access to printers first create a user account for remote print jobs
/usr/sbin/adduser --system --disabled-password smbprint
Then append the following lines to the end of the Global Settings.
printcap name = cups printing = cups
And now we’ll share the printers. Add the following code to the end of the file
[printers] browseable = yes printable = yes
SAMBA for Home or Small Business
First of all what is SAMBA? It’s a free File and Print server which can be used in Linux and UNIX based Oss for file and printer sharing with windows machines.
So now you got the idea. But why use Samba with Ubuntu? First it is free! When configured, works smoothly. Less need of worrying about viruses and many more advantages are there.
Here I’m using Ubuntu 12.04 desktop version in a pc with an Atom processor. The main aim is to setup a server which is only used for file/print sharing + backups. So here I’m not worrying about high end hardware. Also here I’m not considering security issues. File and printers are shared so anyone in the network have access to them.
Auto mounting partitions in Ubuntu
In this machine I have created 4 partitions. First one for OS, second More >
Writing a post after several months
You may have come across this problem. Usually when you install Windows 7, if you need to install XP as dual boot you need to bother a bit. Either you can try installing XP into another partition and later repair the boot manager by booting with a Windows 7 DVD and choosing Repair. Or the safe way is to install XP first and then WIndows 7.
However it’s not the case now. Once Windows 7 is installed and you need to completely remove 7 and install XP. You may have done this successfully in some times and some of you may have come across a problem. When you boot with a Windows XP disk you’ll end up with a Blue Screen. So some of you may say “Can’t Install Windows XP to a hard disk which Windows 7 has been More >
If you don’t know yet, OpenCV is a free library for image processing and computer vision applications. You can find more info from their web site.
So why QT ?
OpenCV can be used mainly in programs written in C and C++ (not only that, there are so many wrappers which enables you to work with OpenCV in other languages too). So talking about C++ why not using Visual C++ ?? Of course you can easily design GUIs. But why QT ?
QT is an C++ IDE which can be used to create gui applications easily. Find more info here.
The main advantage in using QT is that we can easily “integrate” the GUIs of OpenCV inside the GUIs created with QT.( Correct me if I’m wrong) What it means is that, It is hard to insert a video window inside a More >
You may have come across this problem. When you add the availability information in the backend for a product, in the frontened the availability image will be displayed with a phrase “Usually ships in” which you may not need.
Let’s see how to solve this. (I’m using Virtuemart 1.9 package. For older versions also similar method may apply).
This is what you get normally.
Now let’s try to remove this “Usually ships in” phrase.
Find the “english.php” file in “/administrator/components/com_virtuemart/languages/common/” folder.
Then find “Usually ships in” phrase there. Around line 362 you’ll find the line
'PHPSHOP_DELIVERY_TIME' => 'Usually ships in',
Replace it with
'PHPSHOP_DELIVERY_TIME' => '',
Now save and check the flypage in the frontend. You’ll get something like this.
Note: You can view this also in CompSoc.lk web site.
You may have heard the word “CMS” several times. Do you wonder what a CMS is …? Well it Content Management System is presented in the abbreviation CMS. Whatever it is, what does it do really?
Also have you ever think of how large sites manage their content? News sites like adaderana.lk, dailymirror.lk needs to be updated so often. If you are a person who only knows about web designing with HTML you may have wondered how these people manage their sites. Because editing html files and updating them in the server is not a much easy task. You need to edit the page locally and then update the remote server. Managing huge amount of content is not an easy task in this way.
Just imagine More >
Here you can find some information about how to work with files when using an SVN
Now the installation is completed and so you need to import files from a remote SVN host. Go to File>> Import. There select SVN >>Checkout projects from SVN.
And select create a new repository location. There you can add the svn url. ( In assembla you can find this URL in Source/SVN page). After that it will show the file structure in the remote host. Select the folder to be checked out from the SVN.
After pressing next you’ll get a window for a New Project which you are already familiar. So you can create a new project in workspace or at an existing location. If you are developing a component for a web application More >
When we are developing a software with the collaboration of several members we need a way of sharing the code files, software versioning and revision control. We can use a Subversion system for this. SVN is one. See more information about svn here.
We can get a free host to host our files. Assembla is one which gives free services as well as paid ones.
So now we need a client software to work with an SVN. One popular software is TortoiseSVN. It’s a great software that can be used very easily.
If you are using Eclipse as your development IDE it is easy to work with an SVN. We need to install Subversion to the eclipse IDE.
Let’s get it installed.
( The screenshots below are taken using the “Eclipse for PHP Developers” Version: Helios Service Release 1)
First go to Help>>Install New More >
From time to time we engage in different types of societies, and mingle with different types of people. At school time we get together with our fellow students in societies there. Some people get the chance of participating in clubs, societies in their neighborhood.
Each of these gives us one valuable thing; a unique experience which we won’t get from any other activity. We learn to live and learn to how to behave.
At university stage also most of us get a similar opportunity through faculty or university societies. But we rarely get the chance of interacting with people from other institutions. But if the community is open for several universities, the members can work with others too.
One such community is the Microsoft Student Champs, which is the largest, active undergraduate community in Sri Lanka. For people who don’t know what’s happening inside the Champs community: Champs get together mainly More >
මෙහි සිංහල පරිවර්තනය මෙතැනින් ලබා ගන්න http://blog.sanjaya.me/how-to-localize-a-joomla-web-site/
You may have seen so many web sites which can me viewed in several languages. You may also think that it is so difficult to create such a site. But doing such a thing is not much difficult.
Presenting your Joomla web site in 3 languages is not a much difficult thing. Joomla can be used with several languages. I used as Trilingual in the title because in Sri Lanka we mainly use 3 languages.
So, we are going to use the popular JoomFish component for this. This is a great component which can be used very easily for localization.
(For writing this article I’m using a Joomla site installed in a folder called jom in localhost)
Let’s first install this component to our Joomla site.
Download the latest stable version here.
Now in the Joomla More >