نمایش نتایج: از شماره 1 تا 4 , از مجموع 4

موضوع: دستورات pure ftp

  1. #1
    مدیر کل Vahid آواتار ها
    تاریخ عضویت
    Aug 2008
    نوشته ها
    2,724
    تشکر تشکر کرده 
    435
    تشکر تشکر شده 
    6,976
    تشکر شده در
    2,085 پست

    پیش فرض دستورات pure ftp

    خیلی حال کردم گفتم بزارم بچه ها استفاده کنند
    نصبش مال debian هست برای نصب روی CentOS از yum استفاده کنید
    Pre-Installation

    Before proceeding to install, update the necessary packages in Debian with these commands.

    apt-get update
    apt-get upgrade

    Install Pure-FTPd

    In a Linux shell run the following:

    apt-get install pure-ftpd-common pure-ftpd

    Now we need to create a new system group for pureftpd:

    groupadd ftpgroup

    Now we add a user for the group and give that user no permission to a home directory or a shell:

    useradd -g ftpgroup -d /dev/null -s /etc ftpuser

    Create a new user

    Lets create our first FTP user. In this example our user will be "justin":

    pure-pw useradd justin -u ftpuser -g ftpgroup -d /home/pubftp/justin -N 10

    In the above command we gave him a limit of 10 MB disk space with the option "-N 10". Now you have to enter justin's new password twice.

    By default your users will be saved in /etc/pure-ftpd/pureftpd.passwd, but first we have to update the pureftpd Database:

    pure-pw mkdb

    The "Database" here is simply a binary file but it is ordered and has an index for quick access.
    User Information

    To get some user details enter the following to get a complete list of all pureftpd users:

    pure-pw list

    If you want to show information about a specific user:

    pure-pw show justin

    This will show you detailed information about the user "justin".

    You will notice that the line "Directory: /home/pubftp/justin/./" has a trailing ./ but you shouldn't worry as this is simply the chroot for the user, which means he can't go "above" his directory.
    Resetting a password

    If you forget the password for a user, you can reset it as follows:

    pure-pw passwd justin

    After a password reset update your database:

    pure-pw mkdb

    Starting the FTP Server

    To test the server let's start it:

    /usr/sbin/pure-ftpd -S 127.0.0.1,21 -c 30 -C 1 -l puredb:/etc/pureftpd.pdb -x -E -j -R

    The shell will open up a new pure-ftpd session and you should be able to connect to your FTP server. Use an FTP client to test whether or not you are able to login with your user details you created.

    Once you are happy close the session off:

    ctrl z

    Configuring Pure-FTPd

    Right so by now you have created a user and been able to connect to your FTP server. We now want to setup a few things so that we can run Pure-FTPd as a daemon.

    First you need to set Pure-FTPd as a standalone server:

    vim /etc/default/pure-ftpd-common

    Replace this:

    STANDALONE_OR_INETD=inetd

    With this:

    STANDALONE_OR_INETD=standalone

    Now we want to ensure that the standalone server checks our usernames and passwords against the pureftpd database file:

    cd /etc/pure-ftpd/conf
    vim PureDB

    Add the following to that file (if it doesn't exist):

    /etc/pure-ftpd/pureftpd.pdb

    Now we need to create a symbolic link to the PureDB file:

    cd /etc/pure-ftpd/auth
    ln -s /etc/pure-ftpd/conf/PureDB 50pure
    ls -ls

    You should now see a new file "50pure" linking to ../conf/PureDB.

    Restart Pure-FTPd:

    /etc/init.d/pure-ftpd restart

    Pure-FTPd should now startup in daemon mode and everything should be up and running.
    برای پیش رفت در علم آسانسوری وجود ندارد پله ها را باید پیاده رفت /./ همیشه این یادتان باشد که دست بالای دست بسیار است.
    يادمان باشد براي يك بار ايستادن صد ها بار افتاده ايم /./ بک آپ مهمترین رمز موفقیت هاستینگ /./ امنیت مطلق نیست.
    ارتباط مستقیم با من :
    Admin -{(@)}- WebHostingTalk . ir

  2. تعداد تشکر ها ازVahid به دلیل پست مفید


  3. # ADS




     

  4. #2
    عضو انجمن
    تاریخ عضویت
    May 2010
    نوشته ها
    365
    تشکر تشکر کرده 
    699
    تشکر تشکر شده 
    678
    تشکر شده در
    417 پست

    پیش فرض پاسخ : دستورات pure ftp

    دیدم این تاپیک مفید گفتم اپش کنم و یه سوال هم بپرسم !

    کسی اینجا هست که از این برنامه استفاده کنه ؟!

    یکی اینو برام نصب کرده میخوام ببینم دستور ساختن اکانت چیه و کلا چند تا دستور باحالش رو بگه با توضیحات فارسی و به روز ...

  5. تعداد تشکر ها از lvlehrad به دلیل پست مفید


  6. #3
    عضو دائم
    تاریخ عضویت
    Jan 2009
    محل سکونت
    یزد
    نوشته ها
    2,773
    تشکر تشکر کرده 
    914
    تشکر تشکر شده 
    2,780
    تشکر شده در
    1,757 پست

    پیش فرض پاسخ : دستورات pure ftp

    یاد یه جمله قدیمی افتادم که میگفت چهار تا am is are ترجمه نمیخواد که ! اینایی که شما میخوای تو همون پست اول هست ! بخون متوجه میشی.


  7. تعداد تشکر ها از Sajad به دلیل پست مفید


  8. #4
    عضو انجمن
    تاریخ عضویت
    May 2010
    نوشته ها
    365
    تشکر تشکر کرده 
    699
    تشکر تشکر شده 
    678
    تشکر شده در
    417 پست

    پیش فرض پاسخ : دستورات pure ftp

    این تاپیک برای 1 سال پیش هست ! بیشتر بخاطر این پست دادم که مطمئن بشم که دستوراتش تغییراتی نکرده !

  9. تعداد تشکر ها از lvlehrad به دلیل پست مفید


اطلاعات موضوع

کاربرانی که در حال مشاهده این موضوع هستند

در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)

موضوعات مشابه

  1. Kaspersky PURE 3.0
    توسط mihanscript در انجمن مباحث دیگر
    پاسخ ها: 0
    آخرين نوشته: July 16th, 2013, 12:38
  2. نصب Pure FTPd
    توسط milad221 در انجمن سوالات و مشکلات
    پاسخ ها: 9
    آخرين نوشته: February 4th, 2013, 15:47
  3. مشکل با pure-ftpd در cpanel
    توسط xxxxmortezaxxxx در انجمن سی پنل CPanel
    پاسخ ها: 2
    آخرين نوشته: October 21st, 2012, 02:57
  4. ساختن اکانت در pure ftp
    توسط lvlehrad در انجمن مباحث دیگر
    پاسخ ها: 24
    آخرين نوشته: July 14th, 2010, 16:35

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •