• filter:
  • Page :
  • 1
  • Text Only
  • Search this Topic »
rated:
Need to learn UNIX / LINUX. I am complete Novice and want to get some  training.  Does someone know of any "FREE" online training
with hands on experience.

Again, Need to learn UNIX / LINUX training from ground zero !!

TIA

Member Summary
Staff Summary
Thanks for visiting FatWallet.com. Join for free to remove this ad.

rated:
I would start with installing a Linux (maybe Ubuntu) in a virtual environment using Virtual Box, and play with it. There are plenty of tutorial on Ubuntu, if you Google for them.

rated:
I believe CodeAcademy still has free lessons.

rated:
Although not free, there's a Humble Book Bundle that will net you some Unix/Linux ebooks starting at just $1:
https://www.humblebundle.com/books/unix-book-bundle

rated:
Various books called "LINUX bibles" can be purchased, inexpensively online which will be for any given, specific version of LINUX -- Debian or Ubuntu, Fedora, for example..

However, a large part of using Linux will probably be use of the 'shell.' Operating instructions for the shell. For example, check out what this link article has to say:

https://www.helpnetsecurity.com/2003/03/07/the-complete-linux-shell-programming-training-course/

Myself, I would start off by looking for documents at linux.org.

For the shell, BASH would be a good place to start. There's almost nothing that can't be done from the shell:

http://tldp.org/guides.html

rated:
UNIX / LINUX is a wide field. Can you narrow it down to what your intent with the knowledge is?
system engineering, system admin, programmer, DBA, ?

Are you leaning more towards a specific UNIX or Linux?
AIX, Solaris, Redhat, ?

rated:
Thank you all for providing me help. 

My intent is to learn UNIX and Linux to do basic level of UNIX....should know all commands, shell scripting, moving files within the same server or do to 
move (FTP ?) files from one server to another....albeit securely...SSH ?

I need to learn quickly for keeping getting job.

Progress So far:

1. VirtualBox
  Great tool but cannot make debian work on it...
2. Cannot find a free online server to practice and gain experience on what I want to do

TIA
 

rated:
Why free?

You can't find a free server because it uses resources that are expensive.

Just go to http://www.lowendbox.com and rent a box for about $3/month, then play to your hearts content and then cancel.

rated:
forbin4040 said:   Why free?

You can't find a free server because it uses resources that are expensive.

Just go to http://www.lowendbox.com and rent a box for about $3/month, then play to your hearts content and then cancel.

   Thank you. I don't mind paying lw monthly fees for access. 

rated:
Another nice thing is that if you screw up the box you can go to the main control panel, destroy the 'container' and start over.

rated:
This site has some pre-built Debian images for VirtualBox
https://www.osboxes.org/debian/

rated:
haramkhor said:   My intent is to learn UNIX and Linux to do basic level of UNIX....should know all commands, shell scripting, moving files within the same server or do to 
move (FTP ?) files from one server to another....albeit securely...SSH ?

 

  
for most basic level tasks
file manipulation (moving files to different directories, copying files, being able to change text in a file) - mv, cp, cat, egrep, ls, chown, chmod, dos2unix, unix2dos, fold, dd, OD, ftp, sftp/ssh (you need to exchange keys to automate this in a script)

command line editor. vi can be found on about any unix or variant  basic cheatsheet: http://www.kcomputing.com/pdf/kcvi.pdf 

there are plenty of bash tutorials you can find. example:  http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html 

You should find out what this job you want is looking for.  Then you could get a list of the requirements for the job and better focus on relevant topics. 


 

rated:
So here is what I want to do and learn:

1. learn Unix/Linux Operating Systems and commands
2. Learn how to do shell scripting
3. Learn how to ftp files from one server to another server. (how to ftp files from one sever to two servers at the same time)
4. Learn how to ftp files from one server to another using SSH (How to do it in secure manner)
6. How to harden the servers (Thanks for tell me about Lowendbox...it does have a section on how to harden servers)
7. Setup Virtual server for myself, and two other buddies and start performing the tasks above

Thanks

rated:
1) Take about 3 months to get good
2) I still don't have this one down.
3) You don't 'ftp' between servers, you rcp or scp between servers.
4) scp is the secure version of rcp. You will need to learn how to use RSA keys
6) I have no idea what this.
7) some of the larger boxes can fit in a virtual server.

rated:
perfectly fine to use rcp / scp.  You should do an internet search to learn why you would use each and when would you use ftp/sftp instead or something else.

Here is an example sftp to a remote server with an automatic retry if it fails and it calls another script if it fails twice to send an email. 
Beforehand you have to have keys already sorted. 
I would recommend using batch mode if you go with sftp because it has built-in error checking. 

you build the commands to actually send the file/etc.  in $TMPDIR/sftp_commands.txt  and then you call sftp in batch mode using that file to drive the transfer

disclaimer:  I do batch scripts in ksh  not bash.

example: $TMPDIR/sftp_commands.txt file
put /WrkDir/userfiles/tmp/file_to_send replace
ls -l




echo "SFTP TO other server as user remoteuser "

sftp -b $TMPDIR/sftp_commands.txt remoteuser@10.160.1.1 > $TMPDIR/sftp.$$

cond=$?

echo $cond >> $TMPDIR/sftp.$$
if [ $cond -ne 0 ]

        then
        cat $TMPDIR/sftp.$$
        sleep 30
        sftp -b $TMPDIR/sftp_commands.txt remoteuser@10.160.1.1 >> $TMPDIR/sftp.$$

        cond=$?

        echo $cond >> $TMPDIR/sftp.$$

        if [ $cond -ne 0 ]

                then
                cat $TMPDIR/sftp.$$
                /user/localuser/scripts/sendsftp_failure.sh " `uname -n` - $USER - SFTP Failed. " < /$TMPDIR/sftp.$$

        fi
fi

 

rated:
I am novice who is just starting out.  

Here is the progress so far. I have signed up with a provider. So in reading the faqs and also at lowendbox website, I should harden the server to deflect Brute force attacks. So I did the following:

1. Set up hostname and root password. 
2. Got the ip address for the server
3. downloaded the application putty to communicate with the server.

Now I started to change the SSH Port from 22 to 12322.and once successful will change the firewall settings.

below please find the steps I took and then need assistance on how to change the SSH Port number

1. using Putty to initiate a SSH session to the server as root and with my root password
2. See pic below as to what the response is.

3. To change the SSH port from 22 to 12322 i enter the command vim /etc/ssh/sshd_config and get the following screen.

Now i do not know what the next step is ? How to change the SSH Port # ?

 

rated:
Change the line that has the port listed.   
Save the file. 
exit the editor
restart the sshd service. 
 

  • Quick Reply:  Have something quick to contribute? Just reply below and you're done! hide Quick Reply
     
    Click here for full-featured reply.


Disclaimer: By providing links to other sites, FatWallet.com does not guarantee, approve or endorse the information or products available at these sites, nor does a link indicate any association with or endorsement by the linked site to FatWallet.com.

Thanks for visiting FatWallet.com. Join for free to remove this ad.

While FatWallet makes every effort to post correct information, offers are subject to change without notice.
Some exclusions may apply based upon merchant policies.
© 1999-2016