Recent Changes - Search:

I'm sorry, I didn't catch your name https://www.enlightenedtraining.com/stmap_21wizxfu.html?toprol.ticlopidine.cialis zovirax duo dm "The potential opportunity is substantial. As the British Geological Survey estimates, UK shale gas resources may be 50% larger than conventional gas resources. With exploratory drilling now going ahead, estimates will be more accurate and the British Geological Survey is due to release a more comprehensive estimate of the UK's shale gas resources in 2013."

Administration


Links

External


Renew DHCP

   > sudo dhclient -v -r    # -v : verbose

Restart networking:

   > sudo /etc/init.d/networking restart

Resresh DNS:

  > sudo /etc/init.d/nscd restart

SSH2

Converting SSH key to SSH2

Source

server-side:

   ssh-keygen -e -f ~/.ssh2/id_dsa.pub > ~/.ssh2/id_dsa_ssh2.pub

Adding keys:

Given previous key:

  • put it in .ssh2
  • add to file authorization:
      Key id_dsa_ssh2.pub

Spam-bot detection

  • CBL - Composite Blocking List.
    • Service that maintains list of ip's for spam-bots.
    • Integrating into many SMTP servers.
    • Allows for easy removal IP - up to a limit
  • spamhaus
    • interface as used by domeinbalie
    • Link checks for presence of ip blade server in lists

Use sockstats on Freebsd:

   sockstats -p 25

Checks all active scripts on socket 25.

Alternative, scan for lots of connection on 25:

   sudo netstat -nax | grep ".25[ \t]"

Specifically, look at lots of ports 25 on foreign adresses.


Setting static DHCP server for Ubuntu client

Source - partial

To add DHCP server static address, edit:

  sudo vi /etc/dhcp3/dhclient.conf

Add following line:

  nameserver 192.168.2.254

(Re)start the dhclient (source):

  sudo dhclient

If necessary, release the current lease beforehand:

  sudo dhclient -r

Enabling mod_rewrite for Apache2

Check if mod_rewrite already loaded

 apache2 -M | grep rewrite

If present, returns a line containing mod_rewrite

Allow override

    sudo vi  /etc/apache2/sites-available/default

Add following specific for a subdir (not document root):

    <Directory /var/www/gitlist>
        Options +ExecCGI Indexes FollowSymLinks MultiViews
        AllowOverride  all
        Order allow,deny
        allow from all
    </Directory>

Restart Apache:

 sudo apachectl restart

Check if mod_rewrite works

Source

Next place ONLY the following lines in your .htaccess:

 RewriteEngine On
 Options +FollowSymLinks
 RewriteRule ^joomla\.html http://www.joomla.org/? [R=301,L]

And open:

  http://localhost/any/path/joomla.thml

You should be redirected to the Joomla site.

Edit - History - Print - Recent Changes - Search
Page last modified on March 16, 2018, at 10:10 AM