Planet MySQL Planet MySQL: Meta Deutsch Español Français Italiano 日本語 Русский Português 中文
Showing entries 1 to 3

Displaying posts with tag: sysadmin advice (reset)

Advice from Gerry
+0 Vote Up -0Vote Down
one of my co-workers gave me some good advice.

Keep track of changes you make to your config files with rcs.

Go GNU.
Docbook XHTML generation with tidy, chapter the first
+0 Vote Up -0Vote Down
So I'm getting the new version of the MaxDB FAQ ready for production. We used Microsoft Word to create the document and manage corrections. And then I exported to HTML. Word did a terrific (note that the root word here is "terror") job of translating to HTML, and Tidy won't touch it unless I fix some issues manually.

So here I go.

Getting most recent build from cvs:

$ cd ~/src/
$ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/tidy login
$ cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/tidy co tidy


Building said code:

$ cd tidy/build/gmake
$ make

ld: archive: ../../lib/libtidy.a has no table of contents, add one with ranlib(1) (can't load from it)
make: *** [../../bin/tidy] Error 1

$ ranlib ../../lib/libtidy.a
$ make


Running code:

$ cd ../../bin
$ ./tidy -h
$ open














  [Read more...]
Installing sudo
+0 Vote Up -0Vote Down
To install sudo on a debian or ubuntu system with a bash shell (this is likely you if you're reading this), change to the root user thus:

$ su -


Now that you have a "#" shell, all commands you run will be privileged. You don't want this. Trust me. Instead, you want to run most commands as your usual user and only use privileged commands when you have no other choice. To do this, I recommend installing sudo.

# apt-get install sudo


When this program finishes installing, and you are again presented with a "#" shell, do the last thing you will ever do from that shell. In the following example, "<your username>" represents the username of your non-privileged user.

# echo '<your username>  ALL=(ALL) ALL' >> /etc/sudoers


If you substituted <your username> correctly, you











  [Read more...]
Showing entries 1 to 3

Planet MySQL © 1995, 2014, Oracle Corporation and/or its affiliates   Legal Policies | Your Privacy Rights | Terms of Use

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.