SlideShare a Scribd company logo
1 of 13
xmms-1.2.10-9.i386.rpm
Package Name Version Type of Extension
architecture
 rpm <options> <package name>
 rpm -ivh <package name>
--aid (install package along with dependencies)
--force (forcefully)
-U (upgrade the package)
# rpm -q <package name> (Show whether package is install or not)
-qa (queries all installed rpm packages)
-qc (lists only the configuration files stored in the
queried package)
-qd (lists only the documentation files stored in the
queried rpm)
-qi (displays whole information about the queried rpm)
-qs (displays the states of files in the queried rpm)
-ql (displays all files related to the queried rpm)
crontab -e -u username
*/1 * * * * echo ‘Hello’ > /dev/tty2 (min, hour, date, month, day)
save file.
 service crond restart (now when user login on 2nd
terminal it will get
message hello after every 1 min.)
 crontab -l -u username (to see how many crontab are running for user)
 crontab -r -u username (deletes the crontab)
 crontab –e
11 12 * * * mkdir rahul
1. # vi .bashrc (This is hidden file & used to create shortcuts for
commands)
alias c=’clear’
alias m=’mkdir’
save the file
by typing the above words it will create shortcut for clear and mkdir (c & m)
but after editing file first logout & again login.
2. # vi .exrc (we have to create this file)
:se nu (write this in the file)
save the file
After saving file you will find line numbers already written in every file you open
for editing
 neat To open network configuration on
graphic terminal
 ifconfig To check the IP & MAC address of
NIC.
 ifconfig eth0 <ip address> To assign temporary IP
 ifup eth0 To enable network card.
 ifdown eth0 To disable network card.
 vi /etc/sysconfig/network-scripts/ifcfg-eth0
 vi /etc/sysconfig/networking/devices/ifcfg-eth0
To assign permanent IP , here we have to edit a file
ping (-c2, -a) <ip address> - To check connectivity
(-c2 for seeing two lines, -a listing)
wget <website> - To download the website
home page
elinks <website> - To open website in command line
htmlview <website name> - To open website in command line
Sharing of files & folders between Linux.
Packages:
portmap-4.0-63.i386.rpm
nfs-utils-1.0.6-4.6.i386.rpm
Port Number:
2049 – nfsd
111 – portmap
Configuration File:
/etc/exports
Service:
portmap
Nfs
Daemons:
nfsd
Create a folder and make files or paste files you want to share from in
network.
(ex.- /var/dump)
Edit file for sharing
# vi /etc/exports
/var/dump *(rw)
/var/rahul 192.168.1.15(ro) (save the file)
(in first line, we have share /var/dump for all users in a network with read &
write permission & in second line, we have shared /var/rahul only for the
PC having IP address 192.168.1.15 with read only permission)
 service nfs restart
 service portmap restart
 showmount -e (To check NFS Server and its shared directory from Server itself)
 showmount -e <IP address of Server > (To check NFS Server and its shared
doc from client)
CLIENT END: For taking NFS server service we have to mount directory from
server to client
 mount -t nfs <server IP>:/var/dump /mnt
 cd /mnt (here you will find all the shared material)
 cd /net
 cd /IP of NFS Server
Required Package
vsftpd*
 rpm -ivh vsftpd*
 vi /etc/vsftpd/vsftpd.conf
We have to remove # infront of the following lines.
Line no. 12:
anonymous = default user
(FTP uses two users anonymous & FTP anonymous has no password)
Line no. 15:
local_enable=yes
(Local user can login through FTP)
Line no. 18:
write_enable=yes
(write permission is enabled to FTP)
Line no. 27:
anon_upload_enable=yes
(anonymous user can upload files)
Line no. 31:
anon_mkdir_write_enable=yes
(anonymous user can create directory )
Line no. 35:
dir message enable=yes
Line no. 85:
Ftpd_banner= welcome to FTP
service vsftpd restart
Client end:
ftp <Server IP>
>cd pub
>get <filename> (download)
>put <filename> (upload)
>bye (exit)

More Related Content

What's hot

Configuration of SFTP Server on CentOS 8.pdf
Configuration of SFTP Server on CentOS 8.pdfConfiguration of SFTP Server on CentOS 8.pdf
Configuration of SFTP Server on CentOS 8.pdfKaan Aslandağ
 
