Help installing slackware and software

Status
Not open for further replies.

digitaloracle

Daemon Poster
Messages
725
I have purchased a new server (or at least an siny new 160 gig drive for my current server), and I am installing slackware on it. Trouble is, the only linux I have thus far installed is the very easy mandrake (with their graphical installer, etc) so, slack might present a bit more of a challenge. As I write this, I am formating the largest partition on the drive (140 gigs), but are there any pitfalls I need to watch out for?

Some specific things that pretty much must be done during the install (and I want to ensure that I know when to do them):
1.) MUST have an SSH server (preferably openSSH)
2.) Preferably have MYSQL installed
3.) MUST have gcc and all required libraries to compile apache, php, and anything else I might want

I also want to install samba, does anyone have any experience with that?

And of course any other hints that are helpful would be greatly apreciated. I wanted to start with a very basic sy6stem, and add services as I need them, not start with everythign and the kitchen sink and try and figure out how to uninstall them.
 
http://www.slackware.com/faq/
http://www.slackware.com/config/
http://www.slackware.com/info/
http://www.slackware.com/install/

all the software you want is available with slackware in both source and precompiled binaries

also included with the source are build files for compiling the sources along with any needed patches--------something slackware tries to avoid is patches, Patrick Volkerding believes in keeping slack as clean as possible

installpkg and removepkg installs or removes packages in tgz format, use pkgtool to get to the setup menu afer an install
 
I believe I have most of that stuff on my install, and I simply installed everything on the disk.
 
I have linux installed and running, but have some questions:
1.)I formatted my big data partition in linux, and did a check for bad blocks. The line that repoted this (the progrma was mkfs) read like this

Checking for bad blocks (ready-only test): 469

Does this mean that there wer 469 bad blocks on my brand new HD? Is this a problem, should I be concerned about it?

2.) How do I have linux start programs on boot? For example mysql, apache, etc? (I told the installer to start msql at boot, but I got a message saying that it was stopped just before I logged on.
 
mysql needs configured first and a simple database generated

apache can be selected to start the same way mysql is as can most of the servers, run pkgtoolas root and then select configuration I think, then svcs to run at boot

anything else can be added to /etc/rc.d/rc.local to run at boot

have no clue about your hard drive
 
Need some more help:

Horndue, I do not have pkgtools, at least not a a regestered command (I can't just ype it in, is it in a directory somewhere hidden?)

First, I still have no idea what that message during the format means, but I got it again on a second run through the format (after I did a destructive test with badblocks (which returns NOTHING when I run it)

Second, how do I configure mysql? I can't even find the mysql daemon (I see mysql_safe, but not mysqld). Where are the all the mysql files?

Third, I do not have a /etc/init.d. Is this bad? should I have it on Slackware 10.2?

Fourth, how do I mount file systems at boot? do I just add the command to rc.local? (ie append mount /dev/hda3 /hda3 to the file)?
 
For Slackware to use pkgtools you have to have a pre-compiled Slackware package.

To install it, cd to it's directory and then type installpkg [bla bla]

To get to what horndude is talking about I always have to boot from the CD and then load the partition.
 
while logged in as root type "pkgtool" w/o the quotes or simply type pkgt and then hit the tab key

sounds like your harddrive is fine, linux has "man" pages which are manual pages for every command and most programs, "man mke2fs" or if using a reiser filesystem "man mkereiserfs" will spit out a help page for those commands, they might tell you what the number after the mke2fs program runs means

slackware uses bsd style init scripts, the inet daemon is configured with the /etc/inetd.conf file

filesystems being mounted at boot are controlled with the /etc/fstab file

cant help with you mysql, I dont use it enough w/o looking up how to set it up myself- look or search at http://www.linuxquestions.org in the slackware section or consult the slackware website, I think it has help for this
 
New problem: It seems that samba did not install properly, as I cannot find any of it's config files. Does the slackware package install them in any special location? How do I use the find command from console? (I have typed in "find / lilo.conf" a file I know exists, and it has said it cannot find it)

How do I get the source files for samba? Preferably without installing some sort of SVN/CVS broswer.
 
http://www.slackware.com

click "get slack" then navigate to the 10.2 source directory or download it from somewhere else

find or locate or slocate have to have a database set up first the first time you run them, "man find" or man "slocate" will explain that

docs for your reading are in /usr/doc and possibly the FAQ's if you installed those too

by using pkgtool you can see a list of everything installed by selecting "remove installed software".........and scroll thru the list, or take a look at /var/log/packages I think its called........lists all installed packages........programs youve compiled and installed wont show up unless you use checkinstall on them
 
Status
Not open for further replies.
Back
Top Bottom