December 8, 2009 in Linux Client | Comments (0)
Tags: Computer Nerd, damn small linux, Email Messages, Gruesome Details, Left Hand Corner, Linux Commands, Linux Operating System, Linux Text, Linux Tutorials, Lower Case, Mac Programmers, Notepad, Programming Languages C, Text Editors, Text Processor, Unix Dos, Upper Case, Versions Of Linux, Web Page Editing, Windows Computers
Damn Small Linux is an excellent tool for learning Linux commands and running the Linux operating system. But what if you don’t plan to be a computer nerd; can this software still be useful? The answer is a definite yes; you can make use of this tiny operating system whether or not you want to learn the sometimes gruesome details of operating systems. This article introduces the text editors that come with your free Damn Small Linux that runs on even obsolete Windows computers. You can use these applications to compose simple text or programs of any level of complexity.
Once you have downloaded and installed Damn Small Linux there are several equivalent ways of launching its text editors. You can click on the DSL button in the lower-left hand corner or on the Apps icon toward the top of the screen. Then open the Editors: there are four, Beaver, Nano, Notepad, and vi (actually vim). We will look at these editors in order plus an additional one.
Beaver is my choice for creating and editing the text files used in my Damn Small Linux tutorials. The name Beaver stands for Beaver is an Early AdVanced EditoR which is the kind of joke that many Linux and Unix people find funny. This editor is particularly useful for programming and web page editing. Beaver’s special features include color coding and the ability to convert text to Upper Case, Lower Case or to capitalize the first letter of every word. You can convert text among the following formats: Unix, DOS, and Mac. Programmers will be glad to know that Beaver formats code for the following programming languages: C/C++, HTML, Perl, JavaScript, PHP, and Bash. Unfortunately there is no Help function.
The nano program is especially used for email messages. It stems from the widely used Pico email program that is not available for some versions of Linux. I have not worked with nano but am told that many Linux and Unix people like it.
What the Damn Small Linux people call Notepad is actually another text processor that is similar to the DOS/Windows Notepad. I haven’t used it because Beaver is more powerful, and just about as easy to use.
The final application in this group is VIM, vi IMproved. The original vi was a very-widely used text editor for Unix and Linux systems. Today almost all Unix and Linux people work with other, more sophisticated text editors. When I teach Linux on systems other than Damn Small Linux I teach a reduced version of vi. This editor is cumbersome, but you make like the improved version. Damn Small Linux offers you a choice.
The Office folder includes Ted, a word processor which is compatible with Microsoft Word. Ted saves documents in RTF (rich text format) that can be read by Microsoft Word and other word processors including Open Office. Ted and Beaver belong to different worlds; you can’t take documents back and forth between these two applications.
By: Levi Reiss
August 9, 2009 in Linux Client | Comments (0)
Tags: Database Management System, Easy Php, Garbage Heap, Graphical Web, Inexperienced Programmers, Internet Explorer, Lamp Components, One Billion Dollars, Personal Home Page, Personal Home Pages, Php Programs, Professional Version, Software Php, Sun Microsystems, Two Computers, Web Programs, Web Scripting Language, Weird Sense, Windows Computer, Windows Computers
PHP is the most widely used web scripting language. It enables even relatively inexperienced programmers to develop dynamic web sites for virtually any web application under the Sun (this is an inside joke which will be explained below.) This article introduces PHP and its companions. First we will discuss a bit of PHP history.
PHP originally meant Personal Home Page when first created in 1994 right around the time that graphical web browsers started to bloom. It is a good thing that the name was changed. This programming language does a lot more than prepare personal home pages, which it happens to do very well. PHP now stands for Hypertext Preprocessor. You may think that the letters are in the wrong order, but this is an inside joke. Many PHP fans have a weird sense of humor.
PHP is part of the LAMP suite of open-source (free) software. The L stands for Linux, a Unix-based operating system that is a direct competitor to Microsoft Windows. To run LAMP on Windows computers you will perform two separate downloads, one for Linux and one for Easy PHP encompassing the remaining LAMP components. You can run these three components on virtually any Windows computer, even one that seemed ready for the garbage heap. To test your web programs you need a browser such as Internet Explorer or Firefox but you don’t need a live Internet connection.
The A in LAMP stands for Apache, the most widely used web server. You can run Apache alongside PHP, testing your PHP programs in a live environment.
The M in LAMP stands for MySQL, the most widely used database management system. Sun Microsystems recently purchased MySQL for more than one billion dollars. But don’t worry; this product remains free of cost for small and medium-sized systems. When your system gets big enough, you won’t mind paying the relatively small cost of the professional version of MySQL.
PHP runs on the server, the computer managed by Apache. Let me remind you that you don’t need two computers to run PHP and develop and test your website. When the time comes for other people to access your website you will have to host the site on the Web. This means naming your site and dealing with a web-hosting company. You will have to pay for your site name and in most cases you also pay for hosting your domain. The web hosting company may charge extra for Linux and MySQL services and support. Many webmasters claim that Linux offers a more professional environment. Others prefer the more familiar Microsoft Windows. It will be your choice.
By: Levi Reiss