Anandha ganesh linux1.ppt
Anandha ganesh linux1.pptAnandha ganesh linux1.ppt
Anandha ganesh linux1.pptanandha ganesh
 
Termux commands-list
Termux commands-listTermux commands-list
Termux commands-listDhanushR24
 
Linux System Administration - NFS Server
Linux System Administration - NFS ServerLinux System Administration - NFS Server
Linux System Administration - NFS ServerSreenatha Reddy K R
 
17 Linux Basics #burningkeyboards
17 Linux Basics #burningkeyboards17 Linux Basics #burningkeyboards
17 Linux Basics #burningkeyboardsDenis Ristic
 
Common linux ubuntu commands overview
Common linux  ubuntu commands overviewCommon linux  ubuntu commands overview
Common linux ubuntu commands overviewAmeer Sameer
 
[PDF] 2021 Termux basic commands list
[PDF] 2021 Termux basic commands list [PDF] 2021 Termux basic commands list
[PDF] 2021 Termux basic commands list nisivaasdfghj
 
Sistemas operacionais 8
Sistemas operacionais 8Sistemas operacionais 8
Sistemas operacionais 8Nauber Gois
 
Using the command line on macOS
Using the command line on macOSUsing the command line on macOS
Using the command line on macOSAdamFallon4
 
Linux Networking Commands
Linux Networking CommandsLinux Networking Commands
Linux Networking Commandstmavroidis
 

What's hot (20)

Configuration of SFTP Server on CentOS 8.pdf
Configuration of SFTP Server on CentOS 8.pdfConfiguration of SFTP Server on CentOS 8.pdf
Configuration of SFTP Server on CentOS 8.pdf
 
Anandha ganesh linux1.ppt
Anandha ganesh linux1.pptAnandha ganesh linux1.ppt
Anandha ganesh linux1.ppt
 
Termux commands-list
Termux commands-listTermux commands-list
Termux commands-list
 
Linux System Administration - NFS Server
Linux System Administration - NFS ServerLinux System Administration - NFS Server
Linux System Administration - NFS Server
 
ubunturef
ubunturefubunturef
ubunturef
 
17 Linux Basics #burningkeyboards
17 Linux Basics #burningkeyboards17 Linux Basics #burningkeyboards
17 Linux Basics #burningkeyboards
 
Basics of-linux
Basics of-linuxBasics of-linux
Basics of-linux
 
Common linux ubuntu commands overview
Common linux  ubuntu commands overviewCommon linux  ubuntu commands overview
Common linux ubuntu commands overview
 
RPM (LINUX)
RPM (LINUX)RPM (LINUX)
RPM (LINUX)
 
UNIX/Linux training
UNIX/Linux trainingUNIX/Linux training
UNIX/Linux training
 
[PDF] 2021 Termux basic commands list
[PDF] 2021 Termux basic commands list [PDF] 2021 Termux basic commands list
[PDF] 2021 Termux basic commands list
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
Sistemas operacionais 8
Sistemas operacionais 8Sistemas operacionais 8
Sistemas operacionais 8
 
40 important command for linux
40 important command for linux40 important command for linux
40 important command for linux
 
Using the command line on macOS
Using the command line on macOSUsing the command line on macOS
Using the command line on macOS
 
DNS (BIND) on CentOS
DNS (BIND) on CentOSDNS (BIND) on CentOS
DNS (BIND) on CentOS
 
Linux Networking Commands
Linux Networking CommandsLinux Networking Commands
Linux Networking Commands
 
Basic linux commands
Basic linux commandsBasic linux commands
Basic linux commands
 
Basics of Linux
Basics of LinuxBasics of Linux
Basics of Linux
 
Apache1.ppt
Apache1.pptApache1.ppt
Apache1.ppt
 

Similar to Rhel3

Linux Commands - Cheat Sheet
Linux Commands - Cheat Sheet Linux Commands - Cheat Sheet
Linux Commands - Cheat Sheet Isham Rashik
 
Linux or unix interview questions
Linux or unix interview questionsLinux or unix interview questions
Linux or unix interview questionsTeja Bheemanapally
 
