» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with to + in

Holidays to South Africa

Book Holidays to South Africa, South Africa Holidays, Cheap Holidays in South Africa, South Africa Tours, Travel to South Africa at affordable rate.Holidays to South Africa

send rakhi outside india

Rakhi helps to convey love message to your brother and sister. Send raksha bandhan rakhi Gifts to all over India with our Wide range of rakhi gifts for sister. You can also Find that unexpected gift for the person who already has everything.

Howto Schedule Bittorrents to Automatically Download in Ubuntu

Ever wondered if you could schedule your torrent downloads to occur in those times when you are not using you computer, when you know that there will be more people online sharing the file your downloading, or perhaps during the off-peak times of your Internet plan Well this tutorial is for you.


1. We need to make sure that the relevant software is installed on our system. To do this we start up Synaptic Package Manager

System → Administration → Synaptic Package Manager

and search for 'bittorrent'. Select 'bittorrent' from the options and click 'Apply' to install it with all of its dependencies. If you've already got bittorrent installed then it will already be selected in the list and you won't need to perform this step.

2. Next we need to create the directory that we will download our torrents into. You can use any directory that you have permission to use for this this but a sub-directory in your home directory will often make things easier. For this tutorial I will be using a sub-directory in the user's home directory called 'torrents'. To create this directory simply navigate to your home directory

Places → Home Folder

right click on some empty space and select 'Create Folder'. Name this folder 'torrents'.

3. To automate the task of downloading torrents, and stopping the downloads at an appropriate time, we are going to create some very simple bash scripts (For more on bash scripts see here). We will use the familiar graphical text editor gedit for this task.

In your home folder right click some empty space and select

'Create Document' → 'Empty File'

Name this file 'bittorrentstart'. Perform this task again to create another file and call this one 'bittorrentstop'. You can place these files anywhere you like, perhaps in a directory called 'scripts', but this tutorial will assume they are in your Home directory.
Double click the file 'bittorrentstart' to open it and paste in the following information


#!/bin/sh
# Start Downloading Torrent Files!
cd
nohup btlaunchmany /home/Your_User_Name/torrents/ > torrent.log &
tail -f torrent.log

Make sure you change the 'Your_User_Name' to your user-name. Save this file, open 'bittorrentstop' and paste in the following information

#!/bin/bash
# Stop Downloading ALL Torrent Files!
killall btlaunchmany


4. The second part of automating the downloading of torrents is to tell our computer when to execute the start script and execute the stop script. To do this we use a tool called cron . To make the editing of cron entries simple we are going to create a text file that we will edit in gedit (like the bash scripts above) and then append it to our cron entries.

While in your Home directory right click on some empty space and select

'Create Document' → 'Empty File'

Name this file 'cron.txt'. Double click this file to open it and enter in the following information


# Start BitTorrent Download Script
05 02 * * * sh /home/Your_User_Name/bash_scripts/bittorrentstart.sh
# Stop ALL BitTorrent Downloads Script
55 11 * * * sh /home/Your_User_Name/bash_scripts/bittorrentstop.sh

Be sure to enter your user-name in the required fields. This setup will start the download start script at 2:05am and start the download stop script at 11:55am. These values will likely not suit you so you need to alter them. To understand the format of cron entries picture five asterisks at the start followed by your command. Something like the following

* * * * * sh /home/Your_User_Name/bash_scripts/bittorrentstart.sh

The first asterisk represents minutes, the second hours, the third days of the month, the fourth is the month, and the fifth the day of the week. The allowed syntax is

minute 0-59
hour 0-23
day of month 1-31
month 1-12 (or the month names)
day of week 0-7 (0 or 7 is Sun, or use the weekday names)

Save this file and start up your terminal emulator

Applications → Accessories → Terminal

Enter in the following command

crontab cron.txt

To verify that this was entered into your cron entries properly enter in the following command

crontab -l

5. Now that we've installed the relevant applications and told the computer to execute the appropriate tasks at the appropriate times all we need to do is save our *.torrent files into the bittorrent directory we created earlier and wait. At the appropriate times they will be downloaded into their own sub-directory without you even being aware.

6. In the bittorrentstart script we created earlier there is a command to create a log file. This file records the activity of the torrent downloads. This file, called 'torrent.log', will be found in your Home directory. You can simply open this file to check on the status of your downloads. A sample line from this log file is

