Procedure for creating an RPM package by yourself

The general process of creating an RPM package by yourself is 0. First install the rpm-build toolkit 1 and create the RPM directory # mkdir ~ in your user directory ~ /Rpm ~ /Rpm/BUILD ~ /Rpm/RPMS ~ /Rpm/RPMS/i386 ~ /Rpm/RPMS/i686 ~ /Rpm/RPMS/noarch

Linux-vim Editor (Multi-file editing)

Linux-vim Editor (Multi-file editing) we often encounter this problem. We want to copy part of a file to another file. In the linux environment, we use vimI often open two vim files and copy and paste them with the mouse, but we can also use vim to

Use openssh to implement chroot Prison Monitoring

Using openssh to implement chroot to secure users who do not want to log on via SSH to browse the files in our system at will and only fix the activities in specified places. Environment: Red Hat Enterprise Linux Server release 6.2 openssh requires

File Name/content encoding conversion in linux

File Name/file content encoding conversion in linux 1. View file encoding in Linux Command Line enca file name www.2cto.com file name 2. Bulk conversion of linux file Name encoding convmv-f source encoding-t new encoding [option] common file name

/Opt/matlib/bin/util/oscheck. sh: 619:/lib/libc. so.6: not found

/Opt/matlib/bin/util/oscheck. sh: 619:/lib/libc. so.6: not found: matlib is installed successfully. The above problem occurs during running. Solution: www.2cto.com 1. locate libc. so/lib/i386-linux-gnu/libc.

A Simple Method for installing jdk in CentOS

CentOS is a simple method for installing jdk. CentOS can only install OpenJDK with yum. The easiest way to install JDK of sun Company is to download rpm. binfile under the root user, first add the execution permission [code = & quot; Linux & quot;]

Experience in using Vim

Tips for using Vim [insert mode: insert current time, current file name, current file path, etc.] You can easily implement it using vim's abbreviated command. The following three lines insert the current time, current file name, and current file

Add read-only users in linux

USER = onlyread 02 chattr-I/etc/passwd/etc/shadow/etc/group 03 ln-s/bin/bash/bin/rbash 04 echo/bin/rbash>/etc/shells 05 useradd-c "A Restricted User"-s/bin/rbash $ USER 06 rm-rf/home/$ USER /\.* 07 echo "export PATH =/home/$ USER/bin">/home/$

After the Centos program is minimized, the window labels disappear and cannot be found.

After the Centos program is minimized, the window labels disappear and the window cannot be found. After the Centos program is minimized, the window labels disappear and the window cannot be found. Solution: www.2cto.com on the "top panel (display

When secureCRT uses VIM, highlight the syntax

When secureCRT uses VIM, highlight the syntax. when SecureCRT uses VIM in secureCRT, syntax highlighting is not actually a function of secureCRT, but a VIM setting: options-> Session Options-> Terminal in Emulation: Select ANSI or linux or xterm.

Linux Command chmod 755

The linux Command chmod 755 means that chmod is the command for setting file permissions in Linux. The following number indicates the permissions of different users or user groups. Generally, there are three numbers: the first number indicates the

Vim multi-File Replication

Vim multi-File Replication 1: copying between different files through registers: Example: www.2cto.com doc1: "ayy: wq doc2:" ap view register: reg 2: using temporary files to copy between different files if you want to copy the n1-n2 line of file A,

Sh script exception:/bin/sh ^ M: bad interpreter: No such file or directory

Sh script exception:/bin/sh ^ M: bad interpreter: No such file or directory problem is executed in Linux. sh script, exception/bin/sh ^ M: bad interpreter: No such file or directory analysis: This is caused by different system encoding formats,

Considerations for using while LOOP ssh in shell 2

In shell, when using the while LOOP ssh, note that you need to read a text. Each line of the text contains an IP address and ssh is used in the while loop, however, ssh exits after the first line. This article will explain in detail how to avoid the

Configure Nginx reverse proxy on Linux VPS

Nginx is a high-performance HTTP and reverse proxy server. Deepvps has previously introduced Nginx HTTP applications many times, such as the one-click installation package of lnmp. The following describes the reverse proxy function of Nginx. What

Ubuntu WEB Server Parameter Optimization

First, the most important thing is to install 64-bit Ubuntu, so that the memory limit of a single process is gone.1. file handle. The default value is 1024, and the value is changed to 65535.$ Sudo vi/etc/security/limits. confAdd the following two

Build a php website runtime environment in Ubuntu 10.04

Build a php website runtime environment in Ubuntu 10.04Prerequisites:To enable the root permissionSudo password [enter the root password here]1. Step 1 install Ubuntu 10.042. Update SourceSudo apt-get update3. Install lighttpdSudo apt-get install

Linux SVN installation (not Apache)

The SVN server is installed in Linux. This article is not integrated with Apache. The process is as follows: 1. Download related software: Root@www.linuxidc.com test # wget

Set mysql permissions for the site in phpmyadmin

Generally, there is more than one site on a server, and more than one MySQL database (the best combination with PHP. To prevent security risks, we generally set an independent database access account for each database. This account has only the

Reset the MySQL root Password in Linux

1. Stop the MySQL ServiceRun:/etc/init. d/mysql stop, not necessarily/etc/init on your machine. d/mysql may also be/etc/init. d/mysqld 2. skip verification to start MySQL/usr/local/mysql/bin/mysqld_safe -- skip-grant-tables>/dev/null 2> & 1 & note:

Total Pages: 5467 1 .... 5416 5417 5418 5419 5420 .... 5467 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.