PDA

View Full Version : Slightly off-topic Linux questions


wharris
11-30-2000, 04:07 PM
Just updgraded to Linux-Mandrake 7.2. What a difference! Was actually able to configure my DSL connection. Also managed to get Apache/PHP/MySQL working. Well, sort of . . . the includes aren't working. I could see shucking Microsoft entirely at some point, but there are a few things I miss . . .

Does anyone know of a Linux html editor roughly equivalent to Homesite. Only thing I saw scouring Freshmeat etc. was a bloated WYSWYG editor from IBM that looked to be a Front Page wannabe.

In a similar vein, is there any console that lets you copy and paste MySQL code into the command lines a la NetTerm?

Dabbling in Apache/PHP/MySQL, by the way, has given me a newfound appreciation of the technical prowess here at FutureQuest.

Wayne[nbsp]

barrrt
11-30-2000, 11:41 PM
Hi Wayne,

I just upgraded to 7.2 myself :-) I am not having any problems with includes. You might wanna take a look at your php.ini, I think it's somwhere under /etc/ (I am booted into windows right now, don't remember exact location).

I know what you mean. I was actually surprised not to find a good html editor when I moved my home development to linux. So, I learned vim. Now I even use gvim instead of FrontPage on my Windows PC at work :-) Give it a try, it may work for you as well.

I'd like to answer your other question, but I don't think I am understanding it :-)

Good luck with linux,
Bart
:-)

wharris
12-01-2000, 12:54 PM
Thanks for the suggestion on using gvim, Barrrt. I will give that a try. Regarding PHP . . . an include problem apparently was listed by the developers as a bug in the first release of 4.0. So I updated to the latest Apache and PHP using Mandrake's Softwhere Update feature - and now Apache is refusing all connections. Looks like the daemon now isn't loading on bootup. When stuff like this happens, it always feels like my IQ has dropped about 40 points. I was feeling pretty ****ed smart yesterday. But at least it will give me something to do this weekend.:)

To clarify my question about a Linux console . . . the Windows terminal NetTerm has a copy-and-paste feature, which is very helpful when creating tables or complex queries to MySQL. You can construct, double-check and edit the query in Homesite or any text processor and then paste it in its entirety into NetTerm's command line. Haven't seen anything comparable in a Linux console.

Regards,
Wayne[nbsp]

barrrt
12-01-2000, 02:57 PM
Wayne,

You should be able to copy-paste with the mouse between most apps under X. This includes console apps, as long as GPM deamon is running (it is by default with mandrake, but to make sure, just move your mouse when you're in shell not under X - you should see a rectangular mouse cursor).

The copy-paste works slightly differently than in Windows. Just highlight what you want to copy, switch to another Window, then press middle mouse button to paste. If your mouse only has 2 buttons and you've set your mouse to emulate the 3rd, pressing left and right at once will have the same effect. In short there is no need for ctrl-c, ctrl-v or going to Edit menu, when available.

Bart

Arthur
12-01-2000, 03:00 PM
In Linux you can copy and paste text by selecting the text you want and then clicking the middle mouse button to paste the text where you want it. In an X-term window this is standard and on the standard text console you need GPM active (it usually is).
If you only have two buttons on your mouse, I think you need to click both, but I'm not sure. If you have a wheel on your mouse that should act the same as a normal button if you click it.

Hope that answers your question.

Arthur

Arthur

I see Bart just beat me to the answer
:)
[This message has been edited by arthur (edited 12-01-00@2:05 pm)]

wharris
12-01-2000, 03:10 PM
Thank you, Bart and Arthur. I could have used Linux for a thousand years and not have figured that out.

Wayne

barrrt
12-01-2000, 05:36 PM
Or you could have just looked at the source code ,-)

j/k

Bart
:-)


[This message has been edited by barrrt (edited 12-01-00@4:37 pm)]

wharris
12-03-2000, 12:43 AM
Just ran across a what looks to be a very nice html editor for Linux/K Desktop. Turned up in the Linux-Mandrake software updates. Called Quanta. Very nice interface and suprisingly fully featured. No extended replace, but some features, like the Quick Start and email anchor, I like better than Homesite - and I like Homesite a lot. Info and download at quanta.sorceforge.net.

Cheers,
Wayne

barrrt
12-04-2000, 01:11 AM
Thanks Wayne. I looked at the feature list and the screen shots and it looks pretty good. I am gonna have to install it and see how it is :-)

