2007 has gone !!
Wishes 4 all !!
I hope 2008 can be better 4 all !! and all the projects ends well.
enjoin Life !! ’cause is just ONE !!!
Wishes 4 all !!
I hope 2008 can be better 4 all !! and all the projects ends well.
enjoin Life !! ’cause is just ONE !!!
Hi there dudes … I just migrate the IRC service that was living in and old server for http://www.zonartm.org it was interesting like always ’cause I compiled all the packages for it ( UnrealIRC, Anope {services}, Eggdrop {BotNet} ), it was cool to review all the IRC commands again, it is a big stuff to put them all together
but it’s Up and Running.
host a = hestia = Origin
host b = balder = Destination
In host a and with a normal user NOT root:
[janux@hestia ~]$ cd
[janux@hestia ~]$ cd .ssh/ ( Create this directory if not exist mkdir .ssh )
[janux@hestia .ssh]$ ssh-keygen -t rsa
Generating public/private rsa key pair.
Enter file in which to save the key (/home/janux/.ssh/id_rsa): id_rsa_host_b
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in id_rsa_host_b
Your public key has been saved in id_rsa_host_b.pub.
The key fingerprint is:
1e:35:4f:fa:56:86:bb:9a:42:a5:17:e9:1c:ce:00:89 janux@hestia.linuxcabal.org
(more…)
This day is my birthday and I’m just doing some thing that I like to do … having a good time using my LapTop and before going to eat I just install this nice tool and put Ubuntu on it.. this is the way I made it.
—-> some info:
[root@hestia ~]# uname -a
Linux hestia.linuxcabal.org 2.6.17-14mdv #1 SMP Wed May 9 21:11:43 MDT 2007 i686 Intel(R) Pentium(R) M processor 1600MHz GNU/Linux
[root@hestia ~]# cat /etc/redhat-release
Mandriva Linux release 2007.1 (Official) for i586
—> now we install this:
[root@hestia ~]# smart install virtualbox-kernel-2.6.17-13mdv
[root@hestia ~]# smart install dkms-virtualbox
[root@hestia ~]# smart install virtualbox
After this we just type: VirtualBox
[janux@hestia ~]$ VirtualBox
Folow the Images to INSTALL the new DISTRO using your Instalation Disks
and configure it !!

(more…)
Hi there this time as usual I just play with another server at work, and replicating is really simple and easy check the steps bellow
a) You must have 2 servers running MySQL ( I like MySQL-Max )
b) There will be 2 configurations one p/ server ( Master ) and one per client ( Client
).
—- >Server / Master Side:
1) Edit /etc/hosts.allow and add this line ( you MUST change this IP’s for yours !! )
mysql: 192.168.10.70 192.168.10.13
2) Edit my.cnf …. In my case located at: /etc/my.cnf
* I’m going to show just a what you need the my.cnf file contains much more info.
####### Comment this lines:
bind-address = xxx.xxx.xxx.xxx
skip-networking
####### Make sure this lines exists in the [mysqld] Section:
log-bin=mysql-bin
server-id = 1
3) Now lets move to mysql using a power user like root xD
mysql> GRANT ALL ON databasename.* TO repl@'%' IDENTIFIED BY 'put_some_pass_here';
mysql> FLUSH PRIVILEGES;
mysql> GRANT REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO repl@'%' IDENTIFIED BY 'put_some_pass_here';
4) restart MySQL service
(more…)
First… need to define one box like server and other box like client… lets play !
== SERVER-SIDE ==
I .- Edit /etc/xinetd.d/rsync —> Must be like this:
service rsync
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/bin/rsync
server_args = --daemon
log_on_failure += USERID
}
II .- Edit / Create this file /etc/rsyncd.secrets
(more…)
I believe this how to was here …. but … it wasn’t !!! so …. Janux introduces …
How to set up your OpenVPN server and Client ![]()
* Download files to compile them
go to http://openvpn.net
* Untar the files in /usr/local/src/
You need: openssl y lzo DEVEL !!
-> libopenssl0.9.8-static-devel
-> liblzo2_2-devel
* Now use this to compile your openVPN server:
./configure --enable-password-save --enable-iproute2 --with-ssl-headers=/etc/ssl/ --with-ssl-lib=/usr/lib/openssl/
* make
* make install
* mkdir /etc/openvpn
* Check if this file exist openssl.cnf if exist make sure the paths for output files are ok if not change them.
* cd /etc/openvpn
* openssl req -nodes -new -x509 -keyout my-ca.key -out my-ca.crt -days 3650
* openssl req -nodes -new -keyout office.key -out office.csr
* mkdir demoCA
* mkdir demoCA/private
* cp my-ca.key demoCA/private/cakey.pem
* cp my-ca.crt demoCA/cacert.pem
* mkdir demoCA/newcerts
* touch demoCA/index.txt
* echo 01 > DemoCA/serial
* openssl ca -out office.crt -in office.csr
* openssl dhparam -out dh1024.pem 1024
* cp /usr/local/src/openvpn-2.0.8/sample-scripts/openvpn.init .
* cp /usr/local/src/openvpn-2.0.8/sample-config-files/server.conf .
(more…)
Powered by WordPress