![]() |
|
|||||||
| Chit Chat Public Talk about any thing you want! This forum is public. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||
|
||||
|
Anyone use Red Hat 8.0?
If you do could you answer this question for me please. I can not figure out how to add users for my ftp, BTW I am using the default ftp vsftpd server. Thanks.
Also what is the directory location for the apache? I have my apache server working http://65.27.134.2 but I can not figure out how to upload my stuff because a)can not get ftp user b)I do not know where the directory is. Thanks again guys. Josh
__________________
Joshua Combs Streamline Web Solutions "everyone needs hosting at some point in time" Streamline Web Solutions| JoshCombs.com| |
|
#2
|
||||
|
||||
|
also how do you upgrade php, mysql and apache?
__________________
Joshua Combs Streamline Web Solutions "everyone needs hosting at some point in time" Streamline Web Solutions| JoshCombs.com| |
|
#3
|
||||
|
||||
|
Hi Josh,
I'm gonna save you a lot of time and effort here... www.webmin.com get the newest one. It will make your life alot easier if your learning Redhat. to get to the files for vsftp in the command line (make sure you have root privileges.. and do not log in as root, use the "su -" command) type "cd /etc/vsftp" that will get you into directory where all things vsftp is located. The file you want to edit is called "user-list" just add the user names there. You can edit it by using vi or pico or whatever your comfortable with (I recommend getting used the standard vi, its on just about every disto of *nix where some of these others are not). Also edit the chroot-list to redirect users to specific locations otherwise vsftp will send any user that logs on to there home directory. One more thing. If you have shell access to this machine I would really really recommend that you use it (scp) to transfer your files there. Its encrypted and works very well, where with ftp you run the risk of someone getting your username and password through packet sniffing. Good Luck and enjoy Linux |
|
#4
|
||||
|
||||
|
I tried
Code:
hmm I am installing Webmin now. Hopefully I install it right ![]()
__________________
Joshua Combs Streamline Web Solutions "everyone needs hosting at some point in time" Streamline Web Solutions| JoshCombs.com| |
|
#5
|
||||
|
||||
|
Quote:
__________________
Joshua Combs Streamline Web Solutions "everyone needs hosting at some point in time" Streamline Web Solutions| JoshCombs.com| |
|
#6
|
||||||||||||
|
||||||||||||
|
The dir is etc, not ect
__________________
|
|
#7
|
||||
|
||||
|
Quote:
__________________
Joshua Combs Streamline Web Solutions "everyone needs hosting at some point in time" Streamline Web Solutions| JoshCombs.com| |
|
#8
|
||||
|
||||
|
Quote:
ummmm, its cd /etc/vsftp there is a space between the d and the / |
|
#9
|
||||
|
||||
|
slocate vsftpd.conf
/usr/share/man/man5/vsftpd.conf.5.gz /etc/vsftpd.conf
__________________
Joshua Combs Streamline Web Solutions "everyone needs hosting at some point in time" Streamline Web Solutions| JoshCombs.com| |
|
#10
|
||||
|
||||
|
slocate vsftpd
/usr/sbin/vsftpd /usr/share/doc/vsftpd-1.1.0 /usr/share/doc/vsftpd-1.1.0/Changelog /usr/share/doc/vsftpd-1.1.0/AUDIT /usr/share/doc/vsftpd-1.1.0/BUGS /usr/share/doc/vsftpd-1.1.0/README.security /usr/share/doc/vsftpd-1.1.0/INSTALL /usr/share/doc/vsftpd-1.1.0/LICENSE /usr/share/doc/vsftpd-1.1.0/README /usr/share/doc/vsftpd-1.1.0/SECURITY /usr/share/doc/vsftpd-1.1.0/SECURITY/IMPLEMENTATION /usr/share/doc/vsftpd-1.1.0/SECURITY/DESIGN /usr/share/doc/vsftpd-1.1.0/SECURITY/OVERVIEW /usr/share/doc/vsftpd-1.1.0/SECURITY/TRUST /usr/share/doc/vsftpd-1.1.0/REWARD /usr/share/doc/vsftpd-1.1.0/SIZE /usr/share/doc/vsftpd-1.1.0/SPEED /usr/share/doc/vsftpd-1.1.0/TODO /usr/share/doc/vsftpd-1.1.0/TUNING /usr/share/man/man5/vsftpd.conf.5.gz /usr/share/man/man8/vsftpd.8.gz /etc/xinetd.d/vsftpd /etc/logrotate.d/vsftpd.log /etc/pam.d/vsftpd /etc/vsftpd.ftpusers /etc/vsftpd.conf /etc/vsftpd.user_list
__________________
Joshua Combs Streamline Web Solutions "everyone needs hosting at some point in time" Streamline Web Solutions| JoshCombs.com| |
|
#11
|
||||
|
||||
|
here is my httpd info.
slocate httpdn ...] history [-c] [-d offset] /usr/bin/redhat-config-httpd /usr/lib/httpd /usr/lib/httpd/modules asp /usr/lib/httpd/modules/mod_auth_anon.so if COMMANDS; t /usr/lib/httpd/modules/mod_access.soobspec ...] or job-1.3.3-5 /usr/lib/httpd/modules/mod_actions.so PyQt-e /usr/lib/httpd/modules/mod_alias qt qt-MyS /usr/lib/httpd/modules/mod_cern_meta.so until COM /usr/lib/httpd/modules/mod_cgi.sos - Some variable names an /usr/lib/httpd/modules/mod_dav.so wa /usr/lib/httpd/modules/mod_dav_fs.soe COMMANDS; do COMMANDS; done /usr/lib/httpd/modules/mod_deflate.so { COMMANDS /usr/lib/httpd/modules/mod_dir.so-134-2 josh]$ close /usr/lib/httpd/modules/mod_env.so command not found /usr/lib/httpd/modules/mod_expire34-2 jos /usr/lib/httpd/modules/mod_mime.so login: Login /usr/lib/httpd/modules/mod_mime_magic.so Password: Login inc /usr/lib/httpd/modules/mod_negotiation.sot Linux release 8.0 (Psyche) /usr/lib/httpd/modules/mod_proxy.so14 on an i686 /usr/lib/httpd/modules/mod_proxy_ftp.so Last login: Sat Jan 17 12:55:38 /usr/lib/httpd/modules/mod_proxy_http.so [jo /usr/lib/httpd/modules/mod_rewrite.so Password: /usr/lib/httpd/modules/mod_setenvif.soig /usr/lib/httpd/modul Type 'help;' or '\h' /usr/lib/httpd/modules/mod_perl.soffer. /usr/lib/httpd/modules/mod_python.soql> quit Bye [root@cvg /usr/lib/httpd/modules/mod_ssl.sooot -p /usr/lib/httpd/modules/libphp4.so Ver 8.23 Distrib 3.23.52, for pc /usr/lib/httpd/modules/mod_auth_pgsql.so /usr/lib/httpd/modules/mod_auth_mysql.sond AB & TCX DataKonsult AB /usr/lib/httpd/build /usr/lib/httpd/build/config_vars.mk /usr/lib/httpd/build/special.mk /usr/sbin/httpdsage: mysqladmi /usr/share/doc/qt-devel-3.0.5/examples/network/httpd -#, --debug=... O /usr/share/doc/qt-devel-3.0.5/examples/network/httpd/.moc /usr/share/doc/qt-devel-3.0.5/examples/network/httpd/.moc/release-shared-mtth /usr/share/doc/qt-devel-3.0.5/examples/network/httpd/.objif an error occurs /usr/share/doc/qt-devel-3.0.5/examples/network/httpd/.obj/release-shared help and exit /usr/share/doc/qt-devel-3.0.5/html/httpd-example.html Port number to use for connection /usr/share/doc/httpd-2.0.40 -i, --sleep /usr/share/doc/httpd-2.0.40/ABOUT_APACHEin with a sleep between /usr/share/doc/httpd-2.0.40/CHANGES -r, --re /usr/share/doc/httpd-2.0.40/LICENSEn curr /usr/share/doc/httpd-2.0.40/migration.css -E, /usr/share/doc/httpd-2.0.40/migration.htmlIs similar to --relative, /usr/share/doc/redhat-config-httpd-1.0.1 /usr/share/doc/redhat-config-httpd-1.0.1/README.1st -s, --silent /usr/share/doc/redhat-config-httpd-1.0.1/AUTHORS /usr/share/doc/redhat-config-httpd-1.0.1/COPYINGet file to use for connection /usr/share/doc/redhat-config-httpd-1.0.1/READMEser=# User for login if not current us /usr/share/doc/redhat-config-httpd-1.0.1/html -v, --verbose Write /usr/share/doc/redhat-config-httpd-1.0.1/html/figs -V, --version Output version /usr/share/doc/redhat-config-httpd-1.0.1/html/figs/httpd-listen.png --print-defaults /usr/share/doc/redhat-config-httpd-1.0.1/html/figs/httpd-logging.png --no-defaults D /usr/share/doc/redhat-config-httpd-1.0.1/html/figs/httpd-main.png --defaults- /usr/share/doc/redhat-config-httpd-1.0.1/html/figs/httpd-server.png /usr/share/doc/redhat-config-httpd-1.0.1/html/httpd-default-settings.html flush-status Clear status variables /usr/share/doc/redhat-config-httpd-1.0.1/html/httpd-directories.html flush-threads Flush th /usr/share/doc/redhat-config-httpd-1.0.1/html/httpd-related-books.htmlivileges Reload grant tables (same as reload) /usr/share/doc/redhat-config-httpd-1.0.1/html/httpd-logging.htmlKill mysql threads p /usr/share/doc/redhat-config-httpd-1.0.1/html/httpd-virtualhosts-settings.html ping Check if mysqld i /usr/share/doc/redhat-config-httpd-1.0.1/html/httpd-saving-settings.html Show list of active threads in server /usr/share/doc/redhat-config-httpd-1.0.1/html/httpd-server-settings.htmlbles start-slave Start slave /usr/share/doc/redhat-config-httpd-1.0.1/html/index.html variables Prints v /usr/share/doc/redhat-config-httpd-1.0.1/html/intro.html version Get version info fro /usr/share/doc/redhat-config-httpd-1.0.1/html/stylesheet-imagesot@cvg-65-27-134-2 josh]# version /usr/share/doc/redhat-config-httpd-1.0.1/html/stylesheet-images/important.pngcvg-65-27-134-2 josh]# mysql Welcome to the /usr/share/doc/redhat-config-httpd-1.0.1/html/style ERR /usr/share/doc/redhat-config-httpd-1.0.1/html/stylesheet-images/warning.png mysql> /usr/share/doc/qt2-devel-2.3.1/examples/httpdn error in your SQL syntax near 'version' at /usr/share/doc/qt2-devel-2.3.1/examples/httpd/Makefile mysql> quit Bye /usr/share/doc/qt2-devel-2.3.1/examples/httpd/Makefile.in ntpd /usr/share/doc/qt2-devel-2.3.1/examples/httpd/README 6:off /usr/share/doc/qt2-devel-2.3.1/examples/httpd/httpd.cpp 2:on 3:on 4:on 5:on 6:off /usr/include/httpd XFree86- /usr/include/httpd/ap_compat.h random /usr/include/httpd/.mmn3:on 4:on 5:on /usr/include/httpd/ap_config_auto.h /usr/include/httpd/ap_config.hell-fr-0.6-6 x /usr/include/httpd/apr_optional_hooks.hf 3:on 4:on 5:on 6:off200105 /usr/include/httpd/ap_config_layout.h /usr/include/httpdint-0 /usr/include/httpd/apr_anylock.h gnome perl-XML-Twig-3. /usr/include/httpd/apr_atomic.hcon iptables 0 /usr/include/httpd/apr_base64.h:on 5:on 6:off4-6 /usr/include/httpd/apr_buckets.h /usr/include/httpd/apr_compat.h-1. /usr/include/httpd/apr_date.h 1:off 2:off 3:off 4:of /usr/include/httpd/apr_dbm.h /usr/include/httpd/apr_dso.h nasm-0.98 /usr/include/httpd/apr_errno.h nfslock 0:off /usr/include/httpd/apr_file_info.hn 6:off-11 /usr/include/httpd/apr_fi /usr/include/httpd/apr_hooks.h /usr/include/httpd/apr_inherit.h gimp-perl-1.2.3-9 /usr/include/httpd/apr_ldap.h.1 /usr/include/httpd/apr_lib.h 2:on 3:on 4:on 5 /usr/include/httpd/apr_md4.h /usr/include/httpd/apr_md5.hh-5.2.14-19r-0.29-3 /usr/include/httpd/apr_mmap.h kWnn 0:off 1:of /usr/include/httpd/apr_network_io.h6:off /usr/include/httpd/apr_optional.h libgnomecanvas-2 /usr/include/httpd/apr_portable.h pxe 0:off 1:off /usr/include/httpd/apr_poll.h gnupg-1.0.7-6 /usr/include/httpd/apr_rmm.h0.9.14-61-2 /usr/include/httpd/apr_sdbm.h1:off 2:off 3:off 4:off /usr/include/httpd/apr_sha1.h /usr/include/httpd/apr_shm.h mailcap-2.1 /usr/include/httpd/apr_signal.h_ ipvsadm /usr/include/httpd/apr_strings.h 4:off 5:off 6:off /usr/include/httpd/apr_strmatch.h psg /usr/include/httpd/apr_support.hnuplot kmail- iscsi /usr/include/httpd/apr_tables.h 3:off 4:off 5:off 6:of /usr/include/httpd/apr_thread_cond.h /usr/include/httpd/apr_uuid.h libatt /usr/include/httpd/apr_version.h 2:off 3:off 4:off 5:off /usr/include/httpd/apr_want.h /usr/include/httpd/apr_xlate.h pxe-0.1-33 scrol /usr/include/httpd/apr_xml.h rstatd /usr/include/httpd/apu.h:off 4:off 5:off 6 /usr/include/httpd/apu_compat.h /usr/include/httpd/http_config.hconedit recode-devel-3. /usr/include/httpd/http_connection.h 0:off 1:off 2:off 3:off 4:o /usr/include/httpd/http_core.h /usr/include/httpd/mod_core.hlock-1.3-11ts- /usr/include/httpd/mod_dav.hf 2:off 3:off 4:off /usr/include/httpd/mod_include.h /usr/include/httpd/mod_log_config.h wl-2.8.1-8-kapptempl /usr/include/httpd/mod_proxy.hoff 1:off 2:on 3:on /usr/include/httpd/mod_ssl.h /usr/include/httpd/mpm.h xcpustate-2.5-1 /usr/include/httpd/mpm_common.h9-2-75dpi-fonts-4. /usr/include/httpd/mpm_default.hces: on /usr/include/httpd/pcre. /usr/include/httpd/util_cfgtree.h sgi_fam: on STREAM /usr/include/httpd/unixd.h /usr/include/httpd/ssl_toolkit_compat.h dbsk /usr/include/httpd/ssl_util_ssl.h vsftpd: oninnish /usr/include/httpd/ssl_util_table.h amandaidx: offn-H /usr/include/httpd/util_charset.h imap: /usr/include/httpd/util_ebcdic.h /usr/include/httpd/util_filter.h ipop2: off /usr/include/httpd/util_ldap.hf.3-1 /usr/include/httpd/util_md5.h STREA /usr/include/httpd/util_script.hoff14667 /tmp/.ICE-un /usr/include/httpd/util_time rexec: /usr/src/linux-2.4.18-14/net/khttpd/README 61040561644061045 /usr/src/linux-2.4.18-14/net/khttpd/accept.c ktalk: off /usr/src/linux-2.4.18-14/net/khttpd/make_times_h.c swat: off tftp: on /usr/src/linux-2.4.18-14/net/khttpd/logging.c php- [root@cvg /usr/src/linux-2.4.18-14/net/khttpd/main.c14250 /tmp/orbit-josh/orb-9 /usr/src/linux-2.4.18-14/net/khttpd/pro /usr/src/linux-2.4.18-14/net/khttpd/security.h /usr/src/linux-2.4.18-14/net/khttpd/sockets.c`info' to find out more about commands not in /usr/src/linux-2.4.18-14/net/khttpd/structure.h bas /usr/src/linux-2.4.18-14/net/khttpd/sysctl.c A star (*) next to a name means t /usr/src/linux-2.4.18-14/net/khttpd/sysctl.h CONNECTED 3022 /usr/src/linux-2.4.18-14/net/khttpd/userspace.c /var/log/h /var/www/manual/mod/mod_python/hand-httpdapy.html /var/www/manual/mod/mod_php4/install.fhttpd.html C exit /var/www/manual/mod/mod_php4/install.omnihttpd.htmlalue] ...] or /var/www/manual/mod/mod_php4/install.otherhttpd.html.1-5 unix 3 [ ] /var/www/manual/programs/httpd.html fc [-e ename] [-nlr] [fir /etc/rc.d/init.d/httpd /etc/rc.d/rc0.d/K15httpd libgnome /etc/rc.d/rc1.d/K15httpd for NAME [ /etc/rc.d/rc2.d/K15httpd /etc/pam.d/redhat-config-httpd STREAM CONNECTED /etc/security/console.apps/redhat-config-httpdopts optstring name [arg] hash [-lr] [-p /etc/httpd[-dt] [na /etc/httpd/conf /etc/httpd/conf/ssl.crl help [- /etc/httpd/conf/ssl.crl/Makefile.crl-c] [-d offset] [n] or hi ST /etc/httpd/conf/magic /etc/httpd/conf/Makefile /etc/httpd/conf/ssl.crt /etc/httpd/conf/ssl.crt/server.crt /etc/httpd/conf/ssl.crt/Makefile.crt /etc/httpd/conf/ssl.csr /etc/httpd/conf/ssl.key /etc/httpd/conf/ssl.key/server.key /etc/httpd/conf/ssl.prm /etc/httpd/conf/httpd-mailman.conf /etc/httpd/conf.d /etc/httpd/conf.d/perl.conf /etc/httpd/conf.d/README /etc/httpd/conf.d/auth_pgsql.conf /etc/httpd/conf.d/python.conf /etc/httpd/conf.d/ssl.conf /etc/httpd/conf.d/php.conf /etc/httpd/conf.d/squirrelmail.conf /etc/httpd/conf.d/auth_mysql.conf /etc/httpd/logs /etc/httpd/modules /etc/httpd/run /etc/httpd/build
__________________
Joshua Combs Streamline Web Solutions "everyone needs hosting at some point in time" Streamline Web Solutions| JoshCombs.com| |
|
#12
|
||||
|
||||
|
I got webmin installed. Thanks for the suggestion to install it.
__________________
Joshua Combs Streamline Web Solutions "everyone needs hosting at some point in time" Streamline Web Solutions| JoshCombs.com| |
|
#13
|
||||
|
||||
|
not a problem.. webmin should really help you get started.. just remember that it is a helper, you should still get to know the command line.
Also get virtualmin from the webmin site.. if your going to host multiple sites with email and the works... it makes setup a easy task. |
|
#14
|
||||
|
||||
|
yeah I just got a big ole book on Red Hat 8 for like 5 bux from Microcenter
![]()
__________________
Joshua Combs Streamline Web Solutions "everyone needs hosting at some point in time" Streamline Web Solutions| JoshCombs.com| |
|
#15
|
||||
|
||||
|
forgot all about the other part of the request.. upgrading to the newest versions...
there are many ways to do this part... you can use the up2date service from Redhat.. type man up2date to get more info or you can use debains apt program for Redhat. It is easy to use.. http://apt.freshrpms.net/ get the version for your disto, install it. After installation type "apt-get update" which will update the list of servers that your system will pull its packages from. THen type "apt-get upgrade" this will go through and find all of the updates for the currently installed packages and at the end it will prompt you to install the upgrades. The rest is up to you.. Honestly apt makes life alot easier.. it resolves the dependency issues for most standard packages, meaning that if you decide you want to install lynx but you don't have all the necessary dependencies it will find what you need and install them too. the command syntax is apt-get install then the package. ie. "apt-get install lynx" Good luck |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|