-
Posts
2898 -
Joined
-
Last visited
-
Days Won
1
Content Type
Profiles
Forums
Events
Posts posted by Cannonfodder
-
-
What happens if you do a
urpmi.update -a
?
Does all update correctly? Seems strange that one rpm would cause problems. Do you have sun java already installed?
rpm -qa | grep java
-
What would float my boat is a suitcase with 2 million bucks in it :)
-
There were a couple threads. Do a google for hostname and you will find the one I learned from. You must be the phillipines :)
-
Another way to backtrack in this situation would have been to open a command-line and type
lilo -U
or
lilo -u /dev/hde9
It should restore the prior MBR to its previous state.
You got lilo because you installed it. Where you install it doesn't change the fact that the MBR has to point to it. (I believe) :roll:
Just out of curiousity, Why do you use a boot manager to point to a boot manager (lilo)? Is there an advantage to using boot magic other than you are used to it? I ask because a year or so ago when I got into linux, I had System Commander which helped me boot multi-os systems and partition my hard drive graphically.
However, once I got into linux, I would have similar issues with lilo taking over. I would reinstall System Commander and be able to boot to lilo. But then I started losing everything on my one and only hard drive. It was because System Commander didn't understand linux extended partition table entries. I kept rendering my partition table useless until I figured out what was going on. Eventually I bought a second drive.
Unless there is a something that lilo can't do for you or your linux installation is temporary, I feel that the extra boot manager simply complicates things and often introduces fatal errors :)
-
You can also extract them in a command-line terminal.
bunzip2 whatever.tar.bz2
What I did was make a file called myalias.sh and put various alias's to uncompress commands in it. I can never remember the arguments for uncompressing .tar.gz, .tar.bz2, or whatnot.
Here's what it looks like..
#uncompress alias targz='tar xzf ' alias tarbz='tar xjf ' alias tgz='tar -zxvf ' alias bz2='bunzip2 ' alias untar='tar xf ' #compress function maketar() { tar -cvf $*.tar $*; gzip $*.tar;echo 'Created tar.gz'; }So to uncompress this file, I would have typed
bz2 whatever.tar.bz2
To uncompress a tar.gz file, I would type
targz whatever.tar.gz.
It's easy to remember. If you do this, you need to store the file in your /etc/profile.d directory and also type
chmod +x myalias.sh
When ever you open a commandline console, they will be available. You can really define any number of aliases and shortcuts. I have one
alias k='clear;ls -a1 | more'
clears the screen and gives me a directory listing..
-
-
Browse: [About the FAQ Forum] [Table of Contents] [FAQs] [Contribute] [NT: Networking]
NT-05: How to permanently set the hostname with MCC
After setting up my network board, my hostname is DHCP-something. I want a customized hostname. The hostname command is not permanent. How do I customize my hostname using the Mandrake Control Panel?
You have a cable modem or some type of internet connection where your DHCP address is automatically assigned. Mandrake, by default, will assign a hostname similar to the MAC address of your NIC board. Typing
hostname mybox.home.com
will change your hostname temporarily until you reboot. If you would rather have a permanent custom hostname, see below.
1.Run the Mandrake Control Center. Open a command-line console and type mcc. Or look for it in your menu. You will need to type your root password to use this.
2. In the left panel, Click on Network & Internet.
3. In the right panel, Click on the first option, DrakConnect.
4. In order to make changes, you will need to make sure your network connection is not active. Click the Disconnect button if necessary.
5. To start the configuration, click the Wizard button.
6. On this screen, there are two checkboxs that need to be checked. They are
Use Auto Detection
Expert Mode checkboxs.
Check these and then click Next.
7. This screen will list all possible network connection methods. Click only the ones that apply to you. You will have to configure each method you click. If you have a cable modem for example, you only need to click the Cable Modem option. If you are on a LANS, then the LANS option. When ready, click Next.
8. In this screen, make sure you click dhcp-client. Click Next until you see a screen containing a column of checkboxs.
9. In this screen,
Enter your DHCP host name. This is a name that you can customize. E.g. mybox.home.com. This is not your ISP service provider.
Uncheck "Assign host name from DHCP address".
When ready, click Next.
10. In this screen,
Enter the zeroconf hostname. Using the example before, this might be mybox.
Enter your hostname as typed before.
When ready, click Next.
11. Click Next repeatedly until you reach the last screen. Then click Finish. If any of the screens need additional setups, set them up.
Leaving the wizard, you will be asked to restart your network. Do so and after you exit the wizard, restart your internet by click on the Connect button.
Good luck and enjoy your new hostname!
-
Thought you guys may be interested in this.. I just wrote it up.. If you see any goofs or have more info, let me know

