Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,160
» Latest member: Kimlongtech
» Forum threads: 4,028
» Forum posts: 16,403

Full Statistics

Online Users
There are currently 373 online users.
» 0 Member(s) | 371 Guest(s)
Bing, Yandex

Latest Threads
clear logs in smoothwall
Forum: Security and Firewalls
Last Post: amanda63
2024-03-10, 03:27 PM
» Replies: 8
» Views: 31,487
I cannot install RedHat 8...
Forum: Redhat
Last Post: hybrid
2023-11-11, 01:01 PM
» Replies: 1
» Views: 727
How things are done, usin...
Forum: Xorg Problems
Last Post: ross
2023-09-04, 09:03 AM
» Replies: 0
» Views: 684
Im back.....
Forum: Hello
Last Post: anyweb
2021-01-17, 11:36 AM
» Replies: 1
» Views: 3,527
add mp3 plugin to xmms in...
Forum: Fedora
Last Post: anyweb
2021-01-17, 11:30 AM
» Replies: 11
» Views: 36,595
Configuring VSFTPd Server
Forum: FTP Server
Last Post: Johnbaca
2020-10-14, 10:25 AM
» Replies: 32
» Views: 67,080
Wolf won't play sound!
Forum: Game Problems
Last Post: Guest
2020-10-03, 05:51 PM
» Replies: 1
» Views: 15,598
Using git + python
Forum: How Do I?
Last Post: Clueless puppy
2020-08-21, 04:37 PM
» Replies: 0
» Views: 6,441
what does your nick mean ...
Forum: Hello
Last Post: volt
2020-08-06, 03:25 PM
» Replies: 28
» Views: 32,348
CentOS vs.?
Forum: Just Starting Linux
Last Post: volt
2020-08-06, 02:29 PM
» Replies: 0
» Views: 6,147

 
  How to install Microsoft TTF Fonts in Red Hat
Posted by: anyweb - 2003-12-11, 05:51 PM - Forum: Tips and Tricks - Replies (7)


First things first, why would you want to install these fonts ?

 

Well, the default fonts provided with Red Hat just don't look as 'smooth' and 'clean' as those standard Microsoft TrueType Fonts (especially if you ZOOM into them). This is my own humble opinion of course, but users of Open Office who like to print documents, or just read them clearly on screen will know what I mean.

 

Ok, I assume that you have access to a Windows machine, if so, copy the TTF fonts from the /fonts directory on your Windows Machine (usually c:\windows\fonts) to a cd or local or network based directory that you can access.

 

Once you re finished copying the TTF fonts from the Windows machine, we'll start adding them to our Red Hat Linux box.

 

First lets create a directory in our 'home' user path, so that we can access the fonts.

 

