1. Partitioning (MBR)# Cfdisk semi-graphical interface, divided into three zones: sda1 20g,sda2 80g,sda3 4G.2. Creating a File system# MKFS.EXT4/DEV/SDA1# Mkfs.ext4/dev/sda2# Mkswap/dev/sda3#swapon/dev/sda3 Enable swap partitions3. Mounting# MOUNT/DEV/SDA1/MNT Mount/# Mkdir/mnt/home Create/home mount point# Mount/dev/sda2/mnt/home Mount/Home# LSBLK Check partition and Mount condition3. Modify the list of mirror sources# nano/etc/pacman.d/mirrorlist Mo
the common console-based text editors have the following:
Emacs Comprehensive GNU Emacs Editing environment
The Nano is a text editor similar to the classic Pico, with a built-in pine mail program
vim An improved VI text editor
Note that not all text editors are based on the console, which means that they support terminal use. Some text editors are designed to provide a graphical interface with menu bars, buttons, progress bars, and so on. For example
Prepare the article:
1, configure the firewall, open 80 ports, 3306 ports
Note: The Ubuntu default installation is not open any firewall, for the security of the server, we recommend that you install the firewall settings, it is recommended to use the Iptables firewall.Whereis iptables #查看系统是否安装防火墙Iptables:/sbin/iptables/usr/share/iptables/usr/share/man/man8/iptables.8.gz #表示已经安装iptablesApt-get Install iptables #如果默认没有安装, please run this command to install the firewallIptables-l #查看防火墙配置信息, sh
Install ProFTPd (TLS) on Ubuntu 16.04)
This tutorial describes how to install and use ProFTPd securely. Without TLS, FTP is insecure because all passwords and data are transmitted in plaintext. By using TLS, the entire communication can be encrypted, so FTP makes it much safer. This article describes how to set up the use of ProFTPd TLS to build an ftp server for Ubuntu 16.04, how to add an FTP user, and use FileZilla to connect to the TLS security.
1. Preliminary description
In this tutorial, I
damaged and may need to be re-installed for normal use (including deletion ).X soft package is damaged and forcibly maintained.You can also perform fuzzy search in the unified character mode. For example, I want to find all the software packages starting with nano:$ Dpkg-l nano *Desired = Unknown/Install/Remove/Purge/Hold| Status = Not/Installed/Config-files/Unpacked/Failed-config/Half-installed|/Err? = (N
tail (view file header, tail)-----is tricky to use, not much in the basic stageYou look directly at the picture:is to view the first few lines of the result of a file or the previous command , without specifying the-n parameter, the default 10 rowsTail Tips(the-f parameter can also be used when tracking log files.)tail-f a1.txt (Typing this command and then open a terminal to use the Nano to write A1.txt file save, see the effect, with Gedit No)At th
prints the content in the IW List command section.Figure 1.2 IW list related information if you use the RTL8188 network card, the IW List command outputs only "nl80211 not found", which means that RTL8188 does not support AP mode in this system. 2. Necessary preparatory work"1" Update software source sudo apt-get update "2" Install the necessary software sudo apt-get install HOSTAPD UDHCPD HOSTAPD is a user-state daemon for AP and authentication servers, which implements IEEE 802 .11 Related ac
1. Purpose of integrated installation:
When a mail is sent using Postfix, it is used to scan for virus mails and filter out spam mails.
2. Functions of each software:
1) Postfix: send and receive emails (Role: MTA)
2) ClamAV: Anti-Virus
3) spamassassin: Anti-Spam
4) mailfix: integrate Postfix/ClamAV/spamassassin
3. System Environment
OS: Debian 6x64
Source: Deb http://ftp.debian.org/debian/ squeeze main contrib non-free
NOTE: If it is in another system environment, modify the relevant commands a
Tutorial: Linux Process Management is much more powerful than Windows, and all processes are mapped to the/proc directory, we can view the memory data of these processes as we operate on common files.
~ $ Ls-l/proc
Dr-xr-x 7 root 0 1......-R -- 1 root 0 version-R -- 1 root 0 version_signature-R -------- 1 root 0 vmallocinfo-R -- 1 root 0 vmstat-R -- 1 root 0 zoneinfo
~ $ Cat/proc/versionLinux version 2.6.28-11-generic (buildd @ palmer) (gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) # 42-Ubuntu SMP F
potential cannot be transferred to the outer polymer, only the external circuit can return to the electrolyte through the electrode with a higher reduction potential, so there is photocurrent in the external circuit. due to the advantages of flexible organic materials, easy production, wide material sources, and low cost, it is of great significance for large-scale use of solar energy and the provision of cheap electricity. However, the preparation of solar cells with organic materials was jus
, we can add the file of the website to the Webroot directory and delete the LIGHTTPD default index file so that our static website can be accessed on the Internet.If you want to run a PHP application in the LIGHTTPD Web server, refer to the following steps:Installing the PHP5 moduleAfter the successful installation of LIGHTTPD, we need to install PHP and related modules to run the PHP5 script in Lighttpd.Using Ubuntu 15.04
# apt-get install php5 php5-cgi php5-fpm php5-mysql php5-cur
nginx document root directory in Ubuntu16.04 is/var/www/html.
4. install PHP 7
We can make nginx's PHP work PHP-FPM (FastCGI Process Manager) is for any scale of websites, especially for busy websites, some additional functions are useful to replace PHP's FastCGI Implementation). We install the following:
Apt-get-y install php7.0-fpm
5 configure nginx
Open the configuration file/etc/nginx. conf:
Nano/etc/nginx. conf
Configuration is easy to understan
What SIM card does iphone6 use?
Nano-sim Card specific size is 12x9mm, only the first generation of SIM card (25x15mm) area of about 30%, the thickness is only 15% of the latter, and even if compared to the 15x12mm size of the Micro-sim card, Nano-sim card can save 40% of the space, This apparently frees up more space for other components inside the phone.It is reported that the product has been sent sampl
HUP signal to services.
-A: alarm, which sends an ALRM signal to services.
-I: interrupt, which sends an INT signal to services.
-T: Terminate, which sends a TERM signal to services.
-K: kill. Send a KILL signal to services.
-X: exit. supervise exits immediately after services are stopped. However, if you use this option in a stable system, you have already made mistakes: supervise is designed to run forever.
Svok: used to check whether supervise is running. Checks whether
SuperviseIs succ
start or stop Matchbox-keyboardWe will now create a script to turn the keyboard on and off. Then add a menu item to access the script and add an icon to the taskbar for easy access.Create a new file;[Email protected] ~ $ sudo nano/usr/bin/toggle-matchbox-keyboard.shand copy the following text in;#!/bin/virtual keyboardpid= ' pidof matchbox-keyboard 'if [!-e $PID] ; Then killall Matchbox-keyboardelse matchbox-keyboardfiNow let it be executable;[Ema
CH rep Change)
Example: Set all files in the driver directory to root read and write, other users read only
Chmod-r 755/system/library/extensions
Parameter R represents recursion, and 755 represents the permissions of each user
Change file Owner
Chown parameter User: Group file
Example: Change all files in the driver directory to root user
Chown-r root:wheel/system/library/extensions
Parameter R represents recursive operations
To fix permissions on files throughout the system
Diskutil
We are already using JavaScript's constructors to create our own custom object types. However, we do not see how to create an inheritance hierarchy.It is important that although constructors are often referred to as "classes", they are really not the same thing. In JavaScript, a constructor is a function that is new called on an object.Here's a little refresher:function Superhuman (name, superPower) { this. Name = name; this. superPower =function () { Console.log (this. SuperPower +
programs to allow the new program to execute (). So to create a child process to "separate" from the parent process, go their own way, Linux for this provides a system call EXECVE (), so that a process can be executed as a file in the form of an executable program image.After the child process has been created, the parent process has three choices. The first is to continue to go their own way, and the sub-process of parting. However, if the child process "dies" before the parent process, the ke
Linux has a lot of good music players, such as Audacious,banshee,quodlibet and so are good, but their lyrics display function is not very good. I installed the quodlibet, do not know is my reason or it does not show the function of the lyrics, and finally I unloaded. And then reinstall the audacious, although can be found through the file-settings-plugins-general-lyricwiki Plugin lyrics display Plug-ins, but its display interface is not really. So in
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.