Install Dante socks proxy

Monday, May 24th, 2010

Dante socks install :

Download Dante from : ftp://ftp.inet.no/pub/socks/dante-1.2.0.tar.gz

tar zxvf dante-1.2.0.tar.gz
cd dante-1.2.0
yum install gcc make
./configure
make -j4
make install

ifconfig -a |  grep inet | awk ‘{print $2}’ | awk -F ‘:’ ‘{print $2}’ | grep -v 127.0.0.1 >  /root/ips

for i in `cat ips` ;do echo “internal: $i port = 6060″ >> /root/sockd.conf ;done

Example of sockd.conf :

logoutput: stderr
method: username none
external: externalIPtouse
client pass {
from: 0.0.0.0/0 port 1-65535 to: 0.0.0.0/0
}
pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
method: username
protocol: tcp udp
}

Launch using :

sockd -f /root/sockd.conf -d

Update from phpBB 3.0.4 to 3.0.5

Wednesday, August 19th, 2009

To perform the update, either follow the instructions from the Administration Control Panel->System Tab – this should point out that you are running an outdated version and will guide you through the update – or follow the instructions listed below.

Go to the downloads page and download the latest update package listed there, matching your current version.
Upload the archives contents to your phpBB installation – only the install folder is required. Upload the whole install folder, retaining the file structure.
After the install folder is present, phpBB3 will go offline automatically.
Point your browser to the install directory, for example http://www.example.com/phpBB3/install/
Choose the “Update” Tab and follow the instructions

Install upgrade a different Juniper release

Saturday, June 13th, 2009

file copy http://10.1.1.254/jinstalls/jinstall-8.3R2.8-domestic-signed.tgz /var/tmp/
request system software add validate unlink /var/tmp/jinstall-8.3R2.8-domestic-signed.tgz

root@R1> request system software add validate unlink /var/tmp/jinstall-8.3R2.8-domestic-signed.tgz
Checking compatibility with configuration
Initializing...
Using jbase-8.2R4.5
Verified manifest signed by PackageProduction_8_2_0
Using /var/tmp/jinstall-8.3R2.8-domestic-signed.tgz
Verified jinstall-8.3R2.8-domestic.tgz signed by PackageProduction_8_3_0
Using /mfs/validate/tmp/jinstall-signed/jinstall-8.3R2.8-domestic.tgz
Using /mfs/validate/tmp/jinstall/jbundle-8.3R2.8-domestic.tgz
Checking jbundle requirements on /
Using /mfs/validate/tmp/jbundle/jbase-8.3R2.8.tgz
Verified manifest signed by PackageProduction_8_3_0
Using /mfs/validate/tmp/jbundle/jkernel-8.3R2.8.tgz
Verified manifest signed by PackageProduction_8_3_0
Using /mfs/validate/tmp/jbundle/jcrypto-8.3R2.8.tgz
Verified manifest signed by PackageProduction_8_3_0
Using /mfs/validate/tmp/jbundle/jpfe-8.3R2.8.tgz
Verified SHA1 checksum of jpfe-M10-8.3R2.8.tgz
Verified SHA1 checksum of jpfe-M120-8.3R2.8.tgz
Verified SHA1 checksum of jpfe-M160-8.3R2.8.tgz
Verified SHA1 checksum of jpfe-M320-8.3R2.8.tgz
Verified SHA1 checksum of jpfe-M40-8.3R2.8.tgz
Verified SHA1 checksum of jpfe-M7i-8.3R2.8.tgz
Verified SHA1 checksum of jpfe-T-8.3R2.8.tgz
Verified SHA1 checksum of jpfe-X960-8.3R2.8.tgz
Verified SHA1 checksum of jpfe-common-8.3R2.8.tgz
WARNING: hw.product.model='unknown' using jpfe-M40
Using /mfs/validate/tmp/jbundle/jdocs-8.3R2.8.tgz
Verified manifest signed by PackageProduction_8_3_0
Using /mfs/validate/tmp/jbundle/jroute-8.3R2.8.tgz
Verified manifest signed by PackageProduction_8_3_0
Hardware Database regeneration succeeded
Validating against /config/juniper.conf.gz
mgd: commit complete
Validation succeeded
Installing package '/var/tmp/jinstall-8.3R2.8-domestic-signed.tgz' ...
Verified jinstall-8.3R2.8-domestic.tgz signed by PackageProduction_8_3_0
Adding jinstall...
Verified manifest signed by PackageProduction_8_3_0

WARNING:     This package will load JUNOS 8.3R2.8 software.
WARNING:     It will save JUNOS configuration files, and SSH keys
WARNING:     (if configured), but erase all other files and information
WARNING:     stored on this machine.  It will attempt to preserve dumps
WARNING:     and log files, but this can not be guaranteed.  This is the
WARNING:     pre-installation stage and all the software is loaded when
WARNING:     you reboot the system.

Saving the config files ...
NOTICE: uncommitted changes have been saved in /var/db/config/juniper.conf.pre-install
Installing the bootstrap installer ...

WARNING:     A REBOOT IS REQUIRED TO LOAD THIS SOFTWARE CORRECTLY. Use the
WARNING:     'request system reboot' command when software installation is
WARNING:     complete. To abort the installation, do not reboot your system,
WARNING:     instead use the 'request system software delete jinstall'
WARNING:     command as soon as this operation completes.

Saving package file in /var/sw/pkg/jinstall-8.3R2.8-domestic-signed.tgz ...
Saving state for rollback ...
Removing /var/tmp/jinstall-8.3R2.8-domestic-signed.tgz

The ”’validate”’ option checks that the new software is compatible with your current router configuration file. When you are updating to a different release of the JUNOS software, the validation check is performed automatically. The ”’unlink”’ option removes the software package from the router as soon as possible to make more room on the hard disk for the installation to complete.

One error that came up was :

Setting isupgrade=jboot-8.3R2.8.tgz

All together now...Somebody please give me some more memory!
List of Memory hogs ....
        cp size 49
        newfs size 20407

Junos requires a minimum of 198MB RAM to run…after an upgrade. After that 48-64 Ram is enough.