Shared memory settings

Shared memory settings recently used the shmget function, and found that the returned value is-1, and the perror result is Invalidargumentwww.2cto.com. it turned out that the shared memory value was too large, after Ubuntu is installed, the maximum

Use of ssh-agent

The problem with using ssh-agent today is that I have to enter passphrase on the sshcodegerrit machine on the qa machine. Passphrase is required without entering the password, indicating that the trust relationship has been established, but the key

UnpV1 source code usage

The usage of unpV1 source code is preparing to read unpV1 again, but the unp compilation method is forgotten. Check the information to complete the query. This is the consequence of failing to take notes. it took 20 minutes. Now we can record the

Gedit adds recognition of specified file formats (such as qml) and enables appropriate syntax highlighting

Gedit adds the recognition of specified file formats (such as qml) and enables appropriate syntax highlighting. I believe everyone in linux is familiar with the notepad program gedit. Today, let's share some knowledge about syntax highlighting rules.

Configure linux port forwarding

For linux port forwarding, assume there are two servers, A and B. I need to forward the data that accesses Port 8081 of server A to Port 8081 of server B and receive the response data of server B. Run the following command on www.2cto.com: #

No password for scpssh in Linux

Linux does not require a password for scpssh. 1. to use scp, you do not need to enter a password. ssh is another key pair verification method. 1. use the ssh-keygen command to generate a key. In addition to the password, select the default value:

View memory and load status in Linux

Check the memory in Linux, and check the memory usage in the load status www.2cto. comcat/proc/meminfoMemTotal: 16332644 kBMemFree: 5635360 kBBuffers: 787976 kBCached: 3728512kBSwapCache... in Linux, check the memory and load status. check the

Implementation of CentOsDNS

The CentOsDNS function first configures the linux network connection! 1. install the relevant suite www.2cto.com [root @ localhost ~] # Yum-yinstallbindbind-chroot2, configure the experiment environment [root @ localhost ~] # Cd/var/named/chro...

Nginx log cutting script, automatically uploaded to the log server

The nginx log cutting script is automatically uploaded to the log server. 1nginx is installed in yum mode. The system automatically generates the nginx log cutting plan task at/etc/logrotate. in d/nginx, delete the automatically generated scheduled

Linux basic command grepegrepfgrep usage and regular expression

Linux basic command grepegrepfgrep usage and regular expression 1, grep, egrep, and fgrep commands this article mainly introduces the basic parameters of the grepegrepfgrep command and regular expression in linux and the format and method of use.

How to mount a USB flash drive or a mobile hard drive in linux

If you want linux to identify the USB flash drive, you need to place the cursor in the linux of the VM and insert it into the USB flash drive, the USB flash drive is recognized by linux, and then fdisk-l is used to view the USB flash drive ....

Do not use a password for remote login. use authorized_keys to resolve this issue.

Remote login does not require a password. when you use authorized_keys to log on to the public key, the authorized_keys configuration does not take effect until the password is configured. ssh directory and the following file permissions are caused

Install Trac in Ubuntu12.04

To install Trac in Ubuntu12.04, we need to install Trac0.13 on the development server (the operating system is Ubuntu12.04, and the 64-bit server version. Prerequisites: the ApacheWeb server is installed on www.2cto.com. if you want to integrate

Command for viewing hardware information in linux

Linux command for viewing hardware information 1. view CPU: cat/proc/cpuinfowww.2cto.com II. view Memory: free 3. view hard disk: View hardware information in dflinux 1. lspci lists all PCI devices; lspci-listallPCI... linux command for viewing

Regularly retrieve process memory and write logs

Regularly retrieve the process memory and write the log Shell code www.2cto.com $ catmem. sh #! /Bin/bashLOGFILE & quot;/xxx/mem. log & quot; date + % Y-% m-% d & quot; % H: % M: % S & gt; $ LOGFILEpsaux | grep & amp; #39; bin/eas. regularly

Linux routine instructions

Java code www.2cto. com001. common query commands for routine maintenance # top Display system processes # clear screen information # cat/etc/redhat-release View system version information # cat/proc/version View system... linux routine instructions

View suse version

View suse version 1, cat/proc/version kernel version www.2cto.com # cat/proc/versionLinuxversion2.6.5-7.244-smp (geeko @ buildhost) (gccversion3.3.3 (SuSELinux) #1SMPMonDec1218: 32... view suse version 1, cat/proc/version kernel version www.2cto.com

Shell command execution

Shell command execution 1. shell commands include built-in commands and external commands. Built-in commands are built-in by shell interpreter. they are directly executed by shell and do not need to derive new external commands of the process. these

Install and configure the samba service on Fedora

Installing and configuring the samba service on Fedora in embedded development often involves transferring files and other data in windows and linux. for example, you can use sourceinsight as a common code editing tool but compile it in linux. The

Liunx installation summary

Liunx installation summary Linux has been installed many versions over the past two days. now let's make a summary. Install ubuntu, centos5.9, centos6.3, redhat9, and freebsd. For specific installation documents, see du Niang. The main test machine

Total Pages: 2732 1 .... 2082 2083 2084 2085 2086 .... 2732 Go to: GO

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.