Bart

YFS200
12-04-2000, 01:14 AM
When upgrading, use RPMs as much as you can.[nbsp][nbsp]RH 6.0 has a handy util called GnoRPM.
RPMs take all the stress out of upgrading and installing programs.[nbsp][nbsp]Upgraded Apache last week with a RPM I found at http://www.rpmfind.net . Downloaded the RPM, told GnoRPM to upgrade using this RPM, and in a few seconds, the updated Apache was installed. I restated httpd, and all was well. Never had to reboot.

Also look at VMware. Really handy for running other OS inside Linix. I am tiping this on Opera for Linix, and running a Win98 session for my email, and have another Dos session running an old dos modem program calling locations with my modem. Also playing MP3s right now too. :)

YFS200
[nbsp][nbsp]

reeljustice
12-04-2000, 04:34 AM
Jumped in on this one a little late.[nbsp][nbsp]I installed 7.2 on my laptop last weekend only to find I had one of those confounded Winmodems.[nbsp][nbsp]Haven't had time to try to get the Lucent Kernel to try to get the modem working.[nbsp][nbsp]

As I am a complete Linux newbie, I don't even know how to use the Drak to get the rpm from a floppy or CD.[nbsp][nbsp]

Another thing, when I installed, I was able to see the files on my Windows partition.[nbsp][nbsp]Since that first time, I haven't been able to see them.[nbsp][nbsp]I think they were in the shared directory.[nbsp][nbsp]Any insight here?[nbsp][nbsp]Could I download the Lucent fix while in windows, see the file in Linux in the shared directory???? and drag the file over into another directory in the linux partition?[nbsp][nbsp]Am I completely off base?

Thanks for any help you can give.[nbsp][nbsp]I have to agree, Linux does look pretty good.

Joel

wharris
12-04-2000, 10:36 AM
Discovered what my problem with the Apache update was - there was a required module, mod_ssl (security breach fix), that I hadn't installed. The Mandrake Software Update list prints alphabetically, so mod_ssl was way far down the list from the core Apache update. Works great now. Now if I can just figure out Apache's config syntax for .htaccess . . . keep getting "Forbidden" messages instead of the invitation to supply user name and password.

Appreciate all the help I've gotten here.

Cheers,
Wayne

barrrt
12-04-2000, 04:47 PM
Joel,

RPMs are easy to install. You can use gnorpm or rpmdrake under X - but you have to be logged in as root. One way to do this is to log in using your regular id, go to X, start a shell, type 'su' command, and type in root password. From this shell now you can start any X program as root.

You can also install from command line, by using:
rpm -ivh filename.rpm

to see what rpms are installed on your system do:
rpm -qa

to see, for example, what rpms that contain word 'php' are installed, do:
rpm -qa | grep *php*

and so on... :-)

On Mandrake, by default, your windows partitions are directories under /mnt/ directory. You can type 'cat /etc/fstab' to see your filesystem mount points. Depending on your setup, they may not be visible by user other than root. You might want to read up a bit on file permissions. Also, familiarizing yourself with program called linuxconf will help. Think of it as equivalent to windows' control panel (more or less).

Bart
:-)

PS. Terra, can we get linux message board? ,-)

Justin
12-04-2000, 05:24 PM
RPMs take all the stress out of upgrading and installing programs. Ha! I've tried, on and off, for the last 3 weeks to get KDE 2.0 installed. They have binary RPMs for RH 6.0 (what I'm running). Each one fails, stating that they require lib-something-or-other.2-1.44, so I do another search, find that RPM, find that it requires yet more packages/libraries/tools, lather, rinse, repeat...

I of course give up after installing/upgrading a few things that some of the required libraries require... at the moment, I'm still on 1.1, dying to play with Konquer et al in 2.0...

------------------
Justin Nelson
FutureQuest (http://www.FutureQuest.net/index.php) Support

barrrt
12-04-2000, 07:59 PM
Justin,

This may be a recepie for disaster <grin>, but you might have better luck if you first remove KDE 1.1 and all packages that depend on it.

I was running Mandrake 7.1 and trying to upgrade to KDE 2.0 with rpms from 7.2. It was as messy as what you describe. I was just about to do the above, but realized it may be faster to do the old backup/install/restore. And now I am running 7.2.

Bart
:-)