Routers : Linux System And Network Admnistration

Show All

  • 2009
    • February
      • IPCop Port Forward
        09/02/09
        Forward port 80 to LAN WebServer , this is to have home webserver
        can be used for others port also

        Very Simple, here is the image, click to enlarge


      • MySQL Create db
        07/02/09
        [root@db-svr ~]# mysql -u root -p
        Enter password:
        Welcome to the MySQL monitor. Commands end with ; or \g.
        Your MySQL connection id is 2
        Server version: 5.0.45 Source distribution

        Type 'help;' or '\h' for help. Type '\c' to clear the buff

      • MySQL Network Security
        07/02/09
        By Default MySQL server will answer any incoming telnet to
        the machine from outside, so we need to disable this

        (Add entry at my.cnf)
        [root@noc ~]# nano -w /etc/my.cnf

        [mysqld]
        bind-address=127.0.0.1

        (Restart MySQL)
        [root@noc ~]# /sbin/service m

      • MySQL Clean Up
        07/02/09
        MySQL need to clean up for security reason after first installation
        Do as following :-

        [root@svr ~]# mysql -u root -p
        Enter password:
        Welcome to the MySQL monitor. Commands end with ; or \g.
        Your MySQL connection id is 2 to server version: 5.0.22

        Type 

      • MySQL Tunnel
        07/02/09
        From Linux Laptop

        ssh -f -L 3000:localhost:3306 root@db-server.net sleep 2d

        Now open MySQL Administrator make connection



        click Connect and there you go



        FYI, dont worry server status shown down, its local in laptop is down
        but

      • YUM Tunnel IDC
        06/02/09
        This tutorial suitable for user/admin who got/own/rent server in IDC
        for them to full utilize their DSL connection in the local
        office linux o/s update

        setup as following

        ======IDC Server side Setup============
        # yum install privoxy
        # service privoxy sta

      • Linux ADD IP
        06/02/09
        login as root in konsole

        First Way
        ----------
        (Add IP)
        #/sbin/ifconfig eth0 192.168.1.10 netmask 255.255.255.0 broadcast 192.168.1.255
        To view execute /sbin/ifconfig eth0

        (Add Route)
        #/sbin/route add default gw 192.168.1.1
        To view execute /sbin/rou

      • Mount Remote Drive
        05/02/09
        To make remote drive available to your local hardisk
        First need to install fuse-sshfs into your local linux system

        (Create Mount Point Folder , mkdir /path/mount-place)

        # mkdir /export/remotedisk-isp1
        # sshfs -o follow_symlinks user@remotedisk-isp1.net: /export/remot

      • IPCop tunnel IDC
        05/02/09
        ---------IDC Server--------------------
        root@idcserver.net yum install privoxy
        root@idcserver.net /sbin/service privoxy start

        ----------local office ----------------
        install openssh47p1.tar.gz to inside ipcop box
        get from http://www.ipadd.de/binary.html
        wich com

      • Mylinux
        05/02/09
        [Wed Feb 4 2009] [16:04:57] <Buntal> ping 192.168.1.1
        [Wed Feb 4 2009] [16:05:06] <Buntal> aduh
        [Wed Feb 4 2009] [16:05:07] <Routers> dari centos ping .1.1
        [Wed Feb 4 2009] [16:05:21] <Buntal> oke
        [Wed Feb 4 2009] [16:05:24] <Buntal> ja

      • yeeeeeeeeee haaaaaaaaaaaaa
        05/02/09
        what to do here ?

        wtf