انجمنهای فارسی اوبونتو
کمک و پشتیبانی => نصب، راهاندازی و بروزآوری => نویسنده: salamkawan در 19 تیر 1390، 08:47 بظ
-
با عرض صلام و خسته نباشید
بنده برنامه gshiled که تو مخازن اوبونتو نیست رو از اینترنت داونلود کردم و الان تو مسیر Home/user/Downloads هستش. می خواستم اگه امکان داره به زبون ساده و از اول نصب تا چگونگی شروع به کار برنامه رو برام بگید. اگه مثلاًُ تو ترمیناله یا نه اگه تو محیط گرافیکی. می خوام با یه مثال -اگه مثال همین برنامه باشه که چه بهتر- بفرمایید که چگونه باید نصب کنم. تو ویندوز برای دانلود برنامه راحت روی آیکن install و بعد next کلیک می کردی و برنامه نصب می شد و لی اینجا اینطوری نیست.
با تشکر
-
دوست من شما با مطالعه readme و install هر نرم افزار دانلود شده می توانید پی به نحوه نصب آن ببرید
اما به طور معمول
آن را از حالت آرشیو، فشرده خارج کنید که با دستور زیر امکان پذیر است
tar xvf fileaddress
سپس رفتن به محل فایل
cd file that extracted
و اجرای سه دستور زیر یک به یک
./configure
make
make install
-
با تشكر از توجه و پاسختون
تا اینجا رو اومدم
user@user:~/gShield-2.7.1$ ./conf
bash: ./conf: Is a directory
user@user:~/gShield-2.7.1$ make
make: *** No targets specified and no makefile found. Stop.
اگرم اینطوری بنویسم اینه خروجی:
user@user:~/gShield-2.7.1$ ./configure
bash: ./configure: No such file or directory
حالا بفرمایید چی کار کنم آیا برنامه مشکل داره یا نه من اشتباهی کردم.
با تشکر مجدد.
-
دوست من به چند نکته باید توجه کنی
۱- اینجا ویندوز نیست
۲-باید نوع نگاهتان را در لینوکس نسبت به وبندوز عوض کنید. (اینجا همه کاره خودتونید)
۳-در لینوکس همه چی فایل است
۴-دستور العملی که گفتم اصول نصب نرم افزار از روی سورس و لازم نسیت همه از این قانون تبعیت کند که در readme , install توضیح می دهد.
به نوشته install نرم افزار توجه کنید همه چیز را گفته:
gShield Installation Notes
--------------------------
# ------------------------------ #
# Netfilter/iptables #
# -------------------------------#
gShield assumes you have a properly working and
configured netfilter/iptables setup. It does not make
use of any "special" extensions or patches, but some
things will not work well unless you are sure they
are installed (such as the FTP NAT support)
gShield DOES NOT attempt to load iptables modules for you.
# ------------------------------ #
# Installing #
# -------------------------------#
The default configuration assumes everything will
be installed in /etc/firewall.
gShield will untar to gShield-<version> which means you
will need to a) move/rename this directory to /etc/firewall
or b) symlink /etc/firewall to gShield-<version>/
**********************************************************
** DO NOT attempt to run configure this script remotely **
**********************************************************
**********************************************************
** DO NOT run the thing remotely! ************************
**********************************************************
I recommend installing/configuring the first time locally in case
something horrible happens-- otherwise, if you make a mistake, you
will find yourself locked out of your own machine. I'm not
kidding.
* NEXT *
Open a terminal. Get out that favorite editor of yours. Edit
gShield.conf -- it's commented.
* NEXT *
Read the README. It's in the docs directory.
* NEXT *
Run the script (/etc/firewall/gShield.rc) <- assuming you've renamed the
directory.
I suggest linking this, or setting it up as an automatic process.
Three examples on how to do this.
PPP -- under Debian, there's a nice directory -> /etc/ppp/ip-up.d/
Make a link from the firewall:
ln -s /etc/firewall/gShield.rc /etc/ppp/ip-up.d/gShield.rc
DHCP -- from my config file for dhcpcd:
OPTIONS='-d -c /etc/firewall/gShield.rc'
* That's it *
-
سعی ام رو می کنم.
با تشكر از شما.