This period of time from windows to Kali, found no shortcuts on the desktop is very uncomfortable, looking for a long time to find a solution, record down after the standby
1. Create a new document first
```
VI quick.desktop//suffix for desktop
`
First, the younger brother just contact Ubuntu, the following is used to install the program command:
1. You can use sudo apt-get install * * *
Represents the file name, which is located and downloaded from the source file list of your system
Reference: https://docs.mongodb.com/manual/tutorial/install-mongodb-on-red-hat/#install-mongodb-community-edition 1. Because native Linux does not support Yum,wget, the curl is used here: (Installation on 64-bit Linux). )
DownloadCurl-o
XAMPP Apache uses domain name access
First, find/opt/lampp/etc/httpd.conf:
# Virtual hosts
Include etc/extra/httpd-vhosts.conf
Remove the # number in front of the Include etc/extra/http-vhosts.conf (I've removed the above)
Ii. Modification
Mycat is an open source database middleware, the predecessor of Ali's Cobar,cobar in the open source for a period of time after the maintenance of the state, Mycat was born to carry the banner of Cobar, for developers, the use of Mycat is as
(Note: This article is purely personal and does not involve any other individuals or organizations.) )
On the April 8, at the annual "Collaboration Summit" of the Linux Foundation (which can only be invited), the renowned IDC analyst Al Gillen the
Use the standard network Configuration tool: Ifconfig and route commands to add IP aliases.
Use the Ifconfig command to view the IP address of the server. The sample server has a physical network card device eth0 and the local loopback device
Linux Common Commands-shutdown and reboot
shutdown Command
shutdown [option] TimeOption: –c cancel the previous shutdown command –h shutdown –r reboot (after adding a & can be timed after operation)
In all reboots and shutdown commands, shutdown
Cross-compiled programs have memory leaks, so you want to restart them in your free time. So I decided to add the reboot to the Linux mission plan.
Enter command
#crontab-E
Edit the Task Scheduler table
Command format
The first 5 fields
Turn from: http://blog.csdn.net/wei801004/article/details/1521100
124 Emediumtype Wrong medium type 123 Enomedium No medium found122 Edquot Disk Quota exceeded121 Eremoteio Remote I/O errorEisnam is a named type file119 Enavail No Xenix semaphores
Linux does not produce unwanted junk files, but Linux does not automatically delete these files in the upgrade cache, or it takes up a hard drive.
One, delete cache
1, a very useful cleanup command:sudo apt-get AutoClean cleans up older versions of
One, the existing timer interface
Time and space management is the main task of computer system. In time management, we often use the timer to deal with things: such as the TCP protocol in the use of Timer management packet timeout, video display in
1, Lilo security settings
Vi/etc/lilo.conf.anaconda//Modify Lilo file ===============================================
......
Restricted//Join the line
password=111111//Join this line and set the password to 111111
......
============================
goal : A environment already has a usable JDK environment, but no B environment, we can exempt from the installation of the method, directly from the environment of a move to B environment.
Note : The following actions for A and B environments are
Prerequisites: The JDK is installed and the corresponding environment variables are set up; Download a resin and install it (slightly)
1. Enter the bin directory in the resin installation directory and copy httpd.sh as: resin.sh command: CP
New server, first need to install the necessary environment
The following use CentOS 7, select Centos7 mainly Docker need more than 3.0 cores, eliminates the upgrade kernel trouble
1. JDK
Check for installation First
# java-version
If there is a
sudo a command (the command at this point is the path)
Path to query command: The whereis command can query the path of a command
Execute certain commands as Superuser
Sudo–l view the privileges given to ordinary users by a Superuser
When
1. File replication: Native-> remote server :
Scp/home/shaoxiaohu/test1.txt Shaoxiaohu@172.16.18.1:/home/test2.txt
Where test1 is the source file, Test2 is the target file, shaoxiaohu@172.16.18.1 is the username and IP address of the remote
1, CAT/ETC/PASSWD did not find unknown users and suspicious root rights users.
2, NETSTAT-ANP View all process and PID number, no abnormal connection found.
3, last view recently logged in user, no exception found
4, Cat/etc/profile View
1, basic operation requirementsTo achieve the management of user accounts, the main tasks to be completed are as follows:· Add, delete and modify user accounts.· Management of user passwords.· Management of user groups.2, user account add Delete 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