[Email protected] ~]# mkfs.ext3/dev/sda3mke2fs 1.39 (29-may-2006) Could not stat/dev/sda3---No such file or Directoryt He device apparently does not exist; Did you specify it correctly?The following partprobe need to be read back into the Linux
Search on the Internet for n long, found a good document, reproduced:1. View all hardware information for the machine:Dmidecode |moreDMESG |moreThe 2 commands are very informative, so it is recommended to use "|more" later for easy viewing2. View
STARTX display system in graphical desktop modeShutdown-h now shuts downShutdown-r now restart your computerReboot restart your computer nowSu-Switch to system administrator statusLogout user logoffJavac Java file name. Java Compiled Java filesJava
Useradd Wangyunpeng Create a user named Wangyunpeng passwd wangyunpeng to wangyunpeng This user to change the passwordTo use a new user for quick connect:Touch ABCD -l show file list long format pwd view the absolute path of the
Special note: In Linux, directories usually have R and x two permissions. The previous question of deleting a file is to have W permission on the directory where the file resides.CD/tmp switches to the TMP directory under Touch chengshi.list-L
A few days ago in Imooc casually read a public class, learned a few common commands, recorded here, slowly accumulate. It feels like learning one, sometimes it's better to have a better memory than to follow a book and learn from the beginning.1.
Linux Delete directory is very simple, many people are still accustomed to use rmdir, but once the directory is not empty, it fell into deep distress, now use the rm-rf command.Direct RM is available, but add two parameters-rf that is: RM-RF
Learn some of the information on the Internet, I tried to find out a bit, to sort out this article.Improper, but also ask everyone to criticize correct. Thank you.Important references
Linux Kernel Driver Learning (6) ---- kernel linked list, linux ----Review the concept of a linked list Linux kernel linked list: A two-way circular linked list. Kernel Linked List Design Philosophy: To achieve code reuse as much as possible, a
How to restart Cinnamon after a crash
Cinnamon is a Linux desktop environment that provides advanced innovation features and traditional user experience. The desktop layout is similar to Gnome 2. The underlying technology is similar to Gnome Shell.
Add EPEL to CentOS
If it is difficult to install hadoop on centos, it is always wrong to download and install hadoop on your own. Find the following solution: epel0. Install the yum priority plug-in
yum install yum-priorities
1
1. epel
CentOS permanently disables running PackageKit in the background
When you use centos to install software using yum, you will always encounter this prompt:
Existinglock/var/run/yum. pid: anothercopyisrunningaspid3053.
RHEL customized Linux release for Docker
To keep up with the rapid development of Docker virtualization technology, RedHat has customized a Linux release to run the Docker container-Red Hat Enterprise Linux 7 Atomic Host (PDF ). This version
Regularly Delete tomcat cutting logs in Linux
Cut log files at every night and delete logs that exceed 30 days
# Vi log. sh
#! /Bin/bashlog_path =/doiido/apps/tomcat/logsd = 'date + % Y-% m-% d' d90 = 'date-d' 30 day ago '+ % Y -% m-% d 'CD $ {
Find and search for Linux commandsCommand: findSearchIt is a real-time Feature and does not require a database. It is relatively slow.1. Recursively search for files in a specified path2. Search by various criteria3. Support for further instructions
Add your own kernel and ramfs based on the existing LinuxLiveCD
Original LiveCD: install-amd64-minimal-20130711.iso (gentoo)
Working System: CentOS
1. Copy the content of the original LiveCD:
[root@localhost Downloads]# mkdir
Compile PHP and integrate with Nginx
Nginx itself cannot process PHP. It is only a web server. After receiving the request, if it is a php request, it is sent to the php interpreter for processing and the result is returned to the client.
Nginx
Ngnix installation, semaphore, and virtual host configuration
Ngnix installation is simple
1. Download The ngnix compressed package from the ngnix official website.
Wget http://nginx.org/download/nginx-1.6.2.tar.gz
2. decompress the package and
AWS-based e-commerce website architecture
With AWS, you can build a highly available e-commerce website to provide flexible product catalogs and business extensions. Maintaining a large product catalog for an e-commerce website and a global customer
Set up an NFS Network File System server in CentOST6.6
NFS IntroductionNetwork File System (NFS) allows computers on the Network to share resources over TCP/IP networks. In NFS applications, local NFS client applications can transparently read and
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