Linux internet server security and configuration tutorial
Linux internet server security and configuration tutorialLinux internet server security and configuration tutorial
Linux internet server security and configuration tutorialannik147
 
Introduction to linux day1
Introduction to linux day1Introduction to linux day1
Introduction to linux day1Gourav Varma
 
Linux training
Linux trainingLinux training
Linux trainingartisriva
 
Arp Dan Ipconfig Syntax
Arp Dan Ipconfig  SyntaxArp Dan Ipconfig  Syntax
Arp Dan Ipconfig Syntaxguestcc37e8c
 
Router Commands Overview
Router Commands OverviewRouter Commands Overview
Router Commands OverviewMuhammed Niyas
 
Server configuration
Server configurationServer configuration
Server configurationAisha Talat
 
Unix commands in etl testing
Unix commands in etl testingUnix commands in etl testing
Unix commands in etl testingGaruda Trainings
 
Unixcommandsinetltesting 130712050932-phpapp01
Unixcommandsinetltesting 130712050932-phpapp01Unixcommandsinetltesting 130712050932-phpapp01
Unixcommandsinetltesting 130712050932-phpapp01Gyanendra Kumar
 
linux_Commads
linux_Commadslinux_Commads
linux_Commadstastedone
 
File Transfer Protocol
File Transfer ProtocolFile Transfer Protocol
File Transfer ProtocolOm Prakash
 
101 3.2 process text streams using filters
101 3.2 process text streams using filters101 3.2 process text streams using filters
101 3.2 process text streams using filtersAcácio Oliveira
 

Similar to Rhel3 (20)

Linux
LinuxLinux
Linux
 
Linux Commands - Cheat Sheet
Linux Commands - Cheat Sheet Linux Commands - Cheat Sheet
Linux Commands - Cheat Sheet
 
Linux or unix interview questions
Linux or unix interview questionsLinux or unix interview questions
Linux or unix interview questions
 
Linux internet server security and configuration tutorial
Linux internet server security and configuration tutorialLinux internet server security and configuration tutorial
Linux internet server security and configuration tutorial
 
DevOps Braga #6
DevOps Braga #6DevOps Braga #6
DevOps Braga #6
 
Introduction to linux day1
Introduction to linux day1Introduction to linux day1
Introduction to linux day1
 
Linux training
Linux trainingLinux training
Linux training
 
Arp Dan Ipconfig Syntax
Arp Dan Ipconfig  SyntaxArp Dan Ipconfig  Syntax
Arp Dan Ipconfig Syntax
 
Linux
Linux Linux
Linux
 
Router Commands Overview
Router Commands OverviewRouter Commands Overview
Router Commands Overview
 
Samba
SambaSamba
Samba
 
Server configuration
Server configurationServer configuration
Server configuration
 
Linux
LinuxLinux
Linux
 
Linuxppt
LinuxpptLinuxppt
Linuxppt
 
Unix Administration 2
Unix Administration 2Unix Administration 2
Unix Administration 2
 
Unix commands in etl testing
Unix commands in etl testingUnix commands in etl testing
Unix commands in etl testing
 
Unixcommandsinetltesting 130712050932-phpapp01
Unixcommandsinetltesting 130712050932-phpapp01Unixcommandsinetltesting 130712050932-phpapp01
Unixcommandsinetltesting 130712050932-phpapp01
 
linux_Commads
linux_Commadslinux_Commads
linux_Commads
 
File Transfer Protocol
File Transfer ProtocolFile Transfer Protocol
File Transfer Protocol
 
101 3.2 process text streams using filters
101 3.2 process text streams using filters101 3.2 process text streams using filters
101 3.2 process text streams using filters
 

More from Yash Gulati

More from Yash Gulati (7)

Rhel6
Rhel6Rhel6
Rhel6
 
Rhel 6.2 complete ebook
Rhel 6.2 complete ebookRhel 6.2 complete ebook
Rhel 6.2 complete ebook
 
Rhel 6.2 complete ebook
Rhel 6.2  complete ebookRhel 6.2  complete ebook
Rhel 6.2 complete ebook
 
