Syslog-ng is installed to manage server logs in a unified manner. The installation method is found online. Some problems need to be solved now;
1. The log server can synchronize the log files on a daily basis, but the log files you want cannot be synchronized to the server because you need to customize the log files. Now, I have posted the configuration documents and hope to learn from them.
Install
Requirement: Use the syslog of Ubuntu8.04 server to record juniperisg1000 logs for three months. 1. Allow syslog To record External Log modifications/etc/default/syslogd, change SYSLOGD = "" To SYSLOGD = "-r" 2. Define External Log types and modify juniperisg1000 log definitions, define the generated log as local7 and
Requirements:
The juniper isg1000 log is recorded using the
"Iptemplate" to the This template.
$template iptemplate, "/var/log/%fromhost-ip%.log" * *
rsyslog Daemon and edited its configuration file, we need to restart the daemon.
$ sudo service rsyslog restart
Rsyslog netstat command.
$ sudo netstat-tulpn | grep rsyslog
The output may look like the following:
TCP 0 0 0.0.0.0:514 0.0.0.0:* LISTEN 3267/rsyslogdTCP6 0 0::: 514:::* LISTEN 3267/RSYSLOGDUDP 0 0 0.0.0.0:514 0.0.0.0:* 3267/rsyslogdUDP6 0 0::: 514
Article Title: Use syslog in ubuntu to record external device logs. 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.
Requirements:The juniper isg1000 log is recorded using the syslog of ubu
Requirements:
Use the Ubuntu 8.04 Server version of the syslog record Juniper isg1000 log for 3 months.
1. Allow syslog to record external logs
Modify the/ETC/DEFAULT/SYSLOGD to change the syslogd= "" to syslogd= "-R"
2. Define external log types
Modify the Juniper isg1000 log definition so that its generated log is defined as LOCAL7 and send logs to the
The company is using Ubuntu server, with cacti to do the monitoring, through the SNMPD protocol monitoring, but when looking at the system log, SNMPD generated a lot of logs, sometimes to turn a lot of screen, to see system information, this to every day to see the System log Administrator, It was a nightmare. The following methods allow you to turn off SNMPD to the system log file so that the system log looks much simpler.
root@
How to open a terminal and install SSH in Ubuntu
First, press ALT and then press f2 to open a runtime box and enter gnome-terminal. To install SSH, enter the following content in the command line. The result of sudo apt-Get install OpenSSH-server is as follows:
Klaus @ Ubuntu
Zhou has not installed a Linux Virtual Machine for fun. The final effect is as follows,
1) The host is win7
2) install a Linux system (Ubuntu selected) and WINXP on the guest Machine
3) directories can be shared between hosts and guest machines;
4) Intercommunication between the host and the guest. The Guest machine can access the Internet (you need to reset the settings before restarting)
5) Try to reinsta
Original URL: http://www.cnblogs.com/muyun/p/3370996.htmlFirst, install the ARM-LINUX-GCC tool chainOnly one command is required: sudo apt-get install gcc-arm-linux-gnueabiThe premise is that your Ubuntu system version is the latest version supported by the official website, if not, please upgrade. Execute the above command.Ii. Use of tool chainsAttention! You c
Linux has always been a relatively small system, especially at home, users relative to Windows, is less, even give a high-end, complex impression, but these years, the use of Linux more and more people, the basic use of the program ape, And Ubuntu as a Linux system users more of a branch, do a good job, and the way to install Ubuntu is also a lot, this article is
04. Run the kvm command line in ubuntu to install 64-bit ubuntu and report "Couldn't find hvm kernel for Ubuntu tree.", kvmhvm
1. The configuration of virt-install used for ubuntu installation:
virt-
After I broke the two systems, everything had to start all over again, and this time, the computer was a bare-metal piece. There is no way to re-win7 it. This must first do a win7 boot disk, and then install, can only say that I do not have the technology, can not be win7 fix. Let the great God to install the Win7, he let me use Wubi installed Ubuntu, but self-fe
To solve the dual-system problem, first install win7 and then install ubuntu. We found that ubuntu could not identify the installed win7 and only saw the problem of a whole hard disk.
To solve the problem of ubuntu 64-bit dual system, first
Install PyV8 in Ubuntu, and install PyV8 in Ubuntu
In the past few days, PyV8 needs to be used for python and javascript interaction. Previously installed in windows, and directly installed using exe, there is no problem.As a result, many pitfalls have been encountered during Ubunt
Install and configure linux (Ubuntu server) and install and configure ubuntu
After ububtu 14.04 server 64-bit was installed last night, you have to configure the server today. In the morning, mysql phpmyadmin apache php5 tomcat jdk is installed successfully.
1. if an Xshell is installed on windows on the host machine,
Install Mongodb in Ubuntu, and install Mongodb in Ubuntu
Mongodb is an open-source database. I don't need to talk about it here. Let's talk about the problems and solutions that may occur when installing Mongodb In Ubuntu.
Background:
Today's M $ sales promotion, 1 $ Windows
How to install wireless NIC Driver in Ubuntu and install wireless Nic In ubuntuAcer (acer) cannot use wifi after Ubuntu is installed. The solution is as follows:
Ps: Acer wireless network cards are generally BroadcomStep 4: 1. Create a New cdrom folder in the media folder under the root directory and enter sudo mkdir/
Install the sogou Input Method on ubuntu (ubuntu 14.04, ubuntu 16.04), 14.04ubuntu16.04
This method is applicable to ubuntu 14.04 and ubuntu.
1. Download the deb installation package for sogou Input Method
:
Http://pinyin.sogo
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.