Friday, February 1, 2013

How to make an Apache Server using Linux?

Q. Hi I am using linux debian on an old imac g3. I have gotten the web server up to a point where I can see the 'It Works' page but now what? I want to add Joomla to it but I don't know how to make it load like cpanel does. Help!

A. a) Download Joomla
[code]
cd /var/www
sudo wget -c http://joomlacode.org/gf/download/frsrelease/14659/64120/Joomla_1.6.3-Stable-Full_Package.zip
sudo unzip Joomla_1.6.3-Stable-Full_Package.zip
sudo rm index.html
sudo chown -R www-data:www-data *
[/code]

b) Setup MySQL & phpmyadmin
[code]
sudo apt-get install mysql-server
sudo wget -c http://iweb.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.3.10/phpMyAdmin-3.3.10-all-languages.tar.gz
sudo tar xvfz phpMy*
sudo mv phpMy* phpmyadmin
sudo chown -R www-data:www-data phpmyadmin
sudo mv phpmyadmin/config.sample.inc.php phpmyadmin/config.inc.php
sudo nano phpmyadmin/config.inc.php
[/code]
During the installation, it will ask you for the mysql password. set it, and remember it.

Now,
At this point, add something to the part where it says you need to add something for blowfish authentication. Just type a whole load of random characters.

Press Control + X to save.

visit http://< web server address >/phpmyadmin

login with username 'root' and the password you set before.

Create a new database named "joomla"

Now, visit http://< web server address >
Your database name is the one you just created.
User is "root"
password is the password that you set.

Its not exactly secure to use the root account, but as your only using it for personal purposes, it doesn't matter much.

What exactly is so great about linux?
Q. I have tried Ubuntu out once but I didn't really see the point of it and I ended up going back to windows 7. What does linux have to offer that windows does not (apart from the fact that its free)? I'd really love to learn more about linux and play around with it (especially customizing it and tweaking settings to personal preference but I don't know if that's what it's about).
Oh and can someone also please recommend a (or perhaps a few) versions I should try out?

A. I'm so glad you ask this question!
Well, linux is great from many points of view. I hope you take your time reading this, and I hope this will prove helpful to you! :D

1. The main one, which is definitely the best thing for an every-day user is the fact that Linux is virus-free. No antivirus, no problems at all with malwares or malicious software.

2. Open source. Open source doesn't mean ONLY that it's free. Aside of the fact that you have FREE licensed OS, there is a huge open source community, constantly working on your linux version (we call them distributions), fixing bugs, or dangerous leaks and making it better, and better every day. With linux, you will always benefit from the latest updates, which is great.

3. Great security. Having no viruses, being open source (constantly updated), with Linux you can be sure you're system is as secure as it can be. As for myself, I feel secure ONLY on Linux.

4. Optimal. Linux is, no doubt, optimal! It is very fast, even on slower computers. As an example, at the Informatics Olympiads in my country, they test the sources both on Windows and Linux, and Linux is faster all the times, sometimes even twice. Linux is faster because of it's relative simplicity, because of it doesn't have all those additional programs which Windows needs for pretty much everything to slow down your computer.

5. Support for all standard formats. With Linux, you are off to go from the moment you install it. It supports pretty much EVERY standard format there is. In windows, to emulate an .iso you need a program (in Linux you don't; of course you can install, if you want a nice user interface), In windows to unzip a .zip you need a program (in Linux, you don't) etc. etc.

6. Great control over your OS. In Linux you got the Terminal, which allows you to do EVERYTHING you want (including to screw up your computer, believe me :)) ). Basically, in Linux you control the system. In Windows it's different, Windows is a closed box, you can only see it's outside. You are forced to use what they give you, how they give it to you. In Linux you can use what you want, how you want. And that's nice.

7. Just like the OS, you benefit from a lot of open source software, which (some of them) are great! Like GIMP instead of Photoshop, Blender instead of... well instead of nothing because Blender is the best out there for 3D Modelling (IMO)..., Inkscape for vector graphics etc.

8. WINE. If you still need a certain program from Windows which doesn't have a version for Linux, there is WINE. WINE is basically a thing which lets you install and run Windows programs as your Linux would be Windows. You can very well install MSOffice, Photoshop, Dreamweaver, anything you want. Even games! Yes, you can play windows games on linux with WINE. For some of them, you may get even better performance than on Windows itself. With a little bit of learning it's ropes WINE will make you forget about windows.

9. Customization! That's another great thing of Linux. On Linux you can customize, tweak, modify anything at your pleasure, given that you know how to do it. Of course, some of the things you can customize easily, some of them harder, but there's always that feel of happiness when you make your system look like you want to. And when you know you did it!

