Do the program from the start can be written into the startup script start-up script or into a service, this way to write boot scriptVi/etc/rc.localJoin the startup scriptZK joins power-on self-start/opt/zookeeper-3.4.6/bin/zkserver.sh
Add PPA:1, First enter Ubuntu system, System->administration->update manager->setting, in the software source interface, click Other softwaretab, click Add in the bottom left corner to paste in the obtained PPA address.2, can also be entered in the
Number of code lines using WC statisticsRecently wrote some code, want to count the number of lines of code, in eclipse as if there is no such function, online Search to find the original Linux has a statistical file line of command WC. The WC can
The role of file sharing between samba Windows and LinuxFtpNfsNFS between Linux and LinuxCIFS between Windows and WindowsDosDEC UnixSun UnixSMB Service Message BlockSamba=========================================ServerYum-y Install SambaVim/etc/samba/
Original address: http://xiaod.in/read.php?77My CentOS VPS above do not know how many accounts added, I would like to clean up today, but have not seen the list of Linux users, Google a bit:In general,CAT/ETC/PASSWD can view a list of all usersW can
Paste the code First://input.cintInput_register_handler (structInput_handler *handler) { //A lot of code is omitted herelist_for_each_entry (Dev,&input_dev_list, node) input_attach_handler (dev, handler); //A lot of code is omitted here return
RM commands are mainly used to delete files and directories, in penetration testing we often need to upload or create some new test files, in order to leave as few traces as possible, we often need to delete some of our uploaded or new files, then
I. Iptables INTRODUCTIONIptables is with Linux kernel-Integrated filtering firewall system with three tables (Filter table, NAT table, mangle table), five-strand (input,output,forward,prerouting,postrouting)650) this.width=650; "src="
Linux timed tasks:[ @ops_operator_01 ~]$ cat/etc/crontabShell=/bin/bashPath=/sbin:/bin:/usr/sbin:/usr/binMailto=roothome=/# for details see Mans 4 Crontabs# Example of Job definition:#.----------------Minute (0-59)# | .-------------Hour (0-23)# |
Learning this is a painful thing, if learning Linux is really simple, then must be a liar lied, at least this will not bring you high salary, open the computer after the meditation. It's time to chat, or to catch a beautiful play, or to play lol or
Linux executes the. sh file, prompting no such file or directory issuesUnder the window platform, write the shell script file, migrate to the Linux platform, assign executable permissions, execute the SH file,However, no such file or directory is
In the company, the fourth time to modify the "firewall rules", tidy up a bit.Note: The change on the command line is temporary and requires some action to keep the rule forever, making it always effective.========================1, the first step,
Several ways that Linux often uses file transfers 1, terminal new STFP protocol connection or Command mode:sftp-p22 [email protected]The port can not be filled out, the default is 22, the port p is uppercase. Transfer files under the local path to
Preface: Whether it is multithreaded programming or multi-process programming, it is necessary to control the synchronization and mutex issues between different threads or processes. Synchronization is a task that is performed by multiple processes
Linux Learning (1), Linux Learning (
1. What is shell and bash? What is the difference between them?
Shell is a user interface that interacts with Linux.
Bash is a special case of shell, or an implementation.
Bash: command line user interface
[Linux notes (000)] -- system startup process, linux000
1. Start the process
BIOS --> MBR (Boot Code) --> GRUB --> load the kernel --> execute Init --> runlevel
Ii. Detailed Description
BIOS: Basic Input Output System, which is used to check the
About the linux PPA source, linuxppa Source
Add PPA:1,First, go to the ubuntu system, choose system> administration> update manager> setting. On the software source page, click other software.
Tab, click add in the lower left corner, and paste the
Install mysql,
Installation environment: The system is centos6.5
1. Download
: Http://dev.mysql.com/downloads/mysql/5.6.html#downloads
Download version: I have selected 5.6.33, general edition, and 64-bit linux.
You can also directly copy the 64-bit,
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