Rhel5
Rhel5Rhel5
Rhel5
 
Rhel4
Rhel4Rhel4
Rhel4
 
Rhel2
Rhel2Rhel2
Rhel2
 
Rhel1
Rhel1Rhel1
Rhel1
 

Recently uploaded

Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 

Recently uploaded (20)

Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 

Rhel3

  • 1.
  • 2. xmms-1.2.10-9.i386.rpm Package Name Version Type of Extension architecture  rpm <options> <package name>  rpm -ivh <package name> --aid (install package along with dependencies) --force (forcefully)
  • 3. -U (upgrade the package) # rpm -q <package name> (Show whether package is install or not) -qa (queries all installed rpm packages) -qc (lists only the configuration files stored in the queried package) -qd (lists only the documentation files stored in the queried rpm) -qi (displays whole information about the queried rpm) -qs (displays the states of files in the queried rpm) -ql (displays all files related to the queried rpm)
  • 4. crontab -e -u username */1 * * * * echo ‘Hello’ > /dev/tty2 (min, hour, date, month, day) save file.  service crond restart (now when user login on 2nd terminal it will get message hello after every 1 min.)  crontab -l -u username (to see how many crontab are running for user)  crontab -r -u username (deletes the crontab)  crontab –e 11 12 * * * mkdir rahul
  • 5. 1. # vi .bashrc (This is hidden file & used to create shortcuts for commands) alias c=’clear’ alias m=’mkdir’ save the file by typing the above words it will create shortcut for clear and mkdir (c & m) but after editing file first logout & again login. 2. # vi .exrc (we have to create this file) :se nu (write this in the file) save the file After saving file you will find line numbers already written in every file you open for editing
  • 6.  neat To open network configuration on graphic terminal  ifconfig To check the IP & MAC address of NIC.  ifconfig eth0 <ip address> To assign temporary IP  ifup eth0 To enable network card.  ifdown eth0 To disable network card.  vi /etc/sysconfig/network-scripts/ifcfg-eth0  vi /etc/sysconfig/networking/devices/ifcfg-eth0 To assign permanent IP , here we have to edit a file
  • 7. ping (-c2, -a) <ip address> - To check connectivity (-c2 for seeing two lines, -a listing) wget <website> - To download the website home page elinks <website> - To open website in command line htmlview <website name> - To open website in command line
  • 8. Sharing of files & folders between Linux. Packages: portmap-4.0-63.i386.rpm nfs-utils-1.0.6-4.6.i386.rpm Port Number: 2049 – nfsd 111 – portmap Configuration File: /etc/exports Service: portmap Nfs Daemons: nfsd
  • 9. Create a folder and make files or paste files you want to share from in network. (ex.- /var/dump) Edit file for sharing # vi /etc/exports /var/dump *(rw) /var/rahul 192.168.1.15(ro) (save the file) (in first line, we have share /var/dump for all users in a network with read & write permission & in second line, we have shared /var/rahul only for the PC having IP address 192.168.1.15 with read only permission)  service nfs restart  service portmap restart
  • 10.  showmount -e (To check NFS Server and its shared directory from Server itself)  showmount -e <IP address of Server > (To check NFS Server and its shared doc from client) CLIENT END: For taking NFS server service we have to mount directory from server to client  mount -t nfs <server IP>:/var/dump /mnt  cd /mnt (here you will find all the shared material)  cd /net  cd /IP of NFS Server
  • 11. Required Package vsftpd*  rpm -ivh vsftpd*  vi /etc/vsftpd/vsftpd.conf We have to remove # infront of the following lines. Line no. 12: anonymous = default user (FTP uses two users anonymous & FTP anonymous has no password) Line no. 15: local_enable=yes (Local user can login through FTP)
  • 12. Line no. 18: write_enable=yes (write permission is enabled to FTP) Line no. 27: anon_upload_enable=yes (anonymous user can upload files) Line no. 31: anon_mkdir_write_enable=yes (anonymous user can create directory ) Line no. 35: dir message enable=yes Line no. 85: Ftpd_banner= welcome to FTP
  • 13. service vsftpd restart Client end: ftp <Server IP> >cd pub >get <filename> (download) >put <filename> (upload) >bye (exit)