Linux (1)

This is a learning note for linux! In fact, there is a big difference between linux and windows. When learning linux, we need to clear our own windows thinking. Otherwise, it will be easy to get to the forefront. After learning C, I learned JAVA. I

About SuPHP and file permission settings

About SuPHP and file permission settingsCPanel changed the PHP Handler mode to SuPHP, so an HTTP 500 Error occurred when visiting the page. It was known only after asking the reason, in SuPHP mode, no directory or file with the permission of 777 is

Producer consumer multi-thread demo program in linux

Introduction to the basic API of the multi-thread demo program for producer consumer in linux: int pthread_create (pthread * thread, pthread_attr_t * attr, void * (* start_routine) (* void ), void * arg );The first parameter points to the second

Essential commands for Linux

Essential commands for Linux 1. File directory Class 1. create directory: mkdir directory name 2. delete the empty directory: rmdir directory name 3. delete the subdirectory unconditionally: rm-rf directory name 4. change the current directory: cd

Apache HTTP Server (III)-configuration snippet

Apache HTTP Server (III)-configure the basic container of the clip it is applied only when the command line parameters have corresponding definitions. For example, Redirect/http://otherserver.example.com/ is applied only when started with The

Apache ProxyPass solution with 503 Service Temporarily Unavailable Error

Solution for Apache ProxyPass error 503 Service Temporarily Unavailable: Configure Apache and Tomcat integration on Redhat5 Linux today, and forward the address of the Jsp page to the tomcat address.If the actual Jsp address is http: // 127.0.0.1: 80

CentOS installation and configuration of minicom (serial port to USB)

CentOS installation and configuration of minicom (serial port to USB) 1. install minicom and the file transfer tool sudo yum install minicom lrzsz2. Check whether your computer supports usb-to-serial communication before using the serial port. If

Ubuntu Chinese folder Problems

For ubuntu Chinese folders, you must first create several corresponding English folders, such as Desktop, Documents, Music, Pictures, Videos ...... Then edit the configuration file: gedit ~ /. Config/user-dirs.dirs points the folder to change, for

Linux Kernel No. 1

Linux Kernel 1. linux architectureLinux can be divided into user space and kernel space. Kernel space and user space are two different states of program execution. The transition from user space to kernel space can be completed through system calls

Ctags-view method definitions without using ide

Ctags-If ide is not used, you can view the definition of the method. ctags can be used with vim to view the definition of the method, just as pressing ctrl + and clicking View method to install sudo apt-get install ctags vim is case sensitive, the

Shell_wc (number of statistics), head (view the first few rows), and tail (view the last few rows)

Shell_wc (number of statistics), head (view the first few rows), tail (view the last few rows) wc-c filename: displays the number of bytes of a file wc-m filename: display the number of characters in a file wc-l filename: display the number of lines

Debug solution to NIC problems in linux

Debug solution to NIC problems in linuxProblem description: sometimes when you install redhat or suse linux, you will find that your public ip address is not on eth0, but on eth3 or eth4, at this time, you need to adjust the public ip address to eth0

Linux Process-related commands

Linux Process-related commands Ø ps command ◆ ps aux or ps-ef list all processes in the memory ◆ find processes with names, for example, find vim: ps aux | grep vim | grep-v grep the second grep is used to remove the grep vim process in the result (-

Back up simple shell scripts for remote server files

The simple shell script for backing up remote server files assumes that there are two servers: 192.168.0.1 original server 192.168.0.2 backup server implementation: compress the/opt/test/cms/directory file on 192.168.0.1 to the backup server. The

Ubuntu 13's hard disk installation method using a self-carried wubi.exe File

Prerequisites for ubuntu 13's hard disk installation with self-carried wubi.exe file: the ubuntu version used in this article is 13.10. The Windows 7 system has been installed, and the dual-system ghost file has been installed with ubuntu. 2.

How to solve the problem that SAMBA configures "you may not have permission to access network resources"

SAMBA configuration "you may not have permission to access network resources" solution: Open the graphical Configuration Tool system-config-securitylevel-tui. After adding samba, save and exit SElinux [root @ localhost samba]. # getsebool-a | grep

The shutdown command of tomcat in linux does not kill the process

Shell code ======================================== bin/shutdown. sh exec "$ PRGDIR"/"$ EXECUTABLE" stop-force "$ @" # Add-force ============== ============== bin/catalina. sh after PRGDIR = 'dirname "$ PRG" ', add # add by gaoyang if [-z "$

Modify the color in shell in Linux

Modify the color in shell in LinuxEcho-e "\ 033 [32; 49; 1 m [DONE] \ 033 [39; 49; 0 m" output result: [DONE] ########################## the color of a text terminal can use "ANSI unconventional characters sequence. Example: echo-e "\ 033 [44; 37; 5

Linux optimization and Security Configuration

Preface:I have not written any articles for a long time. Recently, I have received many letters from my friends about configuration optimization and some new security issues. I would like to discuss these issues with you briefly, if there is any

Install Ubuntu through a USB flash drive

Previously, I introduced how to install Vista through a USB flash drive. This article will introduce how to install Ubuntu Linux on a USB flash drive. although Ubuntu is used in this article, it is feasible to install other Linux live CD

Total Pages: 5467 1 .... 4744 4745 4746 4747 4748 .... 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.