How to set up FTP server on OS x

Foreword

In the new version of OS X,,No FTP server,Preferences among,Share file-sharing inside retaining only Apple's own AFP, and is compatible with Microsoft samba,This allows sometimes need to transfer files to and some of the equipment becomes tricky。

Recommended Software

The software is quite good,full functioning,From the user to the virtual directory permissions to everything,You can definitely cope with the vast majority of demand for FTP equipment,Such as ZTE EPON C200, etc.,Huawei Cisco God horse。

Software interface as shown in the Preamble - This is a free[……]

Click link to continue reading...

unix / linux programming study notes- Open file descriptors and function

To talk about unix / linux for file operations in these functions,These functions for linux basically meet our requirements in any document,
First talk about the open function
In linux you want to operate on the file must first open the file and then the corresponding processing,Why should we do it? That is because the process and not directly manipulate files between,To process the file first to use the system call between processes and documents connected to a resume operations,This connection becomes a file descriptor,Called as a process leading to the kernel by the kernel[……]

Click link to continue reading...

Update Flash cause Safari to crash Remedy

The new updated version of the flash in some cases require a lot of courage,For example, yesterday,After routing update Flash version of Safari has led to the collapse can not afford。

If you're not careful and I encountered the same problem,Then you can followHereThe official way to manually remove the plug,If you bother to look into the points,Now I write that

The brief resolution process

Use uninstall to uninstall Flash

If your system is 10.6-10.9 version,Then you can try to download the official uninstaller to uninstall Flash。