Login as normal user (you probably already are, if you are reading this - don't surf as root ;-)) and open a console.

 

type this:-

 

mkdir ~/.fonts

 

This instruction might look a bit odd so i'll explain it.

 

mkdir creates a new folder called 'fonts'

~/ points the directory location to your home user path (for example /home/anyweb)

'.' (dot without the ' marks) makes the directory hidden from view.

 

Let's copy those fonts now:-

 

[anyweb@c-76aa70d5 anyweb]$ cp /home/anyweb/download/ttf/Microsoft\ TTF\ Fonts/*.ttf /home/anyweb/.fonts

[anyweb@c-76aa70d5 anyweb]$

 

and lets check that they are indeed copied :)

cd ~/.fonts

ls

 

[anyweb@c-76aa70d5 .fonts]$ ls

arialbd.ttf courbd.ttf l_10646.ttf

tahomabd.ttf trebuc.ttf arialbi.ttf

courbi.ttf micross.ttf tahoma.ttf

verdanab.ttf ariali.ttf couri.ttf

palabi.ttf timesbd.ttf verdanai.ttf

arial.ttf georgiai.ttf palab.ttf

timesi.ttf verdana.ttf ariblk.ttf

georgia.ttf palai.ttf times.ttf

verdanaz.ttf comicbd.ttf georgiaz.ttf

pala.ttf trebucbd.ttf webdings.ttf

comic.ttf impact.ttf symbol.ttf

trebucbi.ttf wingding.ttf

 

Yup we have them now, and in the right place, ok lets add them to Open Office.

 

login as root by typing su - in a console and then type

 

oopadmin

 

click on the Fonts button

click Add

click on the ... button and browse to the folder where the fonts are stored (in my case it's /home/anyweb/.fonts)

click Select and you'll be presented with lots of lovely TTF fonts.

 

Finally, click Select All and then click OK.

 

If you are lucky it should say '32 new fonts added'. Test it out by firing up Open Office and selecting your new TTF fonts :)

Print this item

  First Post
Posted by: kZo - 2003-12-11, 05:15 PM - Forum: General - Replies (2)

I got the First post. :)

Print this item

  How to update Mozilla 1.2.1 in Red Hat Linux 9
Posted by: anyweb - 2003-12-11, 05:12 PM - Forum: Web Browsers - Replies (1)


The version of Mozilla shipped in Red Hat 9 is Mozilla 1.2.1.

Since then, some newer versions have arrived, and if you'd like to install the latest version (at the time of writing this it's 1.5 which is alpha, but we'll use the 'stable' version).

 

To start with, get on over to [/url][url=http://www.mozilla.org]http://www.mozilla.org and download the latest rpm's, or actually, the latest fully packaged installer, for Version 1.4 you need this:-

 

mozilla 1.4.tar.gz

 

Once you have downloaded it, you'll need to decompress the file.

 

 

Open a console and type this:-

 

tar zxvf moz*.tar.gz

 

-z processes the gunzip portion of the file,

-x extracts,

-v is for verbose (so we see messages) and

-f is for local file (or something like that ;-))

 

heres my output:-

 

[anyweb@c-72aa70d5 mozilla]$ tar -zxvf mozilla-i686-pc-linux-gnu-1.4-sea.tar.gz

mozilla-installer/

mozilla-installer/xpi/

mozilla-installer/xpi/xpcom.xpi

mozilla-installer/xpi/browser.xpi

mozilla-installer/xpi/psm.xpi

mozilla-installer/xpi/mail.xpi

mozilla-installer/xpi/chatzilla.xpi

mozilla-installer/xpi/talkback.xpi

mozilla-installer/xpi/deflenus.xpi

mozilla-installer/xpi/langenus.xpi

mozilla-installer/xpi/regus.xpi

mozilla-installer/xpi/venkman.xpi

mozilla-installer/xpi/inspector.xpi

mozilla-installer/mozilla-installer

mozilla-installer/mozilla-installer-bin

mozilla-installer/installer.ini

mozilla-installer/README

mozilla-installer/MPL-1.1.txt

mozilla-installer/config.ini

[anyweb@c-72aa70d5 mozilla]$

 

Now that we have it all unpackaged and decompressed, lets install it.

 

Login as root by typing su -

Now change directory (cd) to the path you decompressed the tar file to, in my case it was /home/anyweb/rpms/mozilla

 

[root@c-72aa70d5 root]# cd /home/anyweb/rpms/mozilla/

 

The installer is in the /mozilla-installer folder so lets cd to that and get going

 

[root@c-72aa70d5 mozilla]# cd mozilla-installer/

 

To 'run' the installer we use a ./ command to tell linux to 'run' a file.

 

[root@c-72aa70d5 mozilla-installer]# ./mozilla-installer

 

click next and choose your type of install, i chose complete (2nd option).

 

Thats it!. Once done lets test it (it should auto-start, if not lets start it)

 

type cd /usr/local/mozilla (thats where it wants to install by default)

 

then type ./mozilla

 

that should bring it up, click on help/about and it should say Mozilla version 1.4

Print this item

  How to setup WINE in Redhat 8/9/Fedora
Posted by: anyweb - 2003-12-11, 05:08 PM - Forum: Wine - Replies (17)


my original wine guide (with screenshots) is here

 

[/url]http://anyweb.kicks-ass.net/computers/os/l...wine/index.html

 

----------------------------------------------------------------------

 

 

To install Wine for Red Hat 9 or Fedora Core Release 1/2 choose a link below corresponding to your CPU/Processor type and download the appropriate rpm from SourceForge:-

 

 

 

Pentium 4

 

Other Pentiums

 

Athlon

 

Please note that a full list of available WINE downloads and up to date rpms is located right here http://prdownloads.sourceforge.net/wine

 

 

ok to make this easier for y'all (lazy and uninformed ;-) ) check this list below (it's reasonably current) and match your DISTRO VERSION with the corresponding RPM.

in other words, if you are using FEDORA then do not try to install an RPM for SUSE, it won't work.

 

 

 

SUSE

-------

 

SUSE 9.1 professional

 

http://prdownloads.sourceforge.net/wine/wi...inux91.i586.rpm

 

SUSE 9.0

 

http://prdownloads.sourceforge.net/wine/wi...inux90.i586.rpm

 

SUSE 8.2

 

http://prdownloads.sourceforge.net/wine/wi...inux82.i586.rpm

 

SUSE 8.1

 

http://prdownloads.sourceforge.net/wine/wi...inux81.i586.rpm

 

REDHAT

-----------

 

REDHAT ENTREPRISE 3

 

http://prdownloads.sourceforge.net/wine/wi...winehq.i386.rpm

 

REDHAT 9

 

http://prdownloads.sourceforge.net/wine/wi...winehq.i386.rpm

 

REDHAT 8

 

http://prdownloads.sourceforge.net/wine/wi...winehq.i386.rpm

 

REDHAT 7.3

 

http://prdownloads.sourceforge.net/wine/wi...winehq.i386.rpm

 

 

 

FEDORA CORE RELEASE x

------------------------------------

 

FEDORA CORE RELEASE 3

 

http://prdownloads.sourceforge.net/wine/wi...winehq.i386.rpm

 

FEDORA CORE RELEASE 2

 

http://prdownloads.sourceforge.net/wine/wi...winehq.i386.rpm

 

FEDORA CORE RELEASE 1

 

[url=http://prdownloads.sourceforge.net/wine/wi...winehq.i386.rpm]http://prdownloads.sourceforge.net/wine/wi...winehq.i386.rpm

 

Once you have downloaded your rpm, open a console and login as root change to the directory that you downloaded the rpm file to, and then do:-

 

rpm -ivh wine*

 

The output should look something like this:-

 

[root@c-52aa70d5 rpms]# rpm -ivh wine*

Preparing... ########################################### [100%]

1:wine ########################################### [100%]

[root@c-52aa70d5 rpms]#

 

 

Provided you didn't get any dependancy errors, you have now got wine installed so let's test it.

 

Go and download mIRC (that's a Windows Program).

 

When you have downloaded it, LOGOUT as root and LOGIN as a normal user (for example anyweb or whoever you are) and go to (cd) the directory you downloaded the mIRC executable to, and type as follows:-

 

wine mirc603.exe

 

This command tells wine to 'run' a windows 'program'.

 

After a lot (an awful lot :-)) of scrolling in the console (and it can take a few minutes) you could be lucky like me and see the mIRC installtion setup screen. Continue with the install by clicking on next... and next and so on and please ignore any non-fatal errors relating to 'desktop icons'.

 

Once done, you should now have mIRC working (or whatever windows application you were testing). In this example we assume that we have installed it successfully so we are going to search for the application (mirc.exe).

 

We do know that mIRC ends up as an executable called 'mirc.exe' however we cannot search for it yet, we need to update the file system database. As root, open a console and type

 

updatedb

 

It will take some minutes. Once done, type

 

locate mirc.exe

 

This is the result i got:-

 

[anyweb@c-52aa70d5]$ locate mirc.exe

/home/anyweb/.wine/c/Program Files/mIRC/mirc.exe

[anyweb@c-52aa70d5]$

 

 

Now that we know where mirc.exe is, we can cd (change directory) to the mIRC folder now and run mIRC by typing:-

 

cd /home/anyweb/.wine/c/Program Files/mIRC/

 

and then wine mirc.exe

Print this item

  Fetchmail / Sendmail
Posted by: kZo - 2003-12-11, 05:06 PM - Forum: Network Problems - No Replies


Setting:

 

Redhat 7.3 Linux Email Server

Runs Fetchmail to pickup mail at "$foobar.com"

Email resideds at $foobar.com, and is a catchall account

 

Whenever someone sends email to xxx@$foobar.com by the way of a (BCC) Blind Carbon Copy, fetchmail cannot ready the BCC and so when it pulls it into the email server. However since BCC isn't supported with Fetchamil, Sendmail cannot process the email to the right mailbox. Causing a minor problem.

 

Anyone with any suggestions?

Print this item

  Anyweb's new forum
Posted by: hatebred - 2003-12-11, 05:04 PM - Forum: General Chat - Replies (3)


this is pretty cool anyweb. very clean and it works (imangine that). keep up the good work. i've never used a forum but seeing as how this one belongs to you i just might be able to find a reason to check it out everyday.

 

o_O

Print this item

  How to read NTFS partitions in 5 minutes or less
Posted by: anyweb - 2003-12-11, 05:02 PM - Forum: Filesystem Management - Replies (9)


How to enable NTFS read support in Red Hat Linux 8/9/Fedora Core Release 1/2/3.

 

NTFS partitions can be read and even written to in Linux, but by default in Red Hat, it's not included for legal reasons. I do not recommend write support unless you don't care about your data.

 

Windows NT/2000/XP/2k3 Server all use NTFS so using this howto will allow you to mount shares on a dual boot system.

 

Quote:To installl NTFS read support in Red Hat 9 (or 8.0) or Fedora Core release 1/2/3 do this:- First go here (click on the link)

 

[/url][url=http://www.linux-ntfs.org/]http://www.linux-ntfs.org/

 

You must match your kernel version with the NTFS rpm download in the tables listed on the link above.

 

For example, if your kernel version is 2.4.20-18.9 then download the corresponding rpm.
 

To find out what your kernel version is open a console and login as su -

 

then type

 



Code:
uname -a




The console should display something like this

 

Quote:root@c-1daa70d5 root]# uname -a 2.4.20-18.9
 

That's your kernel version. If you have a Pentium 4 then download the i686 version, if its a Pentium 3, go for I586 and so on.

 

Once downloaded do as follows:

 

Login as root and type

 



Code:
rpm -ivh kernel-ntfs-version.cpu.rpm




 

Obviously, in the example above, kernel-ntfs-version.cpu.rpm must match your downloaded rpm otherwise it will not work. Look at how it appears below when i installed the rpm.

 

Quote:[root@c-1daa70d5 rpms]# rpm -ivh kernel-ntfs-2.4.20-9.i686.rpm Preparing...

########################################### [100%] 1:kernel-ntfs ########################################### [100%]

[root@c-1daa70d5 rpms]#
Thats it, now you have read access to NTFS partitions, now its time to mount a those partitions.

 

 

Open a console and as root type

 



Code:
fdisk -l




 

to list the partitions on your linux/windows system.

 

the output should look something like this:-

 

Quote:Disk /dev/hda: 40.0 GB, 40007761920 bytes 255 heads, 63 sectors/track, 4864 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes 

Device Boot Start End Blocks Id System

 

/dev/hda1 * 1 1360 10924168+ c Win95 FAT32 (LBA)

/dev/hda2 1361 4863 28137847+ f Win95 Ext'd (LBA)

/dev/hda5 1361 3059 13647186 7 HPFS/NTFS

/dev/hda6 3060 3077 144553+ 83 Linux

/dev/hda7 3078 4776 13647186 83 Linux

/dev/hda8 4777 4863 698796 82 Linux swap
 

The fdisk -l command (that's as lowercase L as in list) we did above tells us that Windows XP in this case, is on /dev/hda5. We now have enough info to start mounting it.

 

Now you must create a directory that will hold the windows XP 'mount point'.

 

To do that type

 

 



Code:
mkdir /home/anyweb/winXP




or similar. It will be read/write as root but thats sufficient for this TIP. Once you have created the directory, now is time to mount it, so as root type the following:-

 



Code:
mount -t ntfs /dev/hda5 /home/anyweb/winXP




The two important parts above are

 

/dev/hda5

 

which we identified with fdisk -l and

 

/home/anyweb/winXP

 

which is simply a directory that we created to 'hold' the winXP mount.

 

to let NON root users have access to your NTFS mnt, add a line similar to the following (change to suit your mount setup) to /etc/fstab

 



Code:
/dev/hda5 /home/anyweb/winXP ntfs ro,umask=000 0 0




 

 

once done, lets 'submit' those changes to /etc/fstab

 



Code:
mount -a




 

cheers

 

anyweb

Print this item

  How to mount a FAT32 parition (Windows 98)
Posted by: anyweb - 2003-12-11, 04:59 PM - Forum: Filesystem Management - Replies (1)


I assume you have some sort of dualboot already setup, i'm not going into that here, but in my examples below i have a triple boot win98/winxp/red hat 9 linux system.

 

Open a console and as root type

 

fdisk -l

 

to list the partitions on your linux/windows system.

 

the output should look something like this:-

 

Disk /dev/hda: 40.0 GB, 40007761920 bytes 255 heads, 63 sectors/track, 4864 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes

 

Device Boot Start End Blocks Id System

 

/dev/hda1 * 1 1360 10924168+ c Win95 FAT32 (LBA)

/dev/hda2 1361 4863 28137847+ f Win95 Ext'd (LBA)

/dev/hda5 1361 3059 13647186 7 HPFS/NTFS

/dev/hda6 3060 3077 144553+ 83 Linux

/dev/hda7 3078 4776 13647186 83 Linux

/dev/hda8 4777 4863 698796 82 Linux swap

 

 

The fdisk -l command (that's as lowercase L as in list) we did above tells us that Windows 98 in this case, is on /dev/hda1, don't worry that it refers to it as Win95 thats not important. We now have enough info to start mounting it.

 

Now you must create a directory that will hold the windows 98 'mount point'.

 

To do that type

 

 

mkdir /home/anyweb/win98

 

or similar. It will be read/write as root but thats sufficient for this TIP. Once you have created the directory, now is time to mount it, so as root type the following:-

 

mount -t vfat /dev/hda1 /home/anyweb/win98

 

The two important parts above are

 

/dev/hda1

 

which we identified with fdisk -l and

 

/home/anyweb/win98

 

which is simply a directory that we created to 'hold' the win98 mount.

That's it we are all done, now as root you can read/write to that share (partition or hard disc) with ease. Use chown to change your rights so a normal user can access it if you wish.

Print this item

  Anywebs "DONATION LINK"
Posted by: kZo - 2003-12-11, 04:59 PM - Forum: General Chat - Replies (8)

You know, I think there should be a donation box for linux-noob.com. Anyweb, make one soon please. o_O

Print this item

  To installl Fluxbox in Red Hat 9 (or 8.0) do this:
Posted by: anyweb - 2003-12-11, 04:57 PM - Forum: Fluxbox - No Replies


I've installed fluxbox (http://www.fluxbox.org) in Red Hat 9 and Red Hat 8.0 and for those of you who haven't tried it yet perhaps now is the time :)

 

If you want to install Fluxbox in Fedora then read this instead

 

Fluxbox is perfect for those with old video cards... and new video cards too ;)

 

To installl Fluxbox in Red Hat 9 (or 8.0) do this:-

First go here (click on the link)

 

[/url][url=http://prdownloads.sourceforge.net/fluxbox...x-0.1.14.tar.gz]http://prdownloads.sourceforge.net/fluxbox...x-0.1.14.tar.gz

 

Once you are done, gunzip it and then untar it to some local folder.

 

cd to the folder you have untar'd it in and do this:-

 

./configure

 

then login as su and do

 

make

 

then

 

make install

 

Now you probably want to add fluxbox to the 'session' part of your login screen in Red Hat 9.

 

To do that, login as su and do:-

 

cd /etc/X11/gdm/Sessions

cp GNOME Fluxbox

vi Fluxbox

 

Leave the first line alone and change the second line so that it now just reads

 

exec fluxbox

 

save by doing

:w

:q

 

Logout of Gnome (or whatever) and now, at the graphical login screen click on 'sessions' you'll see Fluxbox listed there alongside Gnome/Kde etc...

Print this item