Samba Configuration for Linux

1) Edit config file: vi/etc/samba/smb.conf, modify to security= user, add at end of text:[MyShare]comment= ZnS ' s sharePath=/var/smbshareValidusers = SMB1Public= Nobrowseable= Yeswritable= Yes2) Create folder: Mkdir/var/smbshare, Modify permissions:

Install JDK under Linux (Ubuntu)

First, download1) can go to the official website to download: http://www.oracle.com/technetwork/java/javase/downloads/ea-jsp-142245.html, more, blurred ~~2) Share My network disk: Link: https://pan.baidu.com/s/1i5n8DaH Password: d3qqSecond,

VirtualBox Linux Client Installation enhancements package missing kernel header file Problem resolution

Installing the enhanced Feature Pack in a Linux client always prompts for missing kernel header filesDepending on the release, the command line Package Management command installs DKMS build-essential linux-headers-$ (uname-r), and my client is

The difference and connection between profile, BASHRC, Bash_profile in Linux

Original link: http://blog.csdn.net/chenchong08/article/details/7833242Etc/profile: This file sets the environment information for each user of the system, and the file is executed the first time the user logs on. and collects the shell settings

1.linux, command

1. Understanding Linux1, what is the operating system2, real-life operating systemWin7MacAndroidIos3. History of operating systemUnix:Minix:Linux:  1.2 Different versions of Linux and application areas1. Introduction to the Linux kernel and release

Linux commands 15

Shell ScriptSee what shells the system has[Email protected] ~]# Cat/etc/shells/bin/sh/bin/bash/sbin/nologin/usr/bin/sh/usr/bin/bash/usr/sbin/nologin/bin/tcsh/bin/csh/bin/zsh[Email protected] ~]# vim first.sh#!/bin/bash#SSH Script

Common scenarios for Find commands in Linux

1, find file.txt in the current directory, look for the existence of file.txt2, find. -name file.txt in the current directory, find the file.txt file recursively3, find. -iname file.txt in the current directory, recursively finds file.txt files

Add sudo permissions to Linux users

Add sudo permission method: You need to add the desired entry in the/etc/sudoers file to implement the permissions. There are two ways to join it: (in the root user environment) 1: Direct use of visudo (in root), vim/etc/sudoers (first to change the

Linux Find log Tips

Usually use SECURECRT to query the Linux system log You must first understand the two most basic commands:Tail-n test.log query log at the end of the last 10 lines;Tail-n +10 test.log Query all logs after 10 lines;Head-n test.log Query log file

Linux: Shared memory

#include #include #include # Include #include #include using namespace Std;struct shared_use_st{ int Flags;char buff[1000];}; int main () {void *shared_memory = Null;int Shmid = Shmget ((key_t) 1234,sizeof (shared_use_st), 0666| Ipc_creat), if

Kill lui lei dog---linux no:20 linux process management

When we use Windows, we may sometimes feel the computer is very card, and will find the task manager to shut down a process ...This is all very normal, under our Linux can actually manage his process ...PS: His role is to see all the Linux under the

Linux specifies a way for a non-root user to perform a boot entry (gogs git)

Use Linux to specify GIT users to perform startup Gogs git as an example when Linux is powered on:Log on to Linux as rootExecutive Vi/etc/rc.d/rc.localAdd a line statement at the end of the document: Su git-c "/data/gogs/gogs web

Linux system start-up process

Post (BIOS)MBR bootGrub MenuLoad Kernel (kernel)Init process Initialization• Run/sbin/init loaded by the Linux kernel• Is the first process of the system· PID is always 1Configuration file for the INIT process

Linux tar compression command excludes a directory (summarized according to man Tar)

It is generally easy to package directly with the tar command, using TAR-ZCVF test.tar.gz test directly.In many cases, we have to package a directory, and there are dozens of subdirectories and sub-files in this directory, we need to exclude 1, 2

Installing MAVEN under Linux

1. Install wget commandIf you need to download the MAVEN installation package directly over the network by using the wget command, you need to install the wget command on the Linux system.Yum-y Install wget2. Download MAVEN installation packagewget

Linux adds sudo permissions to users

When using a Linux system, you will often be asked to use super privileges, and if you have the root account it is OK to do anything directly, but this is not a good way and is not recommended to use. Root permissions are too big, use caution!!!For

Linux system daemon and Scheduled tasks

the relationship between procedures and processes* Program• Executable code and data stored on hard disks, discs, and other media• Statically saved code* Process• Program code running in CPU and in memory• Dynamically executed code• Parent, child

Linux fast emptying files like log log

Several ways to quickly empty the contents of a file in LinuxThis article mainly introduces several methods of fast emptying the contents of files in Linux, the need for friends can refer to the followingPermission requirement: At least execute user'

Linux/windows Dual system Boot Repair

Installing the dual system is recommended to install Windows First, then install Linux and use Linux (GRUB2) to boot the dual systemIf you reinstall Windows, you cannot boot into Linux and need to repair the bootInstall EASYBCD boot under Windows,

Linux Ubuntu environment configuration (1), linuxubuntu

Linux Ubuntu environment configuration (1), linuxubuntu Install sogou Input Method in Linux: 1. The 64bit file is downloaded from the official sogou website. It is in the/home/username/Downloads directory by default. 2. cd/home/username/Downloads/

Total Pages: 5467 1 .... 4973 4974 4975 4976 4977 .... 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.