UNIX
Tags:
Mounting CDROM on remote server
===============================
For the server:
1. # vi /etc/dfs/dfstab
share -F nfs -o ro /cdrom/cdrom0
2. # shareall
3. # share
4. # /etc/init.d/nfs.server stop
5. # /etc/init.d/nfs.server start
For the client:
1. When automountd is NOT running:
2. # mount -F nfs servername:/cdrom/cdrom0 /mnt/cdmount
3. # cd /mnt/cdmount
4. # ls
1. When automountd is running:
2. # cd /mnt/servername/cdrom/cdrom0
»
- Add new comment
- 2901 reads
Tags:
Enable/Disable TELNET
Disabling telnet for Unix systems running inetd
To disable telnetd, edit /etc/inetd.conf and comment out the telnetd entry and then refresh inetd.
In /etc/inetd.conf there is a line like
telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
which can be found by search the string telnet. Comment it out by putting the pound character ("#")
at the beginning of the line so that the entry looks like
#telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
»
- Add new comment
- Read more
- 2865 reads
Tags:
Enable/Disable FTP in: /etc/inetd.conf uncomment/comment line: ##ftp stream tcp6 nowait root /usr/sbin/in.ftpd in.ftpd start/stop: /etc/init.d/inetsvc start /etc/init.d/inetsvc stop reverse process to disable To Disable/Enable ftp in Solaris 10: -------------------------------------- svcadm disable ftp svcadm enable ftp
»
- Add new comment
- 3563 reads
Tags:
How To Convert Numbers to Decimal on the Command Line: ------------------------------------------- to convert HEX to decimal: echo "ibase=16; 38E" | bc (where ibase is the number base, for HEX, 16 and the number following the ; is the number you wish to convert) For Octal, change the ibase to 8, for Binary, change the ibase to 2.
»
- Add new comment
- 3167 reads
Tags:
to automount NFS on the server to be mounted from: edit the /etc/dfs/dfstab file to share the directory to be mounted. example: *********************************************************************************** share -F nfs -o ro=hostname.domain.com /u01/app/jboss/server/all/log *********************************************************************************** stop/start /etc/init.d/nfs.client & /etc/init.d/nfs.server on server to be mounted on: edit the /etc/auto_export file to add the mountpoint: example:
»
- Add new comment
- Read more
- 3008 reads