/home/Your_User_Name/torrents/torrent_name: Spd: 34.0 K/s:18.2 K/s Tot: 171.2 M:61.1 M [18:10:07 76%]
All: Spd: 34.0 K/s:18.2 K/s Tot: 171.2 M:61.1 M

What all of these entries mean is beyond the scope of this tutorial but you can easily recognise your connection speed and the percentage finished of your torrent downloads.

Ubuntu: OnlyUbuntu Tutorials

Howto Schedule Bittorrents to Automatically Download in Ubuntu

Ever wondered if you could schedule your torrent downloads to occur in those times when you are not using you computer, when you know that there will be more people online sharing the file your downloading, or perhaps during the off-peak times of your Internet plan Well this tutorial is for you.


1. We need to make sure that the relevant software is installed on our system. To do this we start up Synaptic Package Manager

System → Administration → Synaptic Package Manager

and search for 'bittorrent'. Select 'bittorrent' from the options and click 'Apply' to install it with all of its dependencies. If you've already got bittorrent installed then it will already be selected in the list and you won't need to perform this step.

2. Next we need to create the directory that we will download our torrents into. You can use any directory that you have permission to use for this this but a sub-directory in your home directory will often make things easier. For this tutorial I will be using a sub-directory in the user's home directory called 'torrents'. To create this directory simply navigate to your home directory

Places → Home Folder

right click on some empty space and select 'Create Folder'. Name this folder 'torrents'.

3. To automate the task of downloading torrents, and stopping the downloads at an appropriate time, we are going to create some very simple bash scripts (For more on bash scripts see here). We will use the familiar graphical text editor gedit for this task.

In your home folder right click some empty space and select

'Create Document' → 'Empty File'

Name this file 'bittorrentstart'. Perform this task again to create another file and call this one 'bittorrentstop'. You can place these files anywhere you like, perhaps in a directory called 'scripts', but this tutorial will assume they are in your Home directory.
Double click the file 'bittorrentstart' to open it and paste in the following information


#!/bin/sh
# Start Downloading Torrent Files!
cd
nohup btlaunchmany /home/Your_User_Name/torrents/ > torrent.log &
tail -f torrent.log

Make sure you change the 'Your_User_Name' to your user-name. Save this file, open 'bittorrentstop' and paste in the following information

#!/bin/bash
# Stop Downloading ALL Torrent Files!
killall btlaunchmany


4. The second part of automating the downloading of torrents is to tell our computer when to execute the start script and execute the stop script. To do this we use a tool called cron . To make the editing of cron entries simple we are going to create a text file that we will edit in gedit (like the bash scripts above) and then append it to our cron entries.

While in your Home directory right click on some empty space and select

'Create Document' → 'Empty File'

Name this file 'cron.txt'. Double click this file to open it and enter in the following information


# Start BitTorrent Download Script
05 02 * * * sh /home/Your_User_Name/bash_scripts/bittorrentstart.sh
# Stop ALL BitTorrent Downloads Script
55 11 * * * sh /home/Your_User_Name/bash_scripts/bittorrentstop.sh

Be sure to enter your user-name in the required fields. This setup will start the download start script at 2:05am and start the download stop script at 11:55am. These values will likely not suit you so you need to alter them. To understand the format of cron entries picture five asterisks at the start followed by your command. Something like the following

* * * * * sh /home/Your_User_Name/bash_scripts/bittorrentstart.sh

The first asterisk represents minutes, the second hours, the third days of the month, the fourth is the month, and the fifth the day of the week. The allowed syntax is

minute 0-59
hour 0-23
day of month 1-31
month 1-12 (or the month names)
day of week 0-7 (0 or 7 is Sun, or use the weekday names)

Save this file and start up your terminal emulator

Applications → Accessories → Terminal

Enter in the following command

crontab cron.txt

To verify that this was entered into your cron entries properly enter in the following command

crontab -l

5. Now that we've installed the relevant applications and told the computer to execute the appropriate tasks at the appropriate times all we need to do is save our *.torrent files into the bittorrent directory we created earlier and wait. At the appropriate times they will be downloaded into their own sub-directory without you even being aware.

6. In the bittorrentstart script we created earlier there is a command to create a log file. This file records the activity of the torrent downloads. This file, called 'torrent.log', will be found in your Home directory. You can simply open this file to check on the status of your downloads. A sample line from this log file is