At first, I would suggest you to use a dual boot: Windows 7 and Linux, so that you can switch to Windows whenever you need, until you get familiarized with linux. For this, it is necessary to install Windows first, and then Linux with it's bootloader so that it recognizes both Windows and Linux at boot.

Finally, as you requested, here are some versions (distributions, like I said, or shorter distros):
1. Ubuntu - it is great, user friendly. If you want full customization you should try older versions of Ubuntu, like 10.10 or 11.04. http://ubuntu.com/

2. Linux Mint 12 - the distro I'm using now. It's as great as Ubuntu, if not greater. It's interface is very very nice, and I love it. http://linuxmint.com/

Have a nice day, and good luck on learning the ropes to this great system, Linux!
I hope I helped!

Can anyone help me with installing programs on Linux?
Q. I dont have internet on the computer i have linux on, am i screwed or is there still a way?

A. Some software is distributed in "Source form". This means you download a file containing all the source code for the application you want to install, unpack it, and compile it on your system. Compiling is the process of turning the source code into an executable binary. It is a fairly straight forward process.

Typically applications you must compile from source will come as a ".tar.gz", ".tar.bz2", or ".zip" file.

You'll probably want to operate from inside your home directory. If your user is (for example) username, your home directory will be /home/username/. Downloaded your zip file containing install files to /home/username/src. If you do not have a src directory, you can create it with the following "mkdir" (make directory) command:


Code:
mkdir /home/username/src/
So, we have our source package in /home/username/src/.

Change to the /home/username/src/ directory with the "cd" (change directory) command like so:


Code:
cd /home/username/src/
Use the "ls" (list directory contents) command, to see the file is present:


Code:
ls

We now need to unzip the zipped file, this is done differently depending on the file extension.

for files ending in .tar.gz, use:

Code:
tar -zxvf <filename>
(replacing <filename> with the name of the file).

for files ending in .tar.bz2, use:

Code:
tar -jxvf <filename>
for files ending in .zip, use:

Code:
unzip <filename>
You should now have a new directory, containing all of the source files. To confirm it exists, and to get its name, use the "ls" command again.

Code:
ls
we now need to go into the new directory, so use the cd command:

Code:
cd <directory>



This is where things will differ. Some packages will have an INSTALL or README file which will contain installation instructions. use "ls" to see if the software has an install or readme file. If it does have one, you can use the "more" command to read it, like so:

Code:
more INSTALL
Generally, the final 3 stages are as follows:
- Configure the installation
- Compile the software
- Install the binaries

The pre-installation configuration is done by executing ./configure:

Code:
./configure
This will perform some requirements testing on your system, and create a "Makefile" which will explain to the "make" utility how the software should be compiled.

The next stage is to compile the software, this is done using "make". When you run "make" it will read the instructions in the Makefile and build the application binaries.

Code:
make

The final stage is to install these binaries, ie, copy them to a more permanent location. Typically only the "root" user can do this, so you will need to swich to the root user with the "su" command:

Code:
su
Once you are root, install the binaries using the "make" command, followed by "install", like so:

Code:
make install



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

Where to start for becoming a linux master?

Q. I have ubuntu 8.10 installed on my macbook and I am familiar with the gui as well as other desktop environments. But, I have no clue how to program, what a source code is, or how to build my own linux distro from scratch. I do know how to install several operating systems, how to partition a hard drive, and how to install hardware. I'd like to be a programmer someday and I want to know where to start. Thanks!
I don't like kde at all.

A. Check this out:
http://www.linuxfromscratch.org/

It guides you through building a distro from scratch.

Source code is basically the "recipe" to a program. A compiler converts source code to binary.

KDE wasn't my preferred desktop environment at first either, but as I started using it and discovered how much more configurable it is and found some of it's unique features (that the other DE's don't have), it became my favorite desktop environment.

But if you want to learn more about Linux, try using a distro that doesn't try to emulate Windows. Using slackware has taught me a lot.

What is a good book for learning UNIX and Linux?
Q. I'm a windows person, but have played with Ubuntu before, but I don't know much of anything about it. I would like to learn to program bash/shell code. My end goal is to build my own custom Linux distro, if not through Linux From Scratch at least customize a solid system. Much appreciation!!!!

A. Here is a very basic and complete book on linux.
Good luck

What is the best or easiest Linux to start using LFS on?
Q. I'm starting for the first time to use Linux from Scratch, but it says I have to use it on a 32-bit Linux. Which Linux would be easy to start on?

Any other help about starting to use LFS would help. What is Linux from Script??????????????????