[Downlin[……]

Click link to continue reading...

ZTE c200 listen to the multicast configuration process summary records

[……]

Click link to continue reading...

Little understanding of Unix System Structure

UnixLittle understanding of architecture

It can be defined as a software operating system in the strict sense,The software controls the computer hardware resources,Provider operating environment for personal understanding of hardware and software wealthy。We call such software kernel (kernel),It is relatively small,Located in the center of the environment

Kernel system call interface is called (system calls) Shared libraries built on top of the system call interface,Applications can either use the shared library,You can also use the system call。

ShellIt is a special application[……]

Click link to continue reading...

Access、Trunk and Hybrid and this VLAN

Three modes switch port

On the switch,There are three commonly used configuration mode,Respectively Access (Access),Trunk (trunk or trunk) as well as Hybrid (Hybrid),These three interfaces operating mode determines the corresponding interface for processing the attitude data packets on the switch。Nowadays,Routing to elaborate on these three models。

label

Since the switch has divided the virtual LAN VLAN function is,Therefore, it is allowed to switch into the Ethernet frame data marked with a tag,VLAN is used to identify different data flows,To be forwarded。This is what we often[……]

Click link to continue reading...

main (int ac, char * of[])和 main(int argc,char *argv[]) Of some of my understanding

Observance of the whereabouts of the 100th article,,,Although the content is somewhat illegible

Yesterday, see route on the main (int argc,char *argv[]) The article feels written brief said such a function

Of course first contact functions of this function is not the main (int argc,char *argv[]) But the main (int AC, char * of[])

They use the same。

Each c language program must have a function called main of[……]

Click link to continue reading...

USB interface to Know

Universal Serial Bus

USB's full name is this,,A blink of an eye,USB 1.0 standard came from the 3.0,of course,Little blue box 3.0 also does not fully into our lives,As it is now around us phone、flat、SLR,Almost still in use USB2.0 standard,Occasionally,People around him or will not tell exactly which line corresponds to which device,What can mix,Which can not。

[warning]
The line can not be mixed is not inserted into the device,Because different shapes,Can insert the,a few[……]

Click link to continue reading...

c language command-line arguments argc,argv

Start

int main(int argc, const char * argv[])

In the C language learning time,We are writing a program,Then view the results in a terminal run,Enter a number, and so on ...... do not know if you have not tried it allows you to write programs that can accept parameters like system commands it? For example,:ls -al like this。

If you wish to do so,Like above, as to declare it!

among them:

argv: Pointer Pointer

argc: Integer

For chestnuts

Assumptions program[……]

Click link to continue reading...

Commonly used strings in c-number function

atof(To convert a string into a floating-point number)

Related Functions atoi,atoll,strtod,strtol,strtoul
Header Files #include <stdlib.h>
Defined Functions double atof(const char * nptr);

Function Description atof()It scans the string parameter nptr,Skip over white space characters,Until a few metWord or the sign began to do the conversion,The encounter ended when non-numeric or string(‘/0’)[……]

Click link to continue reading...

What is SELinux

Profile

SELinux is "Security-Enhanced Linux"Abbreviation,Linux is a US National Security Agency, "NSA = The National Security Agency" and SCC (Secure Computing Corporation) developedExtended mandatory access control security module

Development reasons

Because a lot of trade secrets stored on the company's business platform server,personal information,It is directly related to the personal data of personal privacy[……]

Click link to continue reading...

Rebuild the OS x was deleted Recovery HD

DESCRIPTION

On OS X,There is always a lot of friends because of various reasons,For example, the dual system,For example, change the SSD, etc., etc.,The system will reluctantly comes with Recovery HD comes with this system rescue mode deleted - I do not think that anyone is simply to 650M of disk space and delete it, right =。= Short,While the system can use cmd + r networking at boot time to download,But at the crucial moment,Still very very inconvenient,Not to mention the U disk to do a system disk so the ......,Today, we teach a method of routing,From the system disk OS X[……]

Click link to continue reading...

Sign manually to your OS X patches marked with SSL

Update

Just this morning,Apple released version 10.9.2 update,大小 859.7M,If you do not brush out of the AppStore update,Do not worry,Go to the official website to downloadNow!

Foreword

Just two days ago,Apple Push the latest version of iOS7.0.6,The good news is not blocked escape vulnerability on。of course,The update does not change anything else,That fixes a vulnerability。What is the vulnerability has been calm this predicament usually make Apple such a large campaign do? That is SSL connection is established bug,This bug leads directly around when SSL authentication[……]

Click link to continue reading...

Huawei MA5680T Common examples of debugging commands

I recently in preparation for the contest three networks,Front also wrote an article entitled "Examples of commonly used maintenance commands SoftCo9500"As the article notes,Here,Write an accompanying configuration troubleshooting of EPON。EPONIt is "Ethernet passive optical network" shorthand,HuaweiMA5680TIs aEPONofOLT,Not repeat them here Related Terms,Default readers have a certain level of knowledge,the following,According to an example I will simply tell you about a few of my favorite troubleshooting commands。

The command here is the same with Huawei series,I want to get used to configuring Huawei[……]

Click link to continue reading...

Examples of commonly used maintenance commands SoftCo9500

Foreword

This time in preparation for a called "triple play" technology race,The game may be used HuaweiSoftCo9500Softswitch,By learning a few days,I summed up some of the more commonly used troubleshooting commands,Below for some simple examples to explain,These commands are a lot of overlapping content,Routing hope you will choose the most appropriate commands in the actual situation according to their needs。Although the practice is not necessarily all use,But for the game is typical among,It is indispensable。Due to the limited level of the author himself,Rush wording,[……]

Click link to continue reading...

IOS removal of advertising hosts

 

Today, the route is no longer recommended to use this method to remove ads,Jailbreak pro who can go to Cydia search artifact lessAD,Page, then there adblock,No jailbreak pro can also look at how the venue hereDo not remove the jailbreak annoying banner ads

correct,If you are interested,You can also look at the "Do you like to read it? Buy mini rabbit does not know how to use? If you are a university student,Let me give you some advice!

 

Apple's mobile operating system,Like iPhone,iPad[……]

Click link to continue reading...

Linux storage of lvm (Logical Volume Manager) Logical Volume Manager (1)

First we need to understand why with LVM

Generally expand partition:Need to be adjacent。

advantage:LVM makes it easier to manage disk space。If the file system needs more space,Available space volume groups which may be assigned to a logical volume,And you can adjust the size of the file system。If a disk error began to appear,You may be replaced by a disk volume group registered as physical volumes,And the logical volume range can be migrated to a new disk。

In a nutshell:LVM biggest benefit is,Increased easily reduce the partition。But we can not guarantee the security of data。

Lv[……]

Click link to continue reading...