/home/Your_User_Name/torrents/torrent_name: Spd: 34.0 K/s:18.2 K/s Tot: 171.2 M:61.1 M [18:10:07 76%]
All: Spd: 34.0 K/s:18.2 K/s Tot: 171.2 M:61.1 M

What all of these entries mean is beyond the scope of this tutorial but you can easily recognise your connection speed and the percentage finished of your torrent downloads.

Ubuntu: Only Ubuntu

One to Many Bi-Directional Relation in Hibernate with Code Example

One to Many Bi-Directional Relation in Hibernate with Code Example

Hibernate: del.icio.us tag/hibernate

criteria query to get results in ORDER hibernate - Google Search

criteria query to get results in ORDER hibernate - Google Search

Hibernate: del.icio.us tag/hibernate

South India Tour

Holidays2India offering South India tour packages, travel to South India, South India travel packages, Southern India tour packages, holidays in South India, South India wildlife tour, beaches and backwaters tour in South India.

User:seoalok: Travel Tour in India

North India Tour

Info2India organize North India tour packages, North India tours, travel to North India, India tour packages, India tours, holidays in North India, pilgrimage tour packages, North India cultural tour packages

User:seoalok: Travel Tour in India

South India Tours | Southern Tour Packages

India Travel Junction offers South India tours, South India tour packages, tour to South India, travel to South India, holidays in South India, vacation in South India, holiday packages to South India

User:seoalok: Travel Tour in India

India Tours

Holidays2India provide customize tour packages for India tours, India tour packages, India tours, holidays in India, pilgrimage tour packages, Indian cultural tour packages, holiday packages South North India, travel to India, wildlife tour, honeymoon in india

User:seoalok: Travel Tour in India

India Tours, Tour to India

India Travel Junction offers budget packages for India tours, India travel, India tour, India tour packages, travel to India, holidays in India, Rajasthan tours, travel to vacation in South North India, wildlife tour India, adventure travel trip India.

User:seoalok: Travel Tour in India

Howto upgrade IOS on a 3750 switch stack

If you want to upgrade IOS on a 3750 switch stack follow this procedure

There are some new IOS commands to automate upgrading of a stack, but I use the familiar manual method.

(...)
Read the rest of Howto upgrade IOS on a 3750 switch stack (264 words)


© Admin for Debian Admin, 2008. | Permalink | No comment

Add to del.icio.us

Search blogs linking this post with Technorati

Want more on these topics ? Browse the archive of posts filed under Network.

