SCO Advanced Level of UNIX (iii)

Source: Internet
Author: User
Tags file system informix modify nameserver

22. Question: SCO unix5.06 How do I configure DNS?

A: vi/etc/resolv.conf content is: nameserver xxx.xxx.xxx.xxx. XXX.XXX.XXX.XXX is the actual DNS.

23. Question: How does Netscape use it?

Answer: 1. Plus Gateway

Log in as Superuser and type the following command:

Route add default 192.168.0.1 (IP address is gateway address)

At the same time can use Vi/etc/rc2.d/s99route to create a file, so that the machine will automatically load the gateway after boot

The contents of the file are:

Route add default 192.168.0.1

2. Plus DNS

Modify/etc/resolv.conf and add:

NameServer 192.168.0.1

(NameServer is the DNS server, and the IP behind is the IP of the DNS server)

Reboot can

3.netscape Agent configuration:

Edit->preferences-> Click on the small triangle in front of advanced->proxies->manual Proxy

Configuration view settings on the line.

24. Question: What is the procedure for PS/2 Mouse to set up under UNIX?

Answer: 1 Mkdev Mouse

2 Add a mouse to System

3 Ps-2style Keyboard Mouse

4 High Resolution Keyboard-mouse

25. Problem: I modified scounix5.0.5 IP address, but also the hostname modified, (with netconfig command, change the TCP/IP properties of the network card). But relink after the hostname command to display the host name is still the original, ping yourself, others (with the modified IP address) are normal. Can you tell me how to change the host name to a tune? Why is it unfortunate that I modify this?

A: Directly modify/etc/hosts file or Uuinstall,uname-s nodename can be.

26. Problem: This unit has a Compaq 3000 server, with a 4.3G scis hard drive, due to all the installation

Good Informix database data after the capacity of more than 4.3G, now want to add a 4.3G scis hard disk dedicated to store Informix data, ask if feasible, how to achieve?

A: Of course, first use Superuser Mkdev HD input scis HOST ADAPTER ID (default 0), LUN ID (default 0), Scis ID (the actual ID of the hard disk, for example, 4), and then use the divvy partition, as long as a partition, Make bare device name is data (file system type chooses non FS), completes after reboot machine, modify attribute chmod 666/dev/rdata,chown Informix:informix/dev/rdata ; You can now perform tbmonitor (5) with Informix users. 0 version) or Onmonitor (version 7). More than 0), select spaces-add chunk, input path:/dev/rdata,size:2000000k,offset:0, note that because each chunk up to 2G, so only the SIZE of the maximum 200000K, Add the second when the offset is set to 2000001, and the third is 4000001.

27. Question: What is the specific usage of the command--tar of the floppy drive and tape recorder?

Answer: Column file

Tar TV6

Tar TV8

Copy files to floppy disk, tape

Tar cv6 files

Tar cv8 files

Copy files from floppy disk, tape to hard disk

Tar xv6

Tar xv8

6, 8 for the device name, in the/etc/tar inside a detailed description, the last behavior of the default floppy disk device.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.