找不到想要的文章嗎? 請直接再下面的搜尋框裡輸入要查詢文章內容關鍵字 ,就能夠更快速的取得想要閱讀的問題喔~~謝謝大家的支持與愛護～若有任何建議事項, 歡迎透過留言板留言給我喔！！
- Mar 16 Wed 2016 18:46
- Jan 19 Tue 2016 10:52
To configure passive mode for vsftpd you need to set some parameters in vsftpd.conf.
pasv_enable=Yes pasv_max_port=10100 pasv_min_port=10090This enables passive mode and restricts it to using the eleven ports for data connections. This is useful as you need to open these ports on your firewall.
iptables -I INPUT -p tcp --destination-port 10090:10100 -j ACCEPT
If after testing this all works then save the state of your firewall with
service iptables save
which will update the
To do this is CentOS 7 you have to use the new firewalld, not iptables:
- Mar 10 Tue 2015 16:26
- Jun 17 Tue 2014 15:29
- May 27 Tue 2014 15:40
multicast routing By default IPv6 multicast routing is disabled, so you have to explicitly configure it in rc.conf. Currently there are two IPv6 multicast routing daemons available in package or ports (pim6sd = PIM-SM and pim6dd = PIM-DM), but please keep in mind that they are not installed in FreeBSD-RELEASE by default due to its licensing issue.
-------/etc/rc.conf--------- mroute6d_enable="YES" # Do IPv6 multicast routing. By default it's "NO". mroute6d_program="/usr/local/sbin/pim6sd" # Name of IPv6 multicast routing daemon. # You need to install it from package or port. ---------------------------- [Optional] You can give arguments to IPv6 multicast routing daemon. Normally nothing is required.
-------/etc/rc.conf--------- mroute6d_flags="-d pim" # debugging option for pim6sd ----------------------------
- May 27 Tue 2014 15:22
- May 20 Tue 2014 16:18
I have a FreeBSD machine running on a virtual machine. I am using SUN Virtual Box. I need to set static IP address to this machine. So that I can access this machine. Is there anyway to do this ?
ifconfig_em0="inet 192.168.0.254 netmask 255.255.255.0"
192.168.0.254 -- the machine IP,
- Apr 22 Tue 2014 18:45
- Mar 03 Mon 2014 16:08
You probably know the situation: You love FreeBSD, you love ZFS as a filesystem (maybe even as the root filesystem?), but when it comes to virtualisation, FreeBSD users don't have a lot of choice.
That said, VirtualBox, which runs on quite a few platforms and is free, does perform rather well and offers many features, which most people aren't aware of: iSCSI support, Teleporting (aka live migration, even cross-platform), Virtio Net support, Ballooning, built-in solid VNC support (better than Xen's!), highly configurable device support (from disk controller types over chipsets and NICs).
Getting it to run on a FreeBSD 9.0 amd64 server (without any GUI) was less complicated than I thought. However, there are some minor things, which can easily be missed in therelevant chapter of the FreeBSD Handbook and the FreeBSD Wiki, and neither of them actually tells you how to start your first VM, which is anything but intuitive. (That can be automated later, though.)
Let me walk you through the required steps from installation to getting your first VM on the way.
- Feb 14 Fri 2014 18:10
Q. Can you example how can I install telnet service or server under Linux or FreeBSD operating system?
A. TELNET (TELetype NETwork) is a network protocol used on the Internet or local area network LAN connections.
The telnetd program (telnet server) is a server which supports the DARPA telnet interactive communication protocol. Telnetd is normally invoked by the internet server inetd or xinetd for requests to connect to the telnet port as indicated by the /etc/services file. Usaually telnet listen on port TCP port 23.
Telnet in is insecure protocol and it is recommended that you use ssh server. But some time you really need telnet then first install telnet server as according to version of Linux distribution.
- Feb 14 Fri 2014 18:08
Q. How do I telnet as the root user?
A. This is really a bad idea as telnet is insecure, because passwords are sent as clear text format. Instead, you should use SSH for connections. I suggest that you use SSH to connect to a system instead of Telnet for security purposes. By default, for security purposes, the root user can not telnet. However, here is method in case you need root access via telnet:
Edit /etc/pam.d/login and /etc/pam.d/remote files using a text editor such as vi. Find the line that read as follows:
auth required pam_securetty.so
Comment it out by prefixing # symbol:
#auth required pam_securetty.so
Save and close the file. Now, you should be able to telnet to your system as the root user.
- Aug 19 Mon 2013 17:07
- Jul 13 Sat 2013 21:20
- Oct 27 Sat 2012 15:42
- May 10 Thu 2012 15:45
- Apr 21 Sat 2012 09:47
rsync stands for remote sync.
rsync is used to perform the backup operation in UNIX / Linux.
rsync utility is used to synchronize the files and directories from one location to another in an effective way. Backup location could be on local server or on remote server.
Important features of rsync
- Speed: First time, rsync replicates the whole content between the source and destination directories. Next time, rsync transfers only the changed blocks or bytes to the destination location, which makes the transfer really fast.
- Security: rsync allows encryption of data using ssh protocol during transfer.
- Less Bandwidth: rsync uses compression and decompression of data block by block at the sending and receiving end respectively. So the bandwidth used by rsync will be always less compared to other file transfer protocols.
- Privileges: No special privileges are required to install and execute rsync
$ rsync options source destination
Source and destination could be either local or remote. In case of remote, specify the login name, remote server name and location.
- Mar 28 Wed 2012 16:58
How do I make Vi-Vim never use tabs (converting spaces to tabs, bad!), makes the tab key == 4 spaces, and automatically indent code after curly brace blocks like emacs does?
Also, how do I save these settings so I never have to input them again.
I've seen other questions related to this but it always seems to be a little off from what I want.