خطاهای پیش آمده در لینوکس و راه حل آنها

تجریبات بر طرف سازی خطاهای لینوکس

خطاهای پیش آمده در لینوکس و راه حل آنها

تجریبات بر طرف سازی خطاهای لینوکس

استفاده از socks5 برای yum در لینوکس

سلام، 

اگر زمانی بخواهید برای یک سیستم لینوکسی که ارتباط اینترنتی ندارد از امکان yum استفاده کنید به روش زیر عمل کنید.

حوزه عمل برای سیستم های redhat base


vi /etc/yum.conf

add this line perhaps at the end of the file


proxy=socks5://ip:port


may be you need DNS request send and receive  through this channel, so use this instead


proxy=socks5h://ip:port


نحوه mount کردن nfs از یک سرور بر روی سرور لینوکس

1- /etc/fstab

2- add this line

RemoteServernameOrIPAddress:RemotePath LocalPath nfs defaults 0 0

3-mount -a


Enjoy 


روش disabled کردن SELinux در فدورا

SELinux سرویسی برای امنیت سرورهای لینوکسی خانواده RedHat می باشد و به صورت Roll Based تنظیم میشود.

اما در گاهی اوقات مجبور به غیر فعال کردن آن میشوید که راه حل آن به صورت زیر است.


1- su -   # change user to root

2- vi /etc/selinux/config # edit selinux config file

3- find line SELINUX=enforcing ( or permissive)

4- change it to --> SELINUX=disabled

5- save your work and exit from editor # SELinux still running
6- type this command 'setenforce 0' #SELinux disabled on the fly and never enabled again