X
تبلیغات
رایتل

انجمن مدیران و راهبران شبکه

Network Managers and Administrators

مراحل ریست نمودن پسوورد یوزر ROOT در لینوکس

If you forgot your root password for your debian server use the following procedure to reset.

Boot to the GRUB menu. Then, press <e> (for edit) before Linux has a chance to boot.


Using your keyboard arrow keys, move the cursor down a line or so, and press <e> (for edit) again, you should now be on the kernel line, and press <End> to go out to the very end of that line. Now hit the spacebar once, if necessary, to add a space, and then add one of the folllowing:


init=/bin/bash


or


init=/bin/sh


Then press <Enter>, and you're back at the kernel line, press <b> (for boot) and the computer will proceed to boot to a root prompt.


At this point, the root file system is still mounted read-only, so enter the following command:


mount -n -o remount,rw /


Then type:


passwd


Enter your new password. Retype if asked to confirm.

Then restart the machine by typing:


reboot


Now you should be able to login with your new root password as required.

تاریخ ارسال: دوشنبه 4 اردیبهشت‌ماه سال 1396 ساعت 01:34 | نویسنده: Iman Mojtahedin Yazdi 0 نظر

گزیده ای از برخی دستورات خط فرمان (cmd) پرکاربرد در Microsoft Windows Server 2016 و VMware ESX


CMD :

==================

- servermanager.exe

- sconfig.exe

- dcdiag /fix

- nltest /dcregdns


vMware ESXi:

=================

- vmware -l

- vmware -v

- esxcli vm process list

- vim-cmd vmsvc/getallvms

- vim-cmd vmsvc/power.getstate <vmid>

- vim-cmd vmsvc/power.on  <vmid>


در حال ویرایش ...

تاریخ ارسال: سه‌شنبه 8 فروردین‌ماه سال 1396 ساعت 13:14 | نویسنده: Iman Mojtahedin Yazdi 0 نظر

نحوه تنظیم Static Route بصورت ثابت بر روی سرور لینوکس




To keep the Static Route persistent on Linux or you want to add the route entries to the network

 script files (not using the route command) then all you need to do is to edit the file

/etc/network/interfaces

and the static routes in the following format:

up route add [-net|-host] <host/net>/<mask> gw <host/IP> dev <Interface>

Example

up route add -net 172.20.11.0/16 gw 172.20.10.254 dev eth1

And the file will like the following

sudo cat /etc/network/interfaces

The output should show something like this

sudo cat /etc/network/interfaces

The output should show something like this

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0 eth1

iface eth0 inet static
address 192.168.1.2
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.254
# dns-* options are implemented by the resolvconf package, if installed

iface eth1 inet static
address 172.20.10.1
netmask 255.255.255.0
broadcast 172.20.10.255
gateway 172.20.10.254

# static route
up route add -net 172.20.11.0/16 gw 172.20.10.254 dev eth1

The above has 2 Ethernet interfaces and the static route is added to the interface eth1.

For the change to /etc/network/interface to take effect. please restart the "networking" service as follows:

sudo /etc/init.d/networking restart

NOTE: If you added the route already using the "route" then there is no need to restart the networking service because, the next time server is restarted this takes effect.

برچسب‌ها: Linux، iman mojtahedin yazdi
تاریخ ارسال: یکشنبه 3 بهمن‌ماه سال 1395 ساعت 10:58 | نویسنده: Iman Mojtahedin Yazdi 1 نظر

رفع مشکل رجیستر نشدن کلاینت ها در سرور WSUS


سلام ، خدا قوت 

اگر شما هم با مشکل رجیستر نشدن کلاینت ها در کنسول سرویس WSUS در Windows server 2016 مواجه شدید لازم است بدانید برای رفع این مشکل کافیست در تنظیمات Group policy سرور Active directory اطلاعات شماره پورت سرویس WSUS را نیز به شکل زیر اضافه کنید:

http://wsussrv:8530


 


تاریخ ارسال: پنج‌شنبه 16 دی‌ماه سال 1395 ساعت 11:20 | نویسنده: Iman Mojtahedin Yazdi 0 نظر

نحوه پنهانکاری آدرس مبدا - Stun messages generated by WebRTC

جهت یاد آوری  خودم  





Google Chrome:

chrome://flags

WebRTC Stun origin header -> Disable


Mozila FireFox:

about:config

media.peerconnection.ena

تاریخ ارسال: سه‌شنبه 18 آبان‌ماه سال 1395 ساعت 13:32 | نویسنده: Iman Mojtahedin Yazdi 0 نظر
( تعداد کل: 104 )
   1      2     3     4     5      ...      21   >>
صفحات