Re: [newbie] MySQL

2001-02-20 Thread Allan Parreno


get a source at www.mysql.com, usually it is a mysql-x.x.tar.gz

1. tar -zxvf mysql-x.x.tar.gz
2. cd mysql-x.x.x
3. ./configure
4. make
5. make install
6. scripts/mysql_install_db
7. cp support-files/mysql.server /etc/rc.d/init.d/mysql
8. chmod a+x /etcrc.d/init.d/mysql
9. setup
10. System services and check mysql

the next time you restart your system mysql will run automatically or
/usr/local/bin/safe_mysqld  

Hope this will help!


On Mon, 19 Feb 2001, Julio Gutierrez wrote:

 
 I would like to know if someone can tell me how to setup and start up mysql,
 I've been reading the doc pages @mysql.com but they are kinda difficult and 
 almost contain no info at all(well at least it doesn't apply to my case)
 so if anyone can help me with this matter I would really appreciate it. :-)
 by the way I'm using MD7.2 on a x686 mach. 10 gig HD 256MB RAM
 
 Thanks again!!!
 
 Julio
 

-- 
- - - - - - - - - - - - - -
a l l a n  t. p a r r e n o
OneVirtual Internet - Iloilo
--
Make the first effort to work toward greatness.  You will learn a lot as
you go, and perfect your approach. The important thing now is to get
started and keep going.






Re: [newbie] FTP

2001-02-19 Thread Allan Parreno

On Mon, 19 Feb 2001, Douglas stewart wrote:

 
 - Original Message -
 From: Altoine B. [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, February 19, 2001 5:58 PM
 Subject: Re: [newbie] FTP
 
 
  Douglas stewart wrote:
  
   I get
  
   A network error has occurred while Netscape
   was receiving data.
   (Network Error:)
  
   Try connecting again.
  
   I then tried  from a command prompt window in NT
  
   ftp 192.168.1.101
   connected to 192.168.1.101
   ( there was a 5 second delay then)
   Connection closed by remote host.
  
   This would indicate that they are talking but I must have to set up
   something in LM
  
   doug
  
   - Original Message -
   From: Christopher Molnar [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Sent: Monday, February 19, 2001 1:02 PM
   Subject: Re: [newbie] FTP
  
On Monday 19 February 2001 12:47, you wrote:
 I have a L-M 7.2 at 192.168.101
 and NT 4.0 at 192.168.1.100
 and linksys at 192.168.1.1

 I don't have samba running.
 ftp is there an each end.
   
OK
   

 How do I get ftp to connect?

   
You can by default ftp from the Windows box, to the Linux box as long
 as
   you
have a user ID setup on the linux box.
   
In IE try: ftp:[EMAIL PROTECTED]
   
 Do I have to set up some accounts?
   
Yes, you can not do this by default as root.
   
 do I have to start a FTP server?

   
Should be started by default. Try the above and see what you get.
   
-Chris
   
  
 
  what is in your /etc/hosts.allow and /etc/hosts.deny?
 
 
 My hosts.allow and hosts.deny are both just comments.
 #
 #  some words
 #
 etc.
 
 Doug
 
 
 

Be sure that in the inetd.conf the ftp service is not in comment #. 

- - - - - - - - - - - - - -
a l l a n  t. p a r r e n o
OneVirtual Internet - Iloilo
--
Make the first effort to work toward greatness.  You will learn a lot as
you go, and perfect your approach. The important thing now is to get
started and keep going.






Re: [newbie] telnet and ftp access

2001-02-09 Thread Allan Parreno


run setup under root's account under system services look for inetd then
activate next you restart your computer it should work. 

about talk same thing edit your inetd.conf, be sure the talk is
uncomment. then type mesg=y

hope this will help
On Fri, 9 Feb 2001, Adi W. Rahadi wrote:

 Thanks, it works, but after i start
 #inetd
 and remove in hosts.deny
 
 why inetd can't automatically start when my machine's up?, where i can
 add some options to start inetd when my machine start?

 
 one more question, before i start inetd, i can't use talk, it's allways
 refuse and now it goes
 
 [No connection yet]
 [Checking for invitation on caller's machine]
 
 without ringing on other party, everytime i talk user
 
 Please help me, thanks alot.
 
 Adi
 
 Allan Parreno wrote:
  
  check the /etc/inetd.conf if the ftp and telnet has a # and maybe check
  the /etc/hosts.allow and /etc/hosts.deny
  
  On Fri, 9 Feb 2001, Adi W. Rahadi wrote:
 
 

-- 
- - - - - - - - - - - - - -
a l l a n  t. p a r r e n o
OneVirtual Internet - Iloilo
--
Make the first effort to work toward greatness.  You will learn a lot as
you go, and perfect your approach. The important thing now is to get
started and keep going.






[newbie] ipchains

2001-01-29 Thread Allan Parreno


Hello guys,

I have this config in my ipchain both eth0 and eth1 has a public
ip. Is it correct? I want all traffic from 192.168.100.0/24 will pass thru
eth0 and 192.168.101.0/24 will also pass thru eth1.

thanks in advance.

/sbin/ifconfig eth0:0 192.168.100.1 netmask 255.255.255.0 up
/sbin/route add -net 192.168.100.0 netmask 255.255.255.0 dev eth0:0
/sbin/ifconfig eth1:0 192.168.101.1 netmask 255.255.255.0 up
/sbin/route add -net 192.168.101.0 netmask 255.255.255.0 dev eth1:0

/sbin/ipchains -P forward DENY
/sbin/ipchains -A forward -s 192.168.100.0/24 -d 0/0 -j MASQ
/sbin/ipchains -A forward -j MASQ -s 192.168.100.0/24 -d 0.0.0.0/0
/sbin/ipchains -A forward -s 192.168.101.0/24 -d 0/0 -j MASQ
/sbin/ipchains -A forward -j MASQ -s 192.168.101.0/24 -d 0.0.0.0/0

/sbin/depmod -a  /dev/null 21
/sbin/modprobe ip_masq_ftp  /dev/null 21
/sbin/modprobe ip_masq_raudio  /dev/null 21
/sbin/modprobe ip_masq_irc  /dev/null 21
/sbin/modprobe ip_masq_icq  /dev/null 21
/sbin/modprobe ip_masq_quake  /dev/null 21
/sbin/modprobe ip_masq_user  /dev/null 21
/sbin/modprobe ip_masq_vdolive  /dev/null 21
/sbin/modprobe ip_masq_cuseeme  /dev/null 21

echo 1  /proc/sys/net/ipv4/ip_forward


- - - - - - - - - - - - - - - -
a l l a n  t. p a r r e n o
OneVirtual Internet - Iloilo
--
Make the first effort to work toward greatness.  You will learn a lot as
you go, and perfect your approach. The important thing now is to get
started and keep going.