---
Related Articles at Debian Admin:

  • Howto setup DHCP Server and Dynamic DNS with BIND in Debian
  • Ddclient - Update IP addresses at dynamic DNS service
  • Upgrade Cisco IOS in a Router or a Switch
  • Setting Port Security on a Cisco Catalyst Switch
  • Access Network When Everything Else is Blocked Using ptunnel
  • Howto Setup Cisco Router Auxiliary,Console and Telnet Passwords

  • Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    My SysAd Blog Changes Domain Name

    I finally implemented the domain name, www.mysysad.com, for My SysAd Blog. I had been reluctant to change the name because I had heard nightmare stories where a site’s traffic dries up overnight. But apparently Blogger does a decent job forwarding requests to your new domain. I have not really noticed a drop off. Knock on wood though…

    I found my domain registrar, yahoo, Advanced DNS settings to be somewhat limited. I had no problems setting up the canonical name (www.mysysad.com) to Google’s ghs.google.com, which is a load balanced server array, but setting up the A record for mysysad.com has been annoying. Unless the A record is pointing to an explicit hostname IP, yahoo will not allow it. I was trying to set it to ghs.google.com. Moreover, Blogger will not forward requests for mysysad.com to www.mysysad.com, even if told to do so in the publishing backend. It goes to the “parked page.” I had to set an explicit IP for Blogger to work on the non-www version. I sent yahoo an email about the aforementioned, but I have yet to receive a response, not even an automated acknowledgment. That has been the case in previous contact attempts, too (i.e. transferring domains). It appears I have two options: a 301 redirect or a new DNS host.

    While visiting China in November 2007, I remember attempting to access esofthub.blogspot.com but was redirected to the Baidu.com search engine. But when I clicked on its link, it was blocked. I was later told the *.blogspot.com domain was blocked there. I wonder if that is still the case…

    For the blogs linking back to me, I would greatly appreciate if you would change your link from http://esofthub.blogspot.com to http://www.mysysad.com. Thanks.

    Here is a great resource regarding the aforementioned issue.
    The Real Blogger Status

    In particular
    Google customer domain setup DNS referral
    DNS host is crucial for custom domain
    Use CNAME referral for custom domain
    Custom domains using 301 redirect
    Setting up custom domain here's advice

    #####
    Update: Three hours after this post, I received this message from Yahoo! I guess I won't be using Google's ghs.google.com - load balanced server array. Yahoo's solution was different from Bloggers. At any rate, thanks Heather. Here is the response from yahoo.
    #####

    Hello,

    Thank you for writing to Yahoo! Domains.

    I welcome the opportunity to assist you.

    I understand from your email that your domain "mysysad.com" is not working without 'www'.

    I realize that you have been greatly inconvenienced by this situation. I am glad to provide you further assistance.

    With the help of your test permission, I accessed your account and found that you have set A records for your domain.

    I further checked your account and found that you have also set CNAME records to "ghs.google.com". Due to this reason your website was not resolving.

    I have rectified the problem and now your website is working fine without 'www' and showing all the contents as below:

    "My SysAd Blog -- UNIX

    This blog covers UNIX system administration HOWTO tips for using inline for loops, find command, UNIX scripting, configuration, SQL, various UNIX-based tools, and command line interface syntax. The UNIX OS supports tasks such as running hardware, device drivers, peripherals and third party applications. Share tips/comments. Read the comments. But most importantly: Read Disclaimer - Read Disclaimer.

    Sunday, April 20, 2008

    My SysAd Blog Changes Domain Name

    I finally implemented the domain name, www.mysysad.com, for My SysAd Blog. I had been reluctant to change the name because I had heard nightmare stories where a site's traffic dries up overnight. But apparently Blogger does a decent job forwarding requests to your new domain. I have not really noticed a drop off. Knock on wood though..."

    ------------------------

    In many cases, issues with your browser can be responsible for the difficulty. Clearing your browser's cache and deleting the cookie files on your computer can often resolve these issues.

    Therefore, I would suggest you to clear cache and cookie of your browser.

    To clear your cache:

    1. Open Internet Explorer 7 and click on the "Tools" menu.
    2. Select "Internet Options."
    3. Click on the "General" tab if it isn't selected already.
    4. Click on the "Delete..." button.
    5. Under the heading "Temporary Internet files," click "Delete
    Files..."
    (Note that it can take up to 30 minutes for your computer to delete
    your cache history.)
    6. Click "OK" to exit.

    To clear your cookies:

    1. Click on "Tools" > "Internet Options" > "General" again.
    2. Click the "Delete..." button.
    3. Under the heading "Cookies," click on "Delete cookies..."
    4. Click "Yes" for the "Delete all cookies in the Temporary Internet
    Files folder?" prompt.
    5. Click "Close" to exit.

    I would also suggest you to replicate the issue in a different browser and in a different system.

    Therefore, with the help of above given steps, you will be able to view your website without facing any problems.

    However, if you feel your question was not addressed, please let us know by responding to this email. Please describe all of the actions you took that led up to the problem, the exact text of any error messages you received, and how often this occurs.

    The more information we have, the better able we will be to investigate this issue.

    I have tried my best to address your concerns and I hope my explanations are up to your satisfaction, as your satisfaction is my primary goal.

    Please do not hesitate to reply if you need further assistance.

    Regards,

    Heather

    Yahoo! Customer Care

    For assistance with all Yahoo! services please visit:

    http://help.yahoo.com/

    Original Message Follows:
    -------------------------

    Yahoo Id: NO_WAY_SPAMMER
    First Name: Roy
    Last Name: Wood
    Email Address: NO_WAY_SPAMMER at whatever
    Domain Name: mysysad.com
    Comments: I'm trying to add ghs.google.com as an A record for mysysad.com (points to my esofthub.blogspot.com account). But it's not working. It keeps failing because I'm trying to use Google's "ghs.google.com." as a destination. I want this config because it's a load balancing server array, not a single server. Can you make the modification? Most other web host allows this type of modification. I don't understand why Yahoo.com is limiting it. The only thing (extraneous ...) The www.mysysad.com works fine.
    Subject: A Record
    Browser: Internet Explorer
    Operating System: Windows Vista
    Email Tool: none
    Site Building Tool: none
    Internet Connection: Dial-up
    Permit Test: yes

    Unix: My SysAd Blog

    Howto bind ssh to selected IP address

    ssh (SSH client) is a program for logging into a remote machine and for executing commands on a remote machine. It is intended to replace rlogin and rsh, and provide secure encrypted communications between two untrusted hosts over an insecure network. X11 connections and arbitrary TCP ports can also be forwarded over the secure channel.

    We all know, by default installation of openssh daemon service (sshd), it binds itself to all existing IP address from given host.

    Alternatively, if you wish to bind sshd service to selected IP address, this is possible by simply editing /etc/ssh/sshd_config file.

    First, always make a backup copy of conf files you wish to edit.

    # cp /etc/ssh/sshd_config /etc/ssh/sshd_config.backup

    Launch your fave text editor and edit /etc/ssh/sshd_config

    #vi /etc/ssh/sshd_config

    Go to specific lines that shows

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ListenAddress *
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    If you wish to bind ssh to existing 2 IP address, let’s say 192.168.1.5 and 192.168.1.7 , this could be done by changing the above sshd_config lines to

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ListenAddress 192.168.1.5
    ListenAddress 192.168.1.7
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    and Restart sshd daemon using the following command

    # service sshd restart

    One applicable instance that his can be useful is that when you have a group of ssh users and there are times you need to disconnect all those currently logged in ssh users except your own remote ssh connections. This can be simply done by shutting down the other interface from where those ssh users are currently connected. And ofcourse, you need to be currently connected with the other interface before shutting down the other interface or IP address.

    Tags: , , , , addthis_url = 'http%3A%2F%2Fwww.debianadmin.com%2Fhowto-bind-ssh-to-selected-ip-address.html'; addthis_title = 'Howto+bind+ssh+to+selected+IP+address+'; addthis_pub = 'david23';

    ©2007 Debian Admin. All Rights Reserved.

    .

    Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    Links and Pseudo-Classes in CSS

    Links and Pseudo-Classes in CSS

    W3C: Del.icio.us W3C Tags

    Howto Boot debian in text mode instead of graphical mode (GUI)

    This is very useful tip for all debian users

    You can prevent automatic running of the GUI when you boot your debian machine by disabling your login manager be it KDM, GDM or XDM from running at boot time. To disable the login manager from automatically running at boot up, run the following command as root

    #update-rc.d -f gdm remove

    Replace gdm with kdm or xdm if they are what you use.

    To start X manually, you would then have to login at the command prompt and enter the command startx.

    To reset your login manager so that it runs at boot up, do

    #update-rc.d -f gdm defaults

    Tags: , , , ,

    Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    Howto restrict su command to superuser only in Linux

    su is run a shell with substitute user and group IDs. su is used to become another user during a login session. Invoked without a username, su defaults to becoming the super user. The optional argument - may be used to provide an environment similar to what the user would expect had the user logged in directly.

    Restricting su command to root superuser only is simple.

    First, determining the path location of the binary is required using the following command

    # which su

    returns
    ~~~~~~~~~~~~~~~
    /bin/su
    ~~~~~~~~~~~~~~~

    Remember the current file mode bits and restrictions for su binary

    # ls -la /bin/su

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    -rwxr-xr-x 1 root root 24284 Apr 28 2007 /bin/su
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    Noticed that su binary is world executable and world readable. This basically means anybody can call and execute the su binary and gain access to perhaps stolen password with bash-enabled user accounts. If you wish to change this, you can issue the following command as follows

    # chmod 700 /bin/su

    So, only root and root alone can call su binary command.

    Note that, it is not advisable to do this if your su binary is set to suid root, that has similar attributes like below:

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    -rwsr-xr-x 1 root root 27052 2007-08-02 18:33 /bin/su
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    as it could affect some apps and package that links to suid root-ted su binary.

    Tags: , , , ,

    Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    Rename multiple files to another extension in Linux

    Let us say that you want to rename all of your “.php5″ files to “.php” files. You can use for loop.


    for old in *.php5; do cp $old `basename $old .php5`.php; done

    Thats all there is to it. Let us say you need to rename index.php5 to index.php. The way above snippet works is that it loops through current directory and finds all the files with extension “.php5″ and processes ‘one by one. In our index.php5 file example, it finds index.php5 file, does a cp index.php5 `basename index.php5 .php5`.php Tag:

    Debian: Debian Admin Step By Step Tutorials and articles with screenshots

    Page 1 | Next >>