A. Slackware would be a good choice, it includes most (all?) of the tools you'll need to start building your system.



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

What operating systems are compatible with tablet pcs?

Q. I'm looking to buy a tablet pc on ebay and figure that after i can upgrade the os. I just don't know which ones will be compatible with it.

A. The only OS's that have the complete TabletPC functionality built-in are WinXP Pro Tablet Edition and Vista. And even with these you generally have to have the proper restore disks to prevent digging around the 'net for some device drivers.

There are TabletPC's running Mac OS and Linux, but there is no "package" that loads what you need, You would have to find all the Tablet screen and pen device drivers, all the handwriting recognition software, all the internal server apps, etc yourself to "build" the TPC system.

Vista is a great OS for TPC's, but upgrading to Vista can be problematic as many machines designed to originally run XP won't have the hardware specs to run Vista well. Maxxing out your RAM will help but most TPC's do not have upgradeable video cards.

You'll probably be Ok with anything current from the last 3 - 4 years provided you don't want to run Aero effects, etc in Vista.

Whats are some differences between a laptop and a tablet?
Q. I know that a tablet is touch screen when you swivel it over, but are there any other differences? I want to know because the price difference is a lot.

A. The biggest differences between a laptop and tablet systems is that usually laptops have better speed CPU's and larger Hard drives. Now some tablet system run Window based software and others don't and you can even get a laptop with Linux.

I believe that Laptops are better designed then tablets in terms of handling you dropping them plus the usage. Because tablets for the most part touch and tap controlled you will see damage to the screen area much faster then a laptop. I think you have more flexibility with laptops as well since you add accessories much easier and software which some tablets won't run well you can use them for more things where tablets are designed more for kind of reading.

If you want to rotate your screen just buy a monitor that will allow that option which some laptops have on them.

That's some of the reason I like, hope that helps you out.

How do i use a kindle fire as a computer tablet?
Q. AI have a kindle fire 2. I am in drawing and stuff, but i really need a tablet. SO i asked one of my friends if a kindle fire can be used for a computer tablet. she said yes. I can't find anywhere with that kind of information. I need help.

A. A kindle fire uses type of linux like an android operating system. You can buy applications from Amazon and they run just like apps on a tablet. Just look for them on the kindle store.



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

How much Linux do I know to qualify for some of these jobs out there?

Q. I'm an MCSE/MCITP have my bachelors, and 8 years experience but never touched Linux. I noticed a lot of jobs require some Linux. Obviously I'll never be a guru as I don't use it on the job and never have, but what's a good place to start and how much of it do I need to know to get around comfortably?

A. Get a hold of a few old computers, set up a LAN, and learn how to do anything you can think of. Start learning basic shell commands and how to look up such commands, "man" looks up the manual (docs) for each command, "apropos" searches man pages for a word to find a related command, etc.

If you have a network printer figure out how to use that. Set up apache webserver. Play around with bind9 configuring DNS zones for your LAN. Learn how "samba" interacts with Windows file and printer sharing and WINS. Set up a couple of mail servers using sendmail or postfix and learn how to successfully send mail between them.

And when you get comfortable enough with it, set up a Linux computer as your internet router, masquerading your private LAN from the internet, port forwarding, and other firewall rules (basically learning "iptables").

I am 1700 miles from our factory, so I am not sure what all they use Linux for. But it has been used as a safe public smtp interface for our mail, forwarded into/out of our internal Exchange server. They use Smoothwall Linux for "squid" web proxy (I use IPCop on an old K6-2/400 cpu for squid). Our document retrieval system for literature and drawings is apache webserver in Linux with search pages/scripts written by our network guru.

How to cut and paste something in Linux, using the terminal?
Q. How do I go about cutting something in one directory and placing it into another directory in the terminal?
What are the "commands" (not sure if that's what they're called) and what are their arguments? I would appreciate anyone with helpful information's assistance.

Thank-you.

A. 1) If you are talking about copying text from the terminal, you can copy with ctrl+shift+C, and paste with shift+insert (might be 'ins' on the keyboard).

2) I'm assuming that you are actually talking about moving, or copying files in your computer. Here are some basic commands;
ls - lists files in the current dictory

[john@Aaarch ~]$ ls
43375-coolarch.png 64roms Desktop
[john@Aaarch ~]$

cd - change dictory

[john@Aaarch ~]$ cd ./Desktop/
[john@Aaarch Desktop]$

cd ./ will let you change to a subdictory within the dictory you are already in. cd / will change to a dictory from the beginning of the filesystem. cd /home/john/Desktop is would be the same as cd ./Desktop, if I are already located in /home/john. To move to /home/john, my home dictory, I could also use cd ~/.
so, I could also do cd ~/Desktop, because "Desktop" is a subdictory within /home/john. If you login as another user, you will have a different home dictory, and to change to john's dictory, you will have to use cd /home/john. Home dictories are usually located in the /home dictory.

Another feature is to move up to the parent dictory with cd.
[john@Aaarch Desktop]$ cd ../
[john@Aaarch ~]$ ls
43375-coolarch.png 64roms Desktop
[john@Aaarch ~]$
Simply type cd ../

To switch to another user, you would use su. Don't worry, this will only effect the terminal use issue su on, and you can always switch back.
To switch to the root user (administrative user), you can simply type in su. You will be prompted for the password. Be very carefull when working with the root user. You can damage your system. Only use the root user when needed.

If you get lost, you can use pwd to find your location.
[john@Aaarch Desktop]$ pwd
/home/john/Desktop
[john@Aaarch Desktop]$

To copy and remove files you would use these to commands:
cp - copy
rm - remove
There is as a command to just move files (cut and paste), but I don't use it too often.
mv - move
Too copy and remove dictories, you can use the -r arguement.
cp -r
rm -r

[john@Aaarch ~]$ cp ./43375-coolarch.png ./Desktop/
[john@Aaarch ~]$ cd ./Desktop/
[john@Aaarch Desktop]$ ls
43375-coolarch.png
[john@Aaarch Desktop]$

Keep in mind that Desktop is a dictory. Dictories are usually a different color, if your terminal supports that. To get even more information of files, you can use ls -l instead.

Another useful command is man. man will let you view the manual pages of a command, if there is any availabe. Most distros come with the manual pages installed, and can be very help if learning new commands.

These are just some of the basics, but you will be using these commands as long as you use the terminal. I suggest you read some linux guides and documentation. I'll list a few that I know of, but remember that google is your friend, and also try posting on some forums as well.

http://www.linux.org/docs/
http://www.linuxhq.com/guides/LUG/guide.html (pretty old, but explains the basics)
http://learnlinux.tsf.org.za/

What is the Fastest way to teach myself EVERYTHING about computers?
Q. Without taking classes, or minimal classes, considering I have basic computer skills. How can I learn programming, web design, hacking, and other basic IT skills? What books should I read? Best answer gets the points.

A. You could study the rest of your life and you still would never know EVERYTHING about computers. I'll recommend a few books though.

Install Linux on your computer (you want to know EVERYTHING, right? That must include Linux) and get comfortable with it. I recommend Ubuntu because it's easy for beginners. Here's a link to a free ebook that will you help you get acquainted with it:
http://www.ubuntupocketguide.com/index_main.html

If you want more advanced Linux skills, I recommend Linux Command Line and Shell Scripting Bible by Richard Blum. It's pretty detailed and by the end of it you'll be good with the command line and bash scripting.

If you want to learn web design, you should learn HTML - no book recommendation here because you can just google for an HTML tutorial. It's not a programming language, it's not hard, and if you find a long book on HTML it's surely a waste of time.

You'll also want to learn Javascript, probably, for web design. I recommend Object-Oriented Javascript by Stoyan Stefanov. It's a pretty concise book and might be hard to follow if you haven't had any previous programming.

If you want to learn PHP for web development, I really can't recommend anything. I read a fabulous PHP book a few years ago, but it was on PHP 4, and PHP 5 is standard now, so I'm not going to recommend a PHP 4 book. I think PHP may be losing favor to Python though.

Everyone seems to love Python nowadays. Try Learning Python by Mark Lutz. It's 1200 pages long and rather detailed, and the author seems to assume you've had some math, but you need to learn math anyway if you're going to learn EVERYTHING about computers.

That'll keep you busy for a while. After that, you might see how impossible it really is to try to learn everything. You can learn a lot though, and sometimes it's more important to be able to find the information you need than to have things memorized.



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

Can I use linux to stream videos to a windows pc?

Q. I have an old computer that i want to turn into a media center for my household. The problem is, I really want a linux distro on it if possible. I know Tversity and Twonky don't support linux, but is there a distro or program I could use to stream my videos?

A. http://www.dtek.chalmers.se/groups/dvd/ www.mplayherhq.hu
available in command line and GUI
â Be sure to get all the codecs, including the W32
codecs.
â available as source, RPM or Debs
â Yum RPM updates for Fedora from
www.greysector.net
Mplayer tricks
â Make a script with your favorite command-line
parameters like this
â time mplayer autoq
20 cache
32768 autosync
30 framedrop
zoom
fs
stopxscreensaver
$*
â Or put them in your GUI launcher
â mplayer-plugin for Mozilla & Firefox
â Skip ads and start at 4th file on DVD with dvd://4
(or whichever one starts the show on that DVD)

how to speed up XBMC on an old Ubuntu Linux computer?
Q. I recently installed XBMC media center on my old Ubuntu Linux computer. I am running 11.04 and have already changed the sources to the 10.10 release. There is lots of lag in the media center and a very low frame rate. Is there a way to disable some of the 3D effects to make XBMC run faster? If not is there another way to speed up XBMC media center?

A. Disable or low some of the XBMC settings
Close any programs you have open before using XBMC
Turning off any start-up programs that you don't use

Is there a way to have Window Media Center recognize and play rar'ed videos?
Q. I want WMC on XP to recognize and play video in rar archives, either by extracting it completely before playing or not.

Or should I go with some other Media Center, Windows or Linux based, excluding MythTV?

A. No,only the archiver application can recognise the file. Not that there is any point in compressing a video file as they already, usually have high compression levels due to their encoding.



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

What Will Happen If I install Linux Mint AND ten uninstall windows xp?

Q. If i download linux mint then uninstall winxp will i still have my drivers like sound,LAN,graphics and more important drivers.

A. RECOMENDATION:

dont read to much blogs, u must read sensible info about linux, Debian its the mayor linux documented proyect for read, IN LINUX U MUST READ FIRTS AND TEH MEK ACTIONS


TAHE CARE OF THIS MEN:

LINUX ARE NOT WINDOW

WINDOW ARE NOT LINUX

LINUX DONT NEED DRIVERS RIGHT

and for last: for unninstall windows only one command and play it fron linux

mkfs.ext3 /dev/windowspartition

THAS ALL

How do I make a bootable flashdrive?
Q. I have the ISO for Linux mint downloaded. I chose the DVD file because I don't want to install all of the add-ons separately but my computer doesn't have a DVD drive. I want to put the iso on a flash drive and boot from it. How do I do this?

A. Pendrive linux. easy as pie.
http://www.pendrivelinux.com/universal-usb-installer-easy-as-1-2-3/

What is the easiest way to remove GRUb and Linux Mint 12?
Q. I want to reinstall it because I am getting issues with Linux Mint 12 and believe it to be the fault of a bad download. I also want to uninstall GRUB so I can just do a completly clean reinstall since GRUB decided to mess up once I deleted Windows 8 Consumer preview.

A. If you reinstall linux mint you can also reinstall grub at the same time. There is no need to remove grub if you are going to reinstall it.



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

Second function key doesnt work on Backtrack 5 R2 Linux?

Q. I am using a sony vaio laptop, Y series VPCYB35AG. To adjust the brightens and volume. However this doesnt work on Backtrack linux 5 R2. So i think it is a driver that is missing. If so, where can i find one?

Also how does Kmix work, how do i play music with it?
If not what is the problem then?

A. 1. The controls for backlights vary . For most systems, you can try adding

Option "RegistryDwords" "EnableBrightnessControl=1"

to the Device section of your /etc/X11/xorg.conf file (create it if it doesn't exist).

2. KMix only controls the volume. It doesn't play music. Install / use a media player such as Amarok or Rhythmbox.

How do I boot Backtrack with VMware?
Q. I've downloaded Backtrack Linux, and I've set it up with VMware. When I go to boot it, I've tried it in text mode and safe mode, but I just get the message:
This kernel requires an x86-64 CPU, but only detected an i686 CPU. Unable to boot - please use a kernel appropriate for your CPU.
How can I fix this, or get it to boot?

A. The problem is that you have selected to download it as 64-bit. That's too much for the CPU to handle, so you must download 32-bit, when you're on the Backtrack website. I selected, Gnome, 32-bit, ISO, Direct- as my options. And then when I was setting it up, I used Linux OS, then, Other Linux 2.6.x kernel. This fixed everything.



PS, This is actually Flame Sword on another account. I figured out how to fix it, and I wanted to put the correct answer up here for other people to refer to. Thank you!

How to type password in BackTrack 4 Linux LOGIN?
Q. I burned Backtrack 4 Linux [Final Release] to a DVD and than i type "login" than enter "root" than I try to enter "toor" but here's the thing, NO KEY REGISTERS INTO IT [as in can't type anything in] I tried this on 2 different computers but same issue, what do i do?

A. you could also boot into linux at a 'lower level' (text only login) which should resolve also.

ctrl + alt then try numbers 1 - 7 until you get lower level. After logging in successfully, run 'startx'



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

Newer Posts Older Posts Home