http://www.mandrakeusers.org/viewtopic.php...5082&highlight=
-
Browse: [About the FAQ Forum] [Table of Contents] [FAQs] [Contribute] [BL: Bootloaders]
BL-02: Will LILO boot a second Linux Distribution?
I would like to install a second Linux distribution in addition to my current distribution. How do I setup the LILO boot manager to boot either distribution?
Why do this? Perhaps you want to experiment with a new distribution of Linux? Or perhaps you have Mandrake Linux installed and want to beta-test a new version without replacing your old version.
Some rules to consider while reading this FAQ :)
1. Regardless of the number of distributions you have installed, only one distribution is pointed to by the Master Boot Record (MBR) and that distribution contains the setup for LILO.
2. Each distribution has a /boot directory in its root partition. The /boot directory contains all the resources LILO needs to boot into that distribution.
3. LILO requires each distribution's root partition to be mounted from the standpoint of the distribution controlling LILO. It does not matter where it is mounted, it simply must be available so LILO can access each distribution's boot directory.
Before continuing, decide on which distribution will control LILO. Boot into this distribution and su to root. In the example below, the first distribution is Mandrake 9.0. MDK 9.1 will be controlling LILO.
1. Create a mount point for MDK 9.0. E.g. /mnt/MDK90.
2. Edit your /etc/fstab file and add an entry that mounts the the partition containing your first distribution's root partition. Save and quit.
3. In a command-line console, type
mount -a
This will mount your recent changes to the /etc/fstab file. Go to/mnt/MDK90. You should be able to view your MDK 9.0 root partition files.
4. Locate the file /mnt/MDK90/etc/lilo.conf. List or edit the file. Get a copy of the entry related to your MDK 9.0.
5. Edit the file /etc/lilo.conf and paste the copied entry into the bottom of the file.
6. Modify the entry. You need to update the vmlinuz and initrd.img lines to point to /mnt/MDK90/boot/. In the example below, you will see an entry for MDK 90, MDK 91, and for good measure, Windows.
image=/boot/vmlinuz label=Mandrake91 root=/dev/hdb8 initrd=/boot/initrd.img append="devfs=mount hdc=ide-scsi hdd=ide-scsi acpi=off" read-only ]image=/mnt/MDK90//boot/vmlinuz label=Mandrake90 root=/dev/hdb5 initrd=/mnt/MDK91//boot/initrd.img append="devfs=mount hdc=ide-scsi hdd=ide-scsi" read-only other=/dev/hda1 label=windows table=/dev/hda
Save and quit.
7. At the command-line prompt, type
lilo
Each OS from your lilo.conf file should be listed in the output. Keep an eye out for any errors. Do not reboot if you find errors, figure out the problem first. Remember, in order for this step to work, /mnt/MDK90 must be mounted.
8. Reboot and test your new setup.
This process may be applied for any number of Linux distributions. Enjoy :)
-
You guys are absolutely right, once I saved my ms document as an Office text doc, it saved all the features and in XML. Thanks for the pointers 8)
-
I just had the same problem yesterday :) What you need to do is go to each view folder and uncheck "Mark Matching Messages as Read". Then your unread folder will be correct.
-
You put it in there so that it runs on startup. Popfile is a proxy server. In order to receive your email, it has to be there. I see perl popfile.pl but not the script. It may be due to where you placed the script. I put mine in /etc/init.d. Here is how I setup my system though, maybe there will be a clue..
********************
POPFILE script. I didn't write this, found it in the popfile forum where an user submitted it. I made some minor changes to better use the variables. Note the installation instructions in the script. Follow those instructions.
********************
/etc/init.d/popfile*
#!/bin/bash # popfile This shell script takes care of starting and stopping # the POPFile spam filter. # # chkconfig: # description: POPFile - POPFile is an email classification system that # has a Naive Bayes text classifier and a POP3 proxy. It works # with any mail client using POP3. # pidfile: /var/run/popfile.pid # config: /var/local/popfile/popfile.cfg # ### # Installation instructions (to install this startup script): # 1) mv init.d-popfile.sh /etc/init.d/popfile # 2) chown root:root /etc/init.d/popfile # 3) chmod 755 /etc/init.d/popfile # 4) ln -s /etc/init.d/popfile /etc/rc3.d/S99popfile # 5) ln -s /etc/init.d/popfile /etc/rc5.d/S99popfile # 6) ln -s /etc/init.d/popfile /etc/rc0.d/K99popfile ### ### # Configuration Section # # Change the line below to reflect the location of popfile.pl popfilelocation=/usr/share/popfile/popfile.pl # End of config section. ### PATH=/usr/bin:/sbin:/bin:/usr/sbin export PATH # Source function library. . /etc/rc.d/init.d/functions # Source networking configuration. . /etc/sysconfig/network # Check that networking is up. [ ${NETWORKING} = "no" ] && exit 0 # Check that the program is present [ -f $popfilelocation ] && POPFILE=popfile [ -z "$POPFILE" ] && exit 0 # Set the ${prog} and ${dir} variables. prog=`/bin/basename $popfilelocation` dir=`/usr/bin/dirname $popfilelocation` # Check if the popfile conf file is present [ -f $dir'/popfile.cfg' ] || exit 0 # Constants used herein. POPFILE_SHUTDOWN_TIMEOUT=100 ### # Functions condrestart() { [ -e /var/lock/subsys/$POPFILE ] && restart || : } probe() { return 0 } restart() { stop start } start() { echo -n $"Starting $prog: " cd $dir perl ./$prog > /dev/null 2>&1 & RETVAL=$? if [ $RETVAL -eq 0 ] then pid=`ps -ef | grep "perl ./popfile.pl" | gawk '{print $2}'` echo $pid > /var/run/$POPFILE.pid touch /var/lock/subsys/$POPFILE echo_success else echo_failure fi echo return $RETVAL } stop() { echo -n $"Stopping $prog: " pid=`ps -ef | grep "perl ./popfile.pl" | gawk '{print $2}'` if [ -f /var/lock/subsys/$POPFILE -a -n "$pid" ] then kill $pid timeout=0 while :; do STATUS=`ps -ef | grep "$pid" | grep -v grep | wc | gawk '{print $1}'` if [ $STATUS -eq 0 ] then rm -f /var/lock/subsys/$POPFILE echo_success RETVAL=0 break else if [ $timeout -ge $POPFILE_SHUTDOWN_TIMEOUT ] then echo_failure RETVAL=1 break fi sleep 2 && echo -n "." timeout=$((timeout+2)) fi done else echo "Nothing to stop" RETVAL=1 fi echo return $RETVAL } # End of Functions. ### ### # Main() # case "$1" in condrestart) condrestart ;; restart) restart ;; start) start ;; stop) stop ;; *) echo $"Usage: $0 {start|stop|restart|condrestart}" exit 1 ;; esac exit 0I also created an alias and stored this in my /etc/profile.d/mryanalias.sh file
alias pop='/etc/init.d/popfile'
So now I can easly stop/start the service with
pop start
pop stop
*WHOOPIE!* :roll:
I think you just need to follow the install instructions and everything will start to work.
-
partimage is good for backingup an image/ghost of a partition. Not really for an incremental or partial backup.. Gotta figure out what you want to backup..
You can do a full image backup with partimage, burn them to CD's (if its worth it). This creates a single compressed file per partition.
Then backup your
/etc
/home
/root
in an incremental backup using drakbackup, mondo or mindi..
-
That's right, basically what is happening is that php is a scripting language for browsers. If you put it in that directory and you have your apache server setup, then you can access it with
and it will run whatever is in the file.
-
These are all the php and mysql files I have installed now..
libphp_common430-430-11mdk
php-mysql-4.3.0-2mdk
apache2-mod_php-2.0.44_4.3.1-2mdk
phpMyAdmin-2.4.0-1mdk
php-manual-en-4.3.0-2mdk
libmysql12-4.0.11a-5mdk
What are you trying to install (product) and what is the name of the file?
PS you can get a list of packages you have installed..
rpm -qa | grep php
rpm -qa | grep mysql
-
Have you tried opening as a text file to see what you can see? Use your favorite editor or vi..
-
Just to explain this further...
The iso file is a "snapshot" of a CD that someone made. They took the contents of the CD and saved them into a single file with an .iso extension. Kinda like a .zip but without the compression.
You goal here is to translate that .iso image back into a normal CD. Your CD software probably has an option for specically loading and burning an iso file. It is not a create a new cd and drag the iso file into it.
In NERO, I click on File and select Burn Image.
-
Using opera 7.1 TP5 for email and usenet. Mostly because its in my fav browser and is crossplatform. But the M2 email client still needs a lot of work. Interesting thing about it is how it goes about filing emails. They all go in one mbox and M2 allows you to create "views" where you setup conditions for what you want to see in the view. Deleting the view does not delete the emails. It's virtual. Don't know if I am going to stay with it though. If I don't I'll go with Sylpheed-claws.
-
I used OpenOffice to open my resume and make some changes, but it insists that it will not be able to save all the features. All I have in there is bullets and paragraph borders, nothing fancy. I think this is because OO saves in RTF..
-
The /usr/src tipped me off. Glad it works ;)
-
What kind of backup? An exact copy or an incremental backup?
-
Only thing I can recall offhand is someone suggesting you set it up as a cdrom and tell the software that its a dvd. I know that probably won't help but its just something I read somewhere either here or in alt.os.linux.mandrake. There's a thread going on there on DVD's, might want to read..
-
You might simply need to install the kernel sources..
If I do a
rpm -qa | grep kernel
I get..
kernel-source-2.4.21-0.13mdk
kernel-2.4.21.0.11mdk-1-1mdk
kernel-2.4.21.0.13mdk-1-1mdk
You can tell I have 2 kernels installed and one kernel source. The kernel source must match the kernel you are using.. Just make sure any kernel source you download matches your current kernel. I was using 11, and downloaded sources for 13 and had to go back and upgrade to kernel 13.
urpmi kernel-source
will get yoiu the sources..
-
I recently did an install of Mac OS X on a G3. It has a partitioning tool. Usually with pre OS X, you boot off the CD and use a disk tool to do your partitioning. I've made several partitions but have never installed linux... I would go find a mac forum for this question..
Here's a few that I used..
http://www.macnet2.com/phpBB/index.php
http://forums.osxfaq.com/index.php
:)

New Opera 7.11 Beta 2 for Linux release
in Everything Linux
Posted
This is a better link..
http://www.opera.com/download/?ver=7.11%20beta%202