I have the following problem. But I only have ssh access to the Mac machine. So I not use any GUI solution. Is there a way to enable this in the command line? Thanks.
user1424739's questions
I see this error message in the log of msmtp. What does it mean? How to fix the problem?
I previous used tor's socks proxy and I don't see this message. But when I switch the proxy to a shadowsocks localhost port, I see this error.
I don't find a way to set up split tunneling.
I basically need to use VPN to access certain websites behind a firewall and not to use VPN for anything not in the firewall. With Cisco AnyConnect Secure Mobility Client, I can either use the VPN or not to use it. I don't see a way to set for what domains and IP addresses to use VPN and for what domains and IP addresses not to use VPN.
It seems that my Cisco AnyConnect Secure Mobility Client is a customized version by my administrator (I am not quite sure. Can an administrator customize the software so that it will disable split tunneling?)
In that case, is there no way to set up split tunneling on Mac OS X while the VPN is on?
I have the following line in the Dockerfile.
RUN apt-get install -y tzdata
When I run it, it asks for my input. After I provided my input, it hung there. Does anybody know how to solve this problem?
Step 25/25 : RUN apt-get install -y tzdata
---> Running in ee47a1beff84
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
tzdata
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 189 kB of archives.
After this operation, 3104 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 tzdata all 2018i-0ubuntu0.18.04 [189 kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 189 kB in 1s (219 kB/s)
Selecting previously unselected package tzdata.
(Reading database ... 25194 files and directories currently installed.)
Preparing to unpack .../tzdata_2018i-0ubuntu0.18.04_all.deb ...
Unpacking tzdata (2018i-0ubuntu0.18.04) ...
Setting up tzdata (2018i-0ubuntu0.18.04) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Configuring tzdata
------------------
Please select the geographic area in which you live. Subsequent configuration
questions will narrow this down by presenting a list of cities, representing
the time zones in which they are located.
1. Africa 4. Australia 7. Atlantic 10. Pacific 13. Etc
2. America 5. Arctic 8. Europe 11. SystemV
3. Antarctica 6. Asia 9. Indian 12. US
Geographic area:
``
How to open a 8080 port for an application, with iptables
I see the above thread. And I run the following commands. But it seems that 8080 is still accessible outside the machine. Does anybody know what is wrong?
$ netstat -tanpu | grep ":8080"
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 165.91.211.165:8080 0.0.0.0:* LISTEN 26098/python3
$ sudo iptables -I INPUT 1 -i eth0 -p tcp --dport 8080 -j ACCEPT
$ sudo iptables -nvL
Chain INPUT (policy ACCEPT 5039 packets, 935K bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT tcp -- eth0 * 0.0.0.0/0 0.0.0.0/0 tcp dpt:8080
0 0 REJECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:25 reject-with icmp-port-unreachable
0 0 REJECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 reject-with icmp-port-unreachable
0 0 ACCEPT tcp -- * * 127.0.0.1 0.0.0.0/0 tcp dpt:5900
0 0 ACCEPT tcp -- * * 127.0.0.1 0.0.0.0/0 tcp dpt:5901
0 0 ACCEPT tcp -- * * 127.0.0.1 0.0.0.0/0 tcp dpt:5902
0 0 ACCEPT tcp -- * * 127.0.0.1 0.0.0.0/0 tcp dpt:5903
0 0 ACCEPT tcp -- * * 127.0.0.1 0.0.0.0/0 tcp dpt:5904
0 0 ACCEPT tcp -- * * 127.0.0.1 0.0.0.0/0 tcp dpt:5905
0 0 ACCEPT tcp -- * * 127.0.0.1 0.0.0.0/0 tcp dpt:5906
0 0 ACCEPT tcp -- * * 127.0.0.1 0.0.0.0/0 tcp dpt:5907
0 0 REJECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:5900 reject-with icmp-port-unreachable
0 0 REJECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:5901 reject-with icmp-port-unreachable
0 0 REJECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:5902 reject-with icmp-port-unreachable
0 0 REJECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:5903 reject-with icmp-port-unreachable
0 0 REJECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:5904 reject-with icmp-port-unreachable
0 0 REJECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:5905 reject-with icmp-port-unreachable
0 0 REJECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:5906 reject-with icmp-port-unreachable
0 0 REJECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:5907 reject-with icmp-port-unreachable
0 0 REJECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:143 reject-with icmp-port-unreachable
0 0 REJECT tcp -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:993 reject-with icmp-port-unreachable
The following is the price of the 4TB NL-SAS drive offered by Dell for PowerEdge 720xd.
4TB 7.2K RPM Near-Line SAS 6Gbps 3.5in Hot-plug Hard Drive [$663.38]
It seems to be too expensive. A similar drive is much cheaper (only ~ $300) on amazon.
Does anybody know whether the Seagate Drive from amaozon is considered as NL-SAS drive? If so, why there is such a huge difference in terms of price.
Also, if so, is it common to only purchase the minimal number of disks from Dell and purchase HDD from other venders and add these disks to the RAID later?
I'm considering the following RAID controllers. Do all of them allow me to add HDD later (or rebuild the RAID from scratch)? Thanks.
PERC H310 Integrated RAID Controller
PERC H710 Integrated RAID Controller, 512MB NV Cache
PERC H710P Integrated RAID Controller, 1GB NV Cache