Shell problems under Solaris-general Linux technology-Linux technology and application information, the following is a detailed description. Create a shell script in the Solaris directory:
#! /Bin/sh
# Ifmkdir
# Parameter is passed as $1 but reassigned to DIRECTORY
DIRECTORY = $1
# Is the string empty ??
If ["$ DIRECTORY" = ""]
Then
Echo "Usage: 'basename $ 0' directory to create"> 2
Exit 1
Fi
The ttymon port monitor of the Management Server under Solaris-Linux Enterprise Application-Linux server application information. The following is a detailed description. The console of the Solaris server ttymon is now managed by SMF. You can use the svccfg command to set ttymon console properties. Continue to use the SAF command sacadm to add, List, delete, abort, start, enable, disable, enable, and delete
Article Title: Introduction to Solaris basic audit and reporting tools. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
BART is a file tracking tool at the file system level. The BART tool enables you to quickly, easily, and reliably obtain information about software components in the system. Using BART can greatly
There was a client recovery request this morning, and he accidentally used the RM-RF oradata command in the Solaris system to delete all the data files under one partition. Now do not know how to do, ask us to give support. Check it out. found that the database is not crash, it seems that directly consider the use of handle recoveryROOT@CNISORCLSVR # Uname-aSunOS cnisorclsvr 5.9 generic_112233-08 sun4u SPARC sunw,sun-fire-880ROOT@CNISORCLSVR # Ps-ef|g
Solaris 10 modifying NIC IP addressModified before IP bash-3.00# ifconfig-a lo0:flags=20010008491, modify/etc/hosts file bash-3.00# VI hosts "hosts" [Read only] 5 lines, Characters # # # Internet Host Table # 127 .0.0.1 localhost 192.168.1.118 orca loghost2, modify/etc/hostname.pcn0 change the IP address of the network card for example: 192.168.180.80 3, modifying/etc/inet/ipnodesbash-3.00#pwd/etc/inet bash-3.00#viipnodes "Ipnodes" [Readonly] 6lines,9
follows (method 2 ):
7. As shown in, congratulations! The configuration is successful!
========================================================== ======================
Red Hat binds multiple IP addresses to a single Nic
Method 1: directly configure through the graphical interface: System -- Management -- Network -- add (follow the prompts to complete)
Method 2: similar to Ubuntu, but the path is a little different. The Red Hat Network path is:CD/etc/sysconfig/networkin
Article title: complete understanding of the Solaris network management tool (below ). Linux is a technology channel of the IT lab in China. Includes desktop applications, Linux system management, kernel research, embedded systems and open source, and other basic categories. the previous article "linux.chinaitlab.com/administer/754195.html" target = _ blank>
Measure the test taker's knowledge about Solaris
The specified directory must be excluded during compression. I don't know why it is in Solaris.
Tar CVF a.tar A -- exclude = A/B/log -- exclude = A/C/mm7log is invalid,
Finally, the following method is used:Create an exclude-list file VI exclude-list and write the directories to be excluded from compression.
A/B/log
A/C/mm7log
Save and exit
Execute Command
Tar cvfx a.tar exclude-List A is compressed successfully.
Use the
Oracle has been installed many times in both Linux and Solaris, and almost never succeeded. At the beginning of the installation, I couldn't even see the installation page. Later, I can see the installation page. Some errors will be reported during the installation process. After the installation is complete, the service cannot be started. Recently, the installation was successful under Solaris and no error
ZFS file system is an important feature of Solaris 10. instance configuration allows you to learn more about ZFS file system configurations.1. Solaris disk Basics1. How to view Disks# FormatAvailable disk selections:0. c0d1 /Pci @ 0, 0/pci-ide @ 7, 1/ide @ 1/cm1. c1t0d0 /Pci @ 1976/pci15ad, @ 10/sd @2. c1t1d0 /Pci @ 1976/pci15ad, @ 10/sd @3. c1t2d0 /Pci @ 1976/pci15ad, @ 10/sd @4. c1t3d0 /Pci @ 1976/pci15ad
Zookeeper
Configure:
. /Configure-no-qt3support-nomake demos-nomake examples-nomake test-release-platform Solaris-CC-Prefix/export/home/APP/QT/4.8.6-L/opt/sunwmlib/lib -L/opt/sunwits/graphics-Sw/xil/lib-I/opt/sunwmlib/include-I/usr/lib/gnome-private/lib/dbus-1.0/include-I /usr/lib/gnome-private/include/dbus-1.0-WebKit-declarative-script
The result is script, declarative, and WebKit or not compiled.
Regardless of this, after configure is complete, exec
ExampleOh, of course. Many mechanisms of window are UNIX-based.For example, system (32) *. dll is a UNIX-like/usr/lib/*. SoUNIX/usr/lib/*. So is the Unix dynamic library)It is used for dynamic link of the program. Otherwise,/usr/lib/*. A is a static library and the program is compiled.Link the function to the target file.
In fact, the XXX of CC-o yyy yyy. O-LXXX tells CC to find/usr/lib/libxxx. So ..YYY. O declares that the function in libxxx. So is called. When the target file YYY is successful
~ /. Profile is a file in the user's home directory. Every time a user logs on, the ENV Environment variable settings will be executed here.
/Etc/profile is a global environment variable setting. As long as users log on to the system, they will execute the ENV Environment Variable setting.
~ /. Kshrc is in the user's home directory. Each time you execute the sub-Shell under ksh, The ENV Environment variable settings in this directory will be executed.
~ /. Dtprofile is under the user's h
The original article was written on the Netease blog at 20:48:07 and has been deleted
Today, for work reasons, I need to know the directory structure of a software installation under Solaris. I thought of the Tree Command. Unfortunately, there is no tree command under DOS under Solaris.
After searching for the Internet, I found that some people, like me, need to use the Tree Command similar to dos in some
Although it is not necessary to modify the FTP service port under Solaris, I was asked by the Huawei interviewer today, Khan. It means that I am still not very familiar with it.The FTP service port under Solaris. The default port is port 21 for data transmission.Previously I thought it was a configuration file under the/etc/ftpd directory. I came back to the Internet today and found some information. I used
Recently compiled an open source software on Solaris, the final link phase of the problem, resulting in the LD program core dump. Because there is no LD program source code, resulting in complete lack of ideas, asked people on the Internet can be set ld_options environment variables to understand the entire link process. As an example:Ld_options=-dfiles,detailSpecifies that files will output the currently processed file of the LD, and detail will prov
A sun system, like the NT system, is vulnerable to all kinds of hateful attacks from the Internet. Fortunately, unlike NT, you can use the following three simple means to make sun relatively safe, they are:
1) Prevent stack Overflow
2. Close Unused Service
3) to the system to make patches
#1 Prevent Stack Overflow
At least 90% of all security problems come from so-called "stack overflows." An attacker could alter execution by giving a program that runs as root a lot more input than it expec
"Guide" to install a virtual root on Linux on the environment of the Apache directory tree is quite simple. This example uses the red Hat 6.* and the Apache 1.3.12. It also contains the PHP4 (as an Apache module) and the installation of PERL5 on the directory tree where the virtual root is being virtualized. In addition, MOD-SSL and Mod-perl are installed.
Introduced
I have used the CERN httpd to install and use a Web server in a virtual root environment. Creating a virtual root environment fo
:16 2016Thread 1 cannot allocate new log, sequence 52199is the Data warehouse system, the time is running batch process, I suspect is the Solaris asynchronous IO problem, is communicating with the manufacturer, there is no feedback.--20160401Changed the Disk_asynch_io, changed from true to False, no error, but the ETL is particularly slow, and changed back to true;--20160414Changed the db_writer_processes, changed from 20 to 28, observe the effect ton
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.