<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7014385</id><updated>2011-08-24T20:20:07.619-07:00</updated><title type='text'>New To Linux</title><subtitle type='html'>I started this Blog when i first installed LINUX, I knew nothing so this is a real hands on guide to linux, STEP BY STEP</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://linuxnew.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7014385/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://linuxnew.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Jordan</name><uri>http://www.blogger.com/profile/13911916073820521601</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='http://bus.8bit.co.uk/avatars/1_misc_avatars/matrix2.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>11</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7014385.post-109075348680209256</id><published>2004-07-25T04:04:00.000-07:00</published><updated>2004-07-26T14:14:22.776-07:00</updated><title type='text'>The first boot</title><content type='html'>So i just installed REDHAT linux for the third time, All looks fine. Ready to restart&lt;br /&gt;&lt;br /&gt;Once restarted i was presented with a welcome screen inviting me to setup an ordinary user (to protect me from abusing the root account, so i did, in addition to many things like the time zone and the sound card, once this was done i was logged in, i rebooted after logging in, and on the welcome screen it sais (welcome 35_unassigned.batelco.jo) so i log in with my root account to get the error message that tells me it cant verify hostname 35_unassigned.batelco.jo, advises me to add that to /etc/hosts...&lt;br /&gt;&lt;br /&gt;Well on my ADSL account, i can't add that to the hosts file, since i would be getting a new one every time i connect to the internet (dynamic IP and a new hostname every time)&lt;br /&gt;&lt;br /&gt;So, i tried everything (details next time i edit this), in short nothing seems to be the sollution --&gt; i still don't know it, i only found a workaround it so if you know the answer please add that as a comment to this article :)&lt;br /&gt;&lt;br /&gt;Anyway, as an act of despiration, i added hostname -v localhost to the file /etc/rc.d/rc.local ... everything is running fine&lt;br /&gt;&lt;br /&gt;The old problem disallowed me to run Apache and caused me several other problems, this work around is helping me fine :)&lt;br /&gt;&lt;br /&gt;Why to /etc/rc.d/rc.local is simple, it is the last to be executed from my initialization files, this means, whenever i got that 35_anassigned_batelco.jo this will reverse it to localhost&lt;br /&gt;&lt;br /&gt;Please note, i attempted everything from changing the machenes name to any other fix suggested on the internet, this is the only thing that works and it is not really a sollution.&lt;br /&gt;&lt;br /&gt;Ok, now that we have worked around the problem, lets get to the old business (the things i did sucessfully before) so we can get those out of the way too, then we can go on with our experiment....&lt;br /&gt;&lt;br /&gt;First i went for the RedHat Network Upgrade ( http://rhn.redhat.com/help/latest-up2date.pxt ) Very clear, Very easy, just follow the instructions there&lt;br /&gt;&lt;br /&gt;Since i have apache and PHP running (still not upgraded), I would like to upgrade MySQL so that i can start using it... I already did this sucessfully Before, &lt;a href="http://linuxnew.blogspot.com/2004/05/upgrading-mysql-that-ships-with-redhat.html"&gt;Here are the instructions&lt;/a&gt; NOTE: a friend of mine took the url to this post and then told me it don't work, so i showed up at his house since i want to see what is wrong with my post, to find out that he has downloaded the binary... This post shows you how to upgrade using the source code, with the binarys you will find a file with the instructions for the install...&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7014385-109075348680209256?l=linuxnew.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnew.blogspot.com/feeds/109075348680209256/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7014385&amp;postID=109075348680209256' title='30 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7014385/posts/default/109075348680209256'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7014385/posts/default/109075348680209256'/><link rel='alternate' type='text/html' href='http://linuxnew.blogspot.com/2004/07/first-boot.html' title='The first boot'/><author><name>Jordan</name><uri>http://www.blogger.com/profile/13911916073820521601</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='http://bus.8bit.co.uk/avatars/1_misc_avatars/matrix2.gif'/></author><thr:total>30</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7014385.post-108999567559224742</id><published>2004-07-16T09:00:00.000-07:00</published><updated>2004-07-16T09:49:36.506-07:00</updated><title type='text'>The Installation</title><content type='html'>As i said in the &lt;a href="http://linuxnew.blogspot.com/2004/07/previous-2-installs.html"&gt;(Previous 2 installs)&lt;/a&gt;  post, I installed linux twice (Meaning i used 3 different installs currently using install 3)....&lt;br /&gt;&lt;br /&gt;To be truthful, Nothing was wrong with the installations (Since i log what i do and that makes it easy to reverse), but for the sake of this BLOG i wanted to try to install in three different ways...&lt;br /&gt;&lt;br /&gt;The first time i had 2 hard disks on the machine, One Seagate and the other western digital, the first 20 GBs and the second 10 Gbs&lt;br /&gt;&lt;br /&gt;I had the 20 GBs partitioned into 2 partitions each 10 GBs&lt;br /&gt;&lt;br /&gt;--Note, if you have an old BIOS the boot partition for linux must be in the first 7 or 8 GBs of your hard drive, Most newer computers (P3+) have new bioses (and some P2s) so you should have no problems if your machine has new unlimited boot bios!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So i had a 10 GB partition NTFS with windows XP on it...&lt;br /&gt;The other 2 were not formatted !&lt;br /&gt;&lt;br /&gt;So i installed LINUX on the second 10 GB drive, and formatted the 10/20 GB partition on the first hard disk as FAT and put all the shared files (like MP3s and documents there) This way, The FAT32 partition is viewable to windows, and once mounted can be seen by linux (although support for FAT32 on linux is experimental) it worked READ only like a charm&lt;br /&gt;&lt;br /&gt;Why read only, well the FAT32 partition is not linux native, It has to be mounted, Unfortunately at that time i used to mount it as ROOT user and that made it inaccessible to other users in write mode by default, although i could write to it when logged in as root, i shouldn't be using the computer as root much :)&lt;br /&gt;&lt;br /&gt;So the trick is to mount it by the user ROOT (God Account) and then CHMOD the result as 777, We will see how we will do that later (coz i really don't know how yet, i only know it is possible)*&lt;br /&gt;&lt;br /&gt;That's more or less enough for the first install, i messed around with linux, changed a few files, learned how to use GRUB, found out about what applications are there, then messed everything up by playing with every CONFIG file and watching the results...&lt;br /&gt;&lt;br /&gt;Installation 1 was a week full of exploring...&lt;br /&gt;&lt;br /&gt;Then i took out the hard disk with LINUX, and installed linux in place of the second 10GB partition on the first disk (so i have a disk with linux and windows sharing the drive in half)&lt;br /&gt;&lt;br /&gt;This one worked excellent ! But then i was learning to Recompile my programs, reinstalling them and changing the BUILD every time, I upgraded the LAMP (Linux Apache MySQL and PHP) to the most recent versions, All upgrades went fine, except for one thing, Apache did not like PHP and stopped working unless i disable PHP in it) so we format for the clean final install !&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The third install i took the entire hard drive (20GBs) for LINUX and got windows out of the way....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So lets trace any installation of the above&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--First you insert the first CD into the drive, this CD is bootable..&lt;br /&gt;--The computer boots from the CD and asks you to press enter if you want to install in a GUI ! You do that, its for us newbies&lt;br /&gt;--Clicking NEXT for the following 3 screens&lt;br /&gt;--Select Custom Installation&lt;br /&gt;--Then Disk drude offered me to do the partitioning for me (selecting space for individual drives) so i said OK man thanx, ill take that....&lt;br /&gt;--Disk drude then asked me, if i would like to install linux on the drives unformatted space, or over any Linux partitions, Or over the entire drive ! Well, i said, Over all partitions (the entire drive)....&lt;br /&gt;--Then i have 2 options, What boot loader should i use, There is LILO (the older) and GRUB the newer, Which is better ? I advise you to GRUB...&lt;br /&gt;--Then i was asked how i wanted to connect to the internet, Ok this one is different, but i connect to another computer that connects to te internet, So i am connecting via DHCP (in windows it is share this connection with other computers from the connections properties)&lt;br /&gt;So i asked for that to be automatic as well...&lt;br /&gt;&lt;br /&gt;Asked me if i wanted a firewall, Well, i said no (if anyone is looking forward hack my MP3 oriented computer :)&lt;br /&gt;&lt;br /&gt;--The next question was, what language support do you want to add ? I said Arabic, you could pick German&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--Now the screen asks me for a password for the ROOT account (do not loose this when you set it, if you do loose it, it would be easier to reformat than to do anything about it)!&lt;br /&gt;&lt;br /&gt;--I see the components to install menu, Scrolled Down the custom installation components list, and clicked install everything (as you will find out, taking out is easier than putting in ! at least it is less time consuming... Anyway both are pretty easy&lt;br /&gt;&lt;br /&gt;Now all went fine till i was asked for my Monitor VGA driver, i found the closest to mine and it works great...&lt;br /&gt;&lt;br /&gt;Restarting, Click here to see what came after the restart ! Surprise&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7014385-108999567559224742?l=linuxnew.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnew.blogspot.com/feeds/108999567559224742/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7014385&amp;postID=108999567559224742' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7014385/posts/default/108999567559224742'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7014385/posts/default/108999567559224742'/><link rel='alternate' type='text/html' href='http://linuxnew.blogspot.com/2004/07/installation.html' title='The Installation'/><author><name>Jordan</name><uri>http://www.blogger.com/profile/13911916073820521601</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='http://bus.8bit.co.uk/avatars/1_misc_avatars/matrix2.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7014385.post-108999271615730282</id><published>2004-07-16T08:42:00.000-07:00</published><updated>2004-07-16T08:45:16.156-07:00</updated><title type='text'>The Previous 2 installs</title><content type='html'>At the time of running this i have installed LINUX 2 times, (i am now running the third install of the software)&lt;br /&gt;&lt;br /&gt;The first 2 times went OK, i learned the info i needed to make this BLOG for you, I understand though that you might still not have the experience i took from those 2 installs, And since i was blogging at that time (Probably deleted those posts by now and rewritten them on the new pages), i copied all the blogged content from the previous 2 installs and stated the problems i faced in the 2 installs.&lt;br /&gt;&lt;br /&gt;If you install RedHat 9 now and follow the guide step by step, you should have NO PROBLEM at all !&lt;br /&gt;&lt;br /&gt;Anyway, hardware maybe something that differs between my system and yours&lt;br /&gt;&lt;br /&gt;So the hardware to my machine (the one running LINUX RedHat 9) is as follows&lt;br /&gt;&lt;br /&gt;AMD 2200 PRO processor, on mercury motherboard with basically everything built in&lt;br /&gt;SIS VGA card (i chose the card from the list during setup to be SiS 6xxx) even though my card is &lt;br /&gt;My soundcard (also SiS automatically Detected)&lt;br /&gt;NOKIA 445Xpro 21' Monitor (automatically Probed By The anaconda installer (RedHat's installer)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7014385-108999271615730282?l=linuxnew.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnew.blogspot.com/feeds/108999271615730282/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7014385&amp;postID=108999271615730282' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7014385/posts/default/108999271615730282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7014385/posts/default/108999271615730282'/><link rel='alternate' type='text/html' href='http://linuxnew.blogspot.com/2004/07/previous-2-installs.html' title='The Previous 2 installs'/><author><name>Jordan</name><uri>http://www.blogger.com/profile/13911916073820521601</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='http://bus.8bit.co.uk/avatars/1_misc_avatars/matrix2.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7014385.post-108999248621751585</id><published>2004-07-16T08:40:00.000-07:00</published><updated>2004-07-16T08:41:44.230-07:00</updated><title type='text'>Introduction</title><content type='html'>Hello and welcome to Newbie To Linux&lt;br /&gt;&lt;br /&gt;Why did i move to LINUX ?&lt;br /&gt;&lt;br /&gt;Let me start introduce you to the idea of &lt;a href="http://www.linuxnew.com"&gt;linuxnew&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I am a PHP/MySQL developer, As you may well know, those are a scripting language and a database engine that work best with LINUX or *NIX.&lt;br /&gt;&lt;br /&gt;I also like the idea of administrating a system to the detail, you can do virtually anything with a *NIX system, (Check out the meaning of chroot jail !)&lt;br /&gt;&lt;br /&gt;Apache works better on linux, so do other important software i use...&lt;br /&gt;&lt;br /&gt;What was holding me back ? i needed MSN MESSENGER, MS office and a few more things, To my surprise, everything i needed from the windows world was already available in the LINUX world&lt;br /&gt;&lt;br /&gt;For example GAIM is a messenger that can run as many accounts as you need (simultaneously) from MSN to Yahoo to ICQ, through IRC, and many others, no matter how many accounts you have on each (for example i have 2 hotmail accounts now i can run them together)&lt;br /&gt;&lt;br /&gt;Open office enables you to do anything you usually do with MS office and save it in any format you like (including MS office) amazing&lt;br /&gt;&lt;br /&gt;DVD, CD BURNING, Video Capture, they all work on LINUX, everything was available, so i investigated LINUX a bit more, this is the OS for me !&lt;br /&gt;&lt;br /&gt;No crashing *(you can recover whatever problems you have with no need to restart)&lt;br /&gt;&lt;br /&gt;Total flexibility (there is a CONFIG file to tweak for whatever you need)&lt;br /&gt;&lt;br /&gt;I just had no doubt in my mind that LINUX is the operating system that i should master and use, it just fits my needs for free !&lt;br /&gt;&lt;br /&gt;&lt;b&gt;So what did i do ?&lt;/b&gt;&lt;br /&gt;First, since i like the idea of bogging, i decided to make my linux experience public by putting it on a BLOG...&lt;br /&gt;&lt;br /&gt;Now every newbie to linux can see how to start, what to do when Thing X happens...&lt;br /&gt;&lt;br /&gt;How to&lt;br /&gt;&lt;br /&gt;And learn from what i have learned about LINUX so far...&lt;br /&gt;&lt;br /&gt;This should really spare so much time for many people&lt;br /&gt;&lt;br /&gt;I got the RedHat linux 9 CDs (i also got fedora but wanted to stick to RedHat for the moment)&lt;br /&gt;Installed to a machine that already had windows and ran the 2 OSs together (you will see details next)&lt;br /&gt;Learned a few things...&lt;br /&gt;Messed a few things and reinstalled a couple of time&lt;br /&gt;Got the basic knowledge and installed LINUX alone (no need for windows anymore)&lt;br /&gt;Started fixing, upgrading and updating, and tailoring to my needs&lt;br /&gt;&lt;br /&gt;Want to help me ? Link to this BLOG ( http://linuxnew.blogspot.com )&lt;br /&gt;&lt;br /&gt;Ok, lets get started, &lt;a href="http://devstuff.netfirms.com/LINUX.htm"&gt;You can always move back to the index i setup on an external website that will navigate you back here&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7014385-108999248621751585?l=linuxnew.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnew.blogspot.com/feeds/108999248621751585/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7014385&amp;postID=108999248621751585' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7014385/posts/default/108999248621751585'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7014385/posts/default/108999248621751585'/><link rel='alternate' type='text/html' href='http://linuxnew.blogspot.com/2004/07/introduction.html' title='Introduction'/><author><name>Jordan</name><uri>http://www.blogger.com/profile/13911916073820521601</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='http://bus.8bit.co.uk/avatars/1_misc_avatars/matrix2.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7014385.post-108699677270810556</id><published>2004-06-11T16:26:00.000-07:00</published><updated>2004-06-11T16:32:52.706-07:00</updated><title type='text'>blog index</title><content type='html'>This is the BLOG ( linuxnew.blogspot.com ) site index.&lt;br /&gt;This blog is where i record everything i learn or see about linux, When i first started this blog it was my first installation of linux, and everything i did is recorded here step by step.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://linuxnew.blogspot.com/2004/05/new-to-linux.html"&gt;My first try&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;a href="http://linuxnew.blogspot.com/2004/05/finished-setting-up-mysql-and-apache.html"&gt;Upgrading the LAMP (Linux Apache MySQL PHP)&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;a href="http://linuxnew.blogspot.com/2004/05/failed-to-update-going-to-retry.html"&gt;Lamp UPGRADE Failed&lt;/a&gt;&lt;br&gt;&lt;br /&gt;&lt;a href="http://linuxnew.blogspot.com/2004/05/upgrading-mysql-that-ships-with-redhat.html"&gt;MySQL UpGrade&lt;/a&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7014385-108699677270810556?l=linuxnew.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnew.blogspot.com/feeds/108699677270810556/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7014385&amp;postID=108699677270810556' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7014385/posts/default/108699677270810556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7014385/posts/default/108699677270810556'/><link rel='alternate' type='text/html' href='http://linuxnew.blogspot.com/2004/06/blog-index.html' title='blog index'/><author><name>Jordan</name><uri>http://www.blogger.com/profile/13911916073820521601</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='http://bus.8bit.co.uk/avatars/1_misc_avatars/matrix2.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7014385.post-108577954164453730</id><published>2004-05-28T14:22:00.000-07:00</published><updated>2004-05-28T14:25:41.643-07:00</updated><title type='text'>update or upgrade apache and php for redhat linux</title><content type='html'>Ok, If you came here from a search engine directly to this page, You should note that i have failed the first attempt to update or upgrade apache and PHP and get them to work together, After formatting, Reinstalling RedHat 9, I am ready to roll again, I do and it works&lt;br /&gt;&lt;br /&gt;.......&lt;br /&gt;&lt;br /&gt;I will explain everything here so a nice guy like me wouldn't have to bear all the dependency and installation location trouble, We will compile and build right from the first time here, Unlike last time (i already did, im just posting what i did)&lt;br /&gt;&lt;br /&gt;........&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7014385-108577954164453730?l=linuxnew.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnew.blogspot.com/feeds/108577954164453730/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7014385&amp;postID=108577954164453730' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7014385/posts/default/108577954164453730'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7014385/posts/default/108577954164453730'/><link rel='alternate' type='text/html' href='http://linuxnew.blogspot.com/2004/05/update-or-upgrade-apache-and-php-for.html' title='update or upgrade apache and php for redhat linux'/><author><name>Jordan</name><uri>http://www.blogger.com/profile/13911916073820521601</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='http://bus.8bit.co.uk/avatars/1_misc_avatars/matrix2.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7014385.post-108572721339552136</id><published>2004-05-27T23:52:00.000-07:00</published><updated>2004-05-28T00:56:58.456-07:00</updated><title type='text'>Still a prepost</title><content type='html'>Have reinstalled rh9&lt;br /&gt;Just added 1 line MTU=1400&lt;br /&gt;&lt;br /&gt;Went to&lt;br /&gt;http://rhn.redhat.com/help/latest-up2date.pxt&lt;br /&gt;&lt;br /&gt;https://rhn.redhat.com/help/ssl_cert.pxt&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7014385-108572721339552136?l=linuxnew.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnew.blogspot.com/feeds/108572721339552136/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7014385&amp;postID=108572721339552136' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7014385/posts/default/108572721339552136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7014385/posts/default/108572721339552136'/><link rel='alternate' type='text/html' href='http://linuxnew.blogspot.com/2004/05/still-prepost.html' title='Still a prepost'/><author><name>Jordan</name><uri>http://www.blogger.com/profile/13911916073820521601</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='http://bus.8bit.co.uk/avatars/1_misc_avatars/matrix2.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7014385.post-108568203999826770</id><published>2004-05-27T11:10:00.000-07:00</published><updated>2004-05-27T13:06:40.080-07:00</updated><title type='text'>Upgrading MySQL that ships with redhat 9 to MySQL 4 (4020)</title><content type='html'>Ok, here it is...&lt;br /&gt;LEGEND: &lt;font color="#FF0000"&gt;&lt;b&gt;RED&lt;/b&gt;&lt;/font&gt; = COMMANDS , &lt;font color="#000080"&gt;&lt;b&gt;Navy Blue&lt;/b&gt;&lt;/font&gt; = Output, &lt;font color="#008000"&gt;&lt;b&gt; Green &lt;/b&gt;&lt;/font&gt; = Things you should change inside a command&lt;br /&gt;&lt;br /&gt;Ok, you might want to go get a cup of cofee before you start, But maybe you should delay that, When you compile the MySQL code, the process is going to take probably a bit longer than 15 minutes, you can delay the cofee till then&lt;br /&gt;&lt;br /&gt;I started the computer, Logged in as root ! Then i took the following steps&lt;br /&gt;&lt;br /&gt;NOTE: If you have just installed REDHAT 9, This should work without reading, all you need is to copy the red text and execute it on the terminal window line by line, You should then be done...&lt;br /&gt;&lt;br /&gt;Another NOTE: By The time you read this, I would have reinstalled REDHAT once again, and verified that it is step by step and correct... So our copy paste idea should work if you install RedHat FULLY and then come here to copy paste...&lt;br /&gt;&lt;br /&gt;A VERY imprtant note: Backup your entier DB before you start, This can be done simply by doing the following&lt;br /&gt;The line you see in red (command) might span 2 lines, it should copy normally and paste on one line, the directive --all-databases should include all your databases and all tables within them, in short this is more like a backup mysql till i install a new one&lt;br /&gt;&lt;br /&gt;Open a terminal Window...&lt;br /&gt;CD to the directory you want to store your backup file in&lt;br /&gt;issue the following command&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;mysqldump --opt -u YOURUSERNAME --password="YOURPASSWORD" --all-databases &gt; file.sql.bin &lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;Instructions on restoring this at the bottom of this post&lt;br /&gt;&lt;br /&gt;I dont know why it works when you add the .bin and lets you down when you have a very big DB and leave it .sql, either way, make sure the file is there and has all your databases (it should)&lt;br /&gt;&lt;br /&gt;I downloaded the new MySQL source code from http://dev.mysql.com/downloads/ to a /root/Installs/ directory, The curent version was 4.0.20 (4020)&lt;br /&gt;&lt;br /&gt;I unpacked the comressed package (MySQL Source) to a directory and then renamed it to mysql_src&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Then i started by opening a terminal window (in GNOME)&lt;br /&gt;&lt;br /&gt;Then navigated to the directory ( /root/Installs/mysql_src )&lt;br /&gt;&lt;br /&gt;i did the following to display packages that depend on each other and uninstall them as follows.&lt;br /&gt;&lt;br /&gt;First i ran&lt;br /&gt;&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;rpm -qa | grep -i mysql&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;This resulted in a list of MySQL related files&lt;br /&gt;&lt;br /&gt;&lt;font color="#000080"&gt;&lt;b&gt;mysql-devel-3.23.54a-11&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color="#000080"&gt;&lt;b&gt;perl-DBD-MySQL-2.1021-3 &lt;/b&gt;&lt;/font&gt; (this one depended on mysql-3.23.54a-11)&lt;br /&gt;&lt;font color="#000080"&gt;&lt;b&gt;libdbi-dbd-mysql-0.6.5-5&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;font color="#000080"&gt;&lt;b&gt;mysql-3.23.54a-11 &lt;/b&gt;&lt;/font&gt; (depended on mysql-server-3.23.54a-11 AND MyODBX-2.50.39.11)&lt;br /&gt;&lt;font color="#000080"&gt;&lt;b&gt;MySQL-python-0.9.1-6&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;font color="#000080"&gt;&lt;b&gt;qt-MySQL-3.1.1-6&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;font color="#000080"&gt;&lt;b&gt;mod-auth-mysql-1.11.12&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;----------------------&lt;br /&gt;&lt;br /&gt;Started uninstalling as follows&lt;br /&gt;&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;rpm -e mysql-devel-3.23.54a-11&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;rpm -e perl-DBD-MySQL-2.1021-3 &lt;/b&gt;&lt;/font&gt;(did not work, Needed to uninstall mysql-3.23.54a-11 first, But you go ahead, Skip this line or enter it, makes no difference, Just go step by step... This step did nothing and will be repeated forward in the text)&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;rpm -e libdbi-dbd-mysql-0.6.5-5&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;rpm -e mysql-3.23.54a-11 &lt;/b&gt;&lt;/font&gt;(Did not work as well, Will get back to it in a minute, Needed uninstall of qt-MySQL-3.1.1-6 and mod-auth-mysql-1.11.12 first)&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;rpm -e MySQL-python-0.9.1-6&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;rpm -e qt-MySQL-3.1.1-6&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;rpm -e mod-auth-mysql-1.11.12&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;So, we still have mysql-3.23.54a-11 and perl-DBD-MySQL-2.1021-3 to remove, The second needed the first to be removed and the first needed the following to be removed&lt;br /&gt;&lt;br /&gt;So lets take out&lt;br /&gt;&lt;font color="#000080"&gt;&lt;b&gt;mysql-server-3.23.54a-11&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;font color="#000080"&gt;&lt;b&gt;MyODBX-2.50.39.11&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;Than we can uninstall mysql-3.23.54a-11 &lt;br /&gt;&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;rpm -e mysql-server-3.23.54a-11&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;rpm -e MyODBX-2.50.39.11&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;Now lets takle the remaining 2 out&lt;br /&gt;&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;rpm -e mysql-3.23.54a-11 &lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;rpm -e perl-DBD-MySQL-2.1021-3&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;Ok, we shoule be done, We run &lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;rpm -qa | grep -i mysql&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;again and nothing appears, We are done Uninstalling our own MySQL&lt;br /&gt;&lt;hr&gt;&lt;br /&gt;&lt;br /&gt;Great, So we have the source code of MySQL, We have uninstalled our outdated database and ready to install the database, if you are like i was 2 days ago, you might think compiling and building the database is hard, it is not its a piece of cake, just copy and paste the following red parts, If you are more experienced and wish to configure the directives yourself, go ahead, i dont think it counts much, When you do, check that the ./configure finished successfully, if not tweak the directives, if you lose hope, just copy and paste out directives again, Nothing changes on your system untill you run the MAKE command...&lt;br /&gt;&lt;br /&gt;&lt;hr&gt;&lt;br /&gt;&lt;br /&gt;So now we need to make a usergroup called mysql and a user named mysql&lt;br /&gt;&lt;br /&gt;Add Group mysql&lt;br /&gt;&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;groupadd mysql&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;Add User mysql&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;useradd -g mysql -c "MySQL Server" -d /dev/null -s /sbin/nologin mysql&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;Ok, I am assuming you have Changed Directory to the directory where you have the source code (in this example /root/Installers/mysql_src&lt;br /&gt;&lt;br /&gt;The code you will see now has the directives i have chsen, To see your options you can execute the following&lt;br /&gt;&lt;br /&gt;NOTE: At this point i have restarted my computer and loged in as root again, I am not sure if this step in necessary, But if you want to do it, Please bookmark this page so you an carry on where you left.&lt;br /&gt;&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;./configure --help | less&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;Now with the direcives i have chose, it would look like this&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;&lt;br /&gt;chown -R root.root *&lt;br /&gt;&lt;br /&gt;./configure --prefix=/usr/local/mysql --localstatedir=/usr/local/mysql/data --disable-maintainer-mode --with-mysqld-user=mysql --with-unix-socket-path=/tmp/mysql.sock --without-comment --without-debug --without-bench&lt;br /&gt;&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;Then hit enter key (they will have spanned multiple lines but that is OK (actually it is why we have the \ at the end of each line :))&lt;br /&gt;&lt;br /&gt;This should take a few minutes, But the longer part is not this, it is yet to come (where you go get that cofee you wanted since the start)&lt;br /&gt;&lt;br /&gt;First, We run the make clean to get rid of any old fies from the old install, it should take a minute or two.&lt;br /&gt;&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;make clean&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;Now, You can run the next line and go get the cofee&lt;br /&gt;&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;make &amp;&amp; make install&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;You are neerly done, But still you have to configure MySQL for functional use and you have to restore that database you backed up at the start (if you did)&lt;br /&gt;&lt;br /&gt;1- Installing a database on the database engine (Should create the data directory and tables for privilages and the default users&lt;br /&gt;&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;./scripts/mysql_install_db&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;Now there are a few nice instructions on that, You should take note of them, eventhough we will include them here...&lt;br /&gt;&lt;br /&gt;Now we need to move the ownership of the newly installed MySQL directories to the new owner mysql&lt;br /&gt;&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;chown -R root:mysql  /usr/local/mysql&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;chown -R mysql:mysql /usr/local/mysql/data&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;Now you should chose what kind of setup you need based on one factor, How large is the database this database engine is going to run ?&lt;br /&gt;&lt;br /&gt;small, medium, large, OR huge&lt;br /&gt;&lt;br /&gt;then you should copy one of the files - my-medium.cnf , my-small.cnf , my-large.cnf , my-huge.cnf to /etc/my.cnf&lt;br /&gt;&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;cp support-files/&lt;/font&gt;&lt;font color="#008000"&gt;my-medium.cnf&lt;/font&gt;&lt;font color="#FF0000"&gt; /etc/my.cnf&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;chown root:sys /etc/my.cnf&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;chmod 644 /etc/my.cnf&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;If you get an error message about the data directory missing&lt;br /&gt;something has probably went wrong in the mysql_install_db step above. &lt;br /&gt;Go back and review it, If in fact this is the case, Do that step ALONE again&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now lets load some settings into MySQL&lt;br /&gt;&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;echo "/usr/local/mysql/lib/mysql" &gt;&gt; /etc/ld.so.conf&lt;br /&gt;ldconfig&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now, we need MySQL Loaded whenever we reboot&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;&lt;br /&gt;cp ./support-files/mysql.server /etc/rc.d/init.d/mysql&lt;br /&gt;chmod +x /etc/rc.d/init.d/mysql&lt;br /&gt;/sbin/chkconfig --level 3 mysql on&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now, to make it runnable from anywhere on the command prompt&lt;br /&gt;&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;cd /usr/local/mysql/bin&lt;br /&gt;for file in *; do ln -s /usr/local/mysql/bin/$file /usr/local/sbin/$file; done&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;now, Lets RUN MySQL (your nearly there)&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;cd ~&lt;br /&gt;/etc/rc.d/rc3.d/S90mysql start&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now, we need to change the password for the root account, We also need to drop that root account that requiers no password (for security)&lt;br /&gt;&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;mysqladmin -u root password &lt;/font&gt;&lt;font color="#008000"&gt;YOURNEWPASSWORD&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;mysql -u root -p&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;mysql&gt; &lt;font color="#FF0000"&gt;&lt;b&gt;drop database test;&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;mysql&gt; &lt;font color="#FF0000"&gt;&lt;b&gt;use mysql;&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;mysql&gt; &lt;font color="#FF0000"&gt;&lt;b&gt;delete from db;&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;mysql&gt; &lt;font color="#FF0000"&gt;&lt;b&gt;delete from user where not (host="localhost" and user="root");&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;mysql&gt; &lt;font color="#FF0000"&gt;&lt;b&gt;flush privileges;&lt;/b&gt;&lt;/font&gt;&lt;br /&gt;&lt;hr&gt;&lt;br /&gt;&lt;br /&gt;Now to quit (mysql) and return to shell ($), Type \q at the mysql prompt.&lt;br /&gt;&lt;br /&gt;Now to restoring the database...&lt;br /&gt;&lt;br /&gt;&lt;font color="#FF0000"&gt;&lt;b&gt;mysql -u root --password="&lt;/b&gt;&lt;/font&gt;&lt;font color="#008000"&gt;YOURPASSWORD&lt;/b&gt;&lt;/font&gt;&lt;font color="#FF0000"&gt;" &lt; &lt;/b&gt;&lt;/font&gt;&lt;font color="#008000"&gt;/path/to/xxx.sql.bin &lt;/b&gt;&lt;/font&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7014385-108568203999826770?l=linuxnew.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnew.blogspot.com/feeds/108568203999826770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7014385&amp;postID=108568203999826770' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7014385/posts/default/108568203999826770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7014385/posts/default/108568203999826770'/><link rel='alternate' type='text/html' href='http://linuxnew.blogspot.com/2004/05/upgrading-mysql-that-ships-with-redhat.html' title='Upgrading MySQL that ships with redhat 9 to MySQL 4 (4020)'/><author><name>Jordan</name><uri>http://www.blogger.com/profile/13911916073820521601</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='http://bus.8bit.co.uk/avatars/1_misc_avatars/matrix2.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7014385.post-108568143261552901</id><published>2004-05-27T11:01:00.000-07:00</published><updated>2004-05-28T14:28:07.363-07:00</updated><title type='text'>Failed to update, Going to retry</title><content type='html'>Ok, so it has been too good to be true so far, Something wrong just had to happen...&lt;br /&gt;&lt;br /&gt;The main reason why i need a Linux Box Installed (besides learning and getting something free) was to setup a LAMP (Linux Apache MySQL PhP), so my installation of readhat 9 included PHP 4.2.2, MySQL, And Apache 4&lt;br /&gt;&lt;br /&gt;Now what i had to do is Upgrade the installs, I needed PHP 4.3.6, MySQL 4.0.x and Apache 2.0.49...&lt;br /&gt;&lt;br /&gt;So, i decided to start with &lt;a href="http://linuxnew.blogspot.com/2004/05/upgrading-mysql-that-ships-with-redhat.html"&gt;Updating MySQL&lt;/a&gt; and it all went marvoulosly fine ( Since this is a sucess i will post it alone and link to it &lt;a href="http://linuxnew.blogspot.com/2004/05/upgrading-mysql-that-ships-with-redhat.html"&gt;here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Maybe i should also mention that i did a couple of stupid things while installing MySQL that resulted in errors like "can't connect to local server through socket /temp/mysql.sock" and other things, I fixed those, Understood why they happened and posted &lt;a href="http://linuxnew.blogspot.com/2004/05/upgrading-mysql-that-ships-with-redhat.html"&gt;the right way to upgrade or update mysql&lt;/a&gt;, And then after Reinstalling RedHat 9, I used &lt;a href="http://linuxnew.blogspot.com/2004/05/upgrading-mysql-that-ships-with-redhat.html"&gt;my own step by step guide to updating MySQL&lt;/a&gt; and it works flawlessly&lt;br /&gt;&lt;br /&gt;Then the apache install also went fine, But something had to go wrong (HINT: PHP wouldnt work with apache :( !&lt;br /&gt;&lt;br /&gt;I already overcome my problems, so if you want to get right to the issue (&lt;a href="http://linuxnew.blogspot.com/2004/05/update-or-upgrade-apache-and-php-for.html"&gt;how to install PHP and APACHE over the version that comes with redhat 9 click here&lt;/a&gt;)&lt;br /&gt;&lt;br /&gt;And since i am doing this for learning reasons, i need to know what went wrong, what was the right way to do it and how to fix it, I will mention what went wrong here in detail and how i fixed it, Then i FORMATED the computer, Clean installed RedHat Linux 9 and did it again, Let me show you a bit about the details...&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7014385-108568143261552901?l=linuxnew.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnew.blogspot.com/feeds/108568143261552901/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7014385&amp;postID=108568143261552901' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7014385/posts/default/108568143261552901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7014385/posts/default/108568143261552901'/><link rel='alternate' type='text/html' href='http://linuxnew.blogspot.com/2004/05/failed-to-update-going-to-retry.html' title='Failed to update, Going to retry'/><author><name>Jordan</name><uri>http://www.blogger.com/profile/13911916073820521601</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='http://bus.8bit.co.uk/avatars/1_misc_avatars/matrix2.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7014385.post-108491114277459548</id><published>2004-05-18T12:39:00.000-07:00</published><updated>2004-05-19T10:56:04.726-07:00</updated><title type='text'>Finished setting up MySQL and APACHE</title><content type='html'>Ok, i have already got RedHat9 installed and connected to the internet (DHCP through windows 2000)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://linuxnew.blogspot.com/2004/05/new-to-linux.html" target="_blank"&gt;how to setup linux (Same for many but i used RedHat 9) to get internet access from a windows 2000 (windows2k) via ICS ( DHCP )&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now i had to setup APACHE 2 and MySQL on the new linux machene, Worked like a charm on the first time :)&lt;br /&gt;&lt;br /&gt;All you have to do to start apache is run the command httpd (you will find a RUN area in the red hat or start here menu...)&lt;br /&gt;Ok i am donw with apache, For my sql i have to build a table of database users and there privilages, you can do that by issuing the command mysql_install_db in terminal window...&lt;br /&gt;&lt;br /&gt;When done it will remind you of a few things&lt;br /&gt;&lt;br /&gt;First: Change your MySQL ROOT password&lt;br /&gt;/usr/bin/mysqladmin -u root  password 'new-password'&lt;br /&gt;Since rot initially has no password you don't enter a password, The only thing you should change above is 'new-password with 'Your-Password', And leave the ' ' in place....&lt;br /&gt;Then it tells you how to start the MySQL Daemon (The MySQL engine)&lt;br /&gt;&lt;br /&gt;You can start the MySQL daemon with:&lt;br /&gt;cd /usr ; /usr/bin/safe_mysqld &amp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;All i had to do to run the command '/usr/bin/safe_mysqld' &amp; after building the database of privilages (by running the command mysql_install_db)&lt;br /&gt;&lt;br /&gt;Chmod everything in the mysql directory to 777&lt;br /&gt;&lt;br /&gt;Ok, we have both PHP and MySQL Running, But we want them to run at boot time&lt;br /&gt;&lt;br /&gt;So all we need to do is add those 2 lines to the file /etc/rc.d/rc.local , This file is the last file that your linux will run for initialization....&lt;br /&gt;I found this line in there&lt;br /&gt;touch /var/lock/subsys/local&lt;br /&gt;And i added 2 more lines like this&lt;br /&gt;----&lt;br /&gt;httpd&lt;br /&gt;/usr/bin/safe_mysqld&lt;br /&gt;----&lt;br /&gt;Now to see if it is working, I reboot and Yes, both APACHE and MySQL are running, PHP is already setup, php.ini and httpd.conf need some fixing, but i can do that later ! Everything is working fine&lt;br /&gt;&lt;br /&gt;Ok, all is fine, APACHE working, PHP on apache is working, Now i need to import my files from the server&lt;br /&gt;&lt;br /&gt;Ok, i found the application, Its a browser that uses SAMBA i think, I just clicked the red hat and it says NETWORK SERVERS, You open the browser and it gives you one icon (WORKGROUP) Thats the name of my network, i open that and i see the machenes on the network !!&lt;br /&gt;&lt;br /&gt;I double click my Windows machene, Prompts for username and password, I enter same as my windows login, and ok i have everything i need, copy paste to the /var/www/html directory, I feel so at home with linux now, doing everything i needed&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I will post all the applications i found out about (that are also free and i had to pay for back in windows, For example i have found a nice FTP client called gFTP that works like WS_FTP (allot better in my oppinion) and its free....&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;WOOOOOOHOOOOOOO&lt;br /&gt;&lt;br /&gt;I have evetything ready for a new LINUX FREE BASED LIFE&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7014385-108491114277459548?l=linuxnew.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnew.blogspot.com/feeds/108491114277459548/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7014385&amp;postID=108491114277459548' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7014385/posts/default/108491114277459548'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7014385/posts/default/108491114277459548'/><link rel='alternate' type='text/html' href='http://linuxnew.blogspot.com/2004/05/finished-setting-up-mysql-and-apache.html' title='Finished setting up MySQL and APACHE'/><author><name>Jordan</name><uri>http://www.blogger.com/profile/13911916073820521601</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='http://bus.8bit.co.uk/avatars/1_misc_avatars/matrix2.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7014385.post-108478271320030057</id><published>2004-05-17T00:56:00.000-07:00</published><updated>2004-05-17T01:38:14.713-07:00</updated><title type='text'>New to linux</title><content type='html'>Ok, i intent to write all the articles strait to the point in this BLOG&lt;br /&gt;&lt;br /&gt;The idea : I have never used linux before, i am totally new to this operating system, i have to learn allot about it, and im starting to like it), Im sure there are many people just like me who can save time by reading from this blog.&lt;br /&gt;&lt;br /&gt;So, i installed linux last night, And have it connected to the internet !&lt;br /&gt;&lt;br /&gt;Setup: My brother's compute (connected directly to the internet) is a windows 2000 station, all other computers on the network are windows XP (My sister, dad, mom, other sis), except for mine now, it is running REDHAT 9...&lt;br /&gt;&lt;br /&gt;I thought about fedora but it needed a download, and i might consider it when core 2 is released (i have learned all this new cool stuff today), i chose redhat 9 because there is allot of info and help on it everywhere on the internet&lt;br /&gt;&lt;br /&gt;Ok, lets get to the real thing...&lt;br /&gt;&lt;br /&gt;1- Installation, I simply booted from the first RedHat CD, it asked me some easy questions like what password do you want for root (root is the top administrator) then what exactly will this computer be (the options were something like server, workstation, firewall, or something like that) so i chose custom and then scrolled down and chose install everything, Since i have heard it is much easier to uninstall than install !&lt;br /&gt;&lt;br /&gt;--&lt;a href="http://www.coool.us/index.php" target="_blank"&gt;CoOoL&lt;/a&gt; i am using mozilla and i just hit a button that asked me to save a screen shot, Il find out what that button was in a minute since it seems so usefull-- Neat stuff&lt;br /&gt;--Found it, its the print screen button---&lt;br /&gt;&lt;br /&gt;Install finished, I have had no problems up to now, i started linux then setup went on askng me to create a USER since logging in with root for daily use is not such a good idea....&lt;br /&gt;&lt;br /&gt;i created a username, then logged in with root (since there are changes i have to make), opened the mozilla web browser (Mozilla is the original netscape, AOL takes its netscape code from mozilla), then tried to open a website, it didn't work, it halts at sending the request&lt;br /&gt;&lt;br /&gt;So lets see whats wrong, My brother is using ICS (internet connection sharing)on his computer, Thats DHCP client, i should obtain the IP automatically and just lke in windows (where i define MTU in the registry&lt;br /&gt;&lt;br /&gt;--The checkup, I want to check if i am on the network, I open Nautilus and find WORKGROUP in there, i open that and i see all computers around me, i can access them all and copy files from them, Ok my ethernet card is working fine and i am on the network&lt;br /&gt;&lt;br /&gt;-- I open the file /etc/sysconfig/network-scripts/ifcfg-eth0 (eth0 seems to be my ethernet cards name) and it has the following in it -Seems it is already setup for DHCP those are the contents&lt;br /&gt;&lt;br /&gt;DEVICE=eth0&lt;br /&gt;BOOTPROTO=dhcp&lt;br /&gt;ONBOOT=yes&lt;br /&gt;&lt;br /&gt;Now i add the line&lt;br /&gt;MTU=1400&lt;br /&gt;Still does not work ! even after restarting the network (you can restart the computer if you like but there should only be such a need in linux if you rebuild the kernel)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;So what now ? i am going to leave hat MTU there since it looks correct&lt;br /&gt;&lt;br /&gt;So lets try to access a website by IP address ! For example lets go to &lt;a href="http://www.info2device.com/index.php" target="_blank"&gt;http://207.36.196.245/info2device.com/&lt;/a&gt;&lt;br /&gt;It worx ! but if i go to http://www.info2device.com it does not !&lt;br /&gt;&lt;br /&gt;Looks to me like something is wrong with my DNS !&lt;br /&gt;&lt;br /&gt;I go to the Hat (lke start in windows), System Settings, Network....&lt;br /&gt;I see ETH0 (my ethernet card), And a tab with DNS !&lt;br /&gt;&lt;br /&gt;Ok i think i know where the problem is !&lt;br /&gt;So lets set the nameservers to some nameservers i know&lt;br /&gt;I set the first to 216.219.239.7&lt;br /&gt;And second to 216.219.239.8&lt;br /&gt;&lt;br /&gt;Those are the nameservers for valuwer (ns1.primarydns.com and ns2.primarydns.com), Ok i plan to chane those soon when i find out how the system works, for now lets keep them this way, I restart the network, open the web browser (first mozilla than konqueror), Okay everything seems to be working fine...&lt;br /&gt;&lt;br /&gt;I point my browser to blooger.com and im making this blog&lt;br /&gt;&lt;br /&gt;Ok i restarted my computer, i check the file /etc/sysconfig/network-scripts/ifcfg-eth0 and i find new stuff in there, &lt;br /&gt;&lt;br /&gt;DEVICE=eth0&lt;br /&gt;BOOTPROTO=dhcp&lt;br /&gt;ONBOOT=yes&lt;br /&gt;MTU=1400&lt;br /&gt;USERCTL=no&lt;br /&gt;PEERDNS=no&lt;br /&gt;TYPE=Ethernet&lt;br /&gt;&lt;br /&gt;Sounds to me like the DNS  ! Ok, it is cool, as long as it works...&lt;br /&gt;&lt;br /&gt;Now i need to setup apache and MySQL and a bunch of things more, I will get to you when i finish and tell you all about my adventure with that ! For now, localhost works if i run the command httpd (yes just the wotd httpd), But it runs with its own config file, i will have to fix everything and il be posting again in a few hours.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7014385-108478271320030057?l=linuxnew.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://linuxnew.blogspot.com/feeds/108478271320030057/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7014385&amp;postID=108478271320030057' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7014385/posts/default/108478271320030057'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7014385/posts/default/108478271320030057'/><link rel='alternate' type='text/html' href='http://linuxnew.blogspot.com/2004/05/new-to-linux.html' title='New to linux'/><author><name>Jordan</name><uri>http://www.blogger.com/profile/13911916073820521601</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='17' src='http://bus.8bit.co.uk/avatars/1_misc_avatars/matrix2.gif'/></author><thr:total>0</thr:total></entry></feed>
