[WTS] [US] Dreamwebhosts – 10% OFF On Linux VPS | SSD Disk | DDoS Protected | 99.9 Uptime.

Dreamwebhosts is a premium hosting provider that provides web hosting solutions of all types. We make sure your website is fast, secure, and always up so that you stay focused on what you do best. We offer everything that you need to build, host, and manage a website. Our top priority is to provide the best website hosting experience to our clients at an affordable cost.

Features:-
KVM Linux Server
Complete Root/SSH Access
Multiple Operating Systems
Free Control panel (Cyberpanel and Virtualmin)
99.9% Uptime
PayPal, Credit & Debit Cards
24×7 Live Chat and Ticket Support

Below is the list of SSD VPS plans:

VPS I:-
CPU 1 vCore
Memory 1 GB
Storage 25 GB SSD
Bandwidth 1 TB
Free Installed (Cyberpanel or Virtualmin)

Price: $5.99 /month – Order Now

VPS II:-
CPU 2 vCore
Memory 2 GB
Storage 40 GB SSD
Bandwidth 2 TB
Free Installed (Cyberpanel or Virtualmin)

Price: $12.99 /month – Order Now


VPS III:-

CPU 2 vCore
Memory 4 GB
Storage 60 GB SSD
Bandwidth 3 TB
Free Installed (Cyberpanel or Virtualmin)

Price: $22.99 /month – Order Now


VPS IV:-

CPU 4 vCore
Memory 8 GB
Storage 100 GB SSD
Bandwidth 4 TB
Free Installed (Cyberpanel or Virtualmin)

Price: $44.99 /month – Order Now

VPS V:-
CPU 6 vCore
Memory 16 GB
Storage 200 GB SSD
Bandwidth 5 TB
Free Installed (Cyberpanel or Virtualmin)

Price: $81.99 /month – Order Now

Contact us: sales(@)dreamwebhosts.com
Payment Method: PayPal, Credit Card & Master Card
Available Locations: US & Canada
Billing and Guarantee: We even offer a 30-day money-back guarantee, and there is no any contracts or hidden fees.
__________________
Dreamwebhosts | Best And Affordable Web Hosting Provider
Hosting: Shared | Reseller
VPS Server: Linux VPS | DirectAdmin VPS | Plesk VPS | cPanel VPS | Storage VPS
Addons: Block Storage | SSL Certificates

.(tagsToTranslate)webmaster forum(t)internet marketing(t)search engine optimization(t)web designing(t)seo(t)ppc(t)affiliate marketing(t)search engine marketing(t)web hosting(t)domain name(t)social media

Cron job Linux Shell command SiteGround – What Directory does it run in?

New to Siteground hosting, Cron jobs and Linux.

I have a directory where I want to remove files older than 30 days on my WordPress website.

The Linux shell command is

find path/to/files/* -mtime +30 -exec rm {} ;

The question is about the path to use. I don’t know where this Cron job is running from.

If I create a cron job with just

find *

The log file produces the following results…

tmp
tmp/somefile1
tmp/somefile2
etc...

Where is tmp? And what should I use in my path for my command to get to where I want it.

If I FTP to my site using FileZilla, this is the path to my directory in question…

/mydomain.com/public_html/sr

So, if I edit my Cron job to execute the following command…

find /mydomain.com/public_html/sr/*

I get

find: '/mydomain.com/public_html/sr/*': No such file or directory

So, just not sure how to specify the path for my Cron job so that it operates on the desired directory.

linux – Mongo DB hacked (read_me_to_recover) without the port exposed in the firewall?

I Have recently setup parse-server on a DO vps, using 3 docker containers, one for parse-server, one for parse-server dashboard and one for mongodb. Because I am just testing this setup I left the mongo container as it is (mongodb://mongo:27017/dev). I have NGINX (not in docker) running as a reverse proxy (to get SSL), it forwards port 80 and 443 to http://127.0.0.1:4040 internal (the parse dashboard web gui). and it routes 1338 to http://127.0.0.1:1337 the parse server (API) itself. This parse server connects to my mongo DB internally.

This is the first time I am using Docker and mongoDB, because of this setup and the mongo db port not open I thought it would be half-decently safe. My question is, how did the hacker breach my database? There was nothing of value stored but there might be in the future. I don’t think he exploited my parse server because I could see the connection coming from a cpython client (the parse connection showed as nodeJS client.

I have added: NGINX, FIREWALL,Docker processes, Mongo LOG lines

nginx
terminal

{"t":{"$date":"2020-08-13T12:23:14.165+00:00"},"s":"I",  "c":"NETWORK",  "id":22943,   "ctx":"listener","msg":"connection accepted","attr":{"remote":"46.182.106.190:39672","sessionId":31,"connectionCount":3}}
{"t":{"$date":"2020-08-13T12:23:14.359+00:00"},"s":"I",  "c":"NETWORK",  "id":51800,   "ctx":"conn31","msg":"client metadata","attr":{"remote":"46.182.106.190:39672","client":"conn31","doc":{"driver":{"name":"PyMong                      o","version":"3.10.1"},"os":{"type":"Linux","name":"Linux","architecture":"x86_64","version":"4.15.0-112-generic"},"platform":"CPython 3.6.9.final.0"}}}
{"t":{"$date":"2020-08-13T12:23:15.941+00:00"},"s":"I",  "c":"COMMAND",  "id":20337,   "ctx":"conn31","msg":"dropDatabase - starting","attr":{"db":"READ_ME_TO_RECOVER_YOUR_DATA"}}
> db.README.find();
{ "_id" : ObjectId("5f3536cd2a546e2eea8211eb"), "content" : "All your data is a backed up. You must pay 0.015 BTC to 145Nny3Gi6nWVBz45Gv9SqxFaj                                                                                              uwTb2qTw 48 hours for recover it. After 48 hours expiration we will leaked and exposed all your data. In case of refusal to pay, we will contac                                                                                              t the General Data Protection Regulation, GDPR and notify them that you store user data in an open form and is not safe. Under the rules of the                                                                                               law, you face a heavy fine or arrest and your base dump will be dropped from our server! You can buy bitcoin here, does not take much time to                                                                                               buy https://localbitcoins.com with this guide https://localbitcoins.com/guides/how-to-buy-bitcoins After paying write to me in the mail with yo                                                                                              ur DB IP: restore_base@tuta.io" }

24×7 Linux and Windows Server Management | NewProxyLists

24×7 Linux and Windows Server Management

Netedge Technology is a leading technical support and server management company. We are running this business since more than 10 years. We have a great team of certified Systems Administrators who can take care of your servers from initial server setup to critical server and infrastructure management.

We are providing management service for all kind of flavors of Linux and Windows.

Server Management Packages

LSM1

1-2 Servers = $100/Month/Server ($100/Server original price)

https://manage.netedgetechnology.com/cart.php?a=confproduct&i=0

WSM1

1-2 Servers = $100/Month/Server ($100/Server original price)

LSM2

3-5 Servers = $85/Month/Server ($255/Server original price)

https://manage.netedgetechnology.com/cart.php?a=confproduct&i=1

WSM2

3-5 Servers = $85/Month/Server ($255/Server original price)

LSM3

6-9 Servers = $75/Month/Server ($450/Server original price)

https://manage.netedgetechnology.com/cart.php?a=confproduct&i=2

WSM3

6-9 Servers = $75/Month/Server ($450/Server original price)

LSM4

9+ Servers = Contact sales at

WSM4

9+ Servers = Contact sales at

(email protected)

Services Included

– Linux and Windows Servers

– 24×7 Chat and Ticketing Support

– Unlimited Administration Tickets

– Escalate tickets to concerned department if needed.

– 24x7x365 Server Monitoring (Free)

– Software support and upgrades

– Server security and optimization

– Server backup and restoration

– Manual server migration

– Communication with datacenter whenever required

– Free Website migration

List of other services we are dealing with.

Server Management

Linux Server Security

Windows Server Security

Control Panel Security

Game Server Management

PCI Compliance

Dedicated Staffing

Shared Staffing

Remote Desktop Support

Technical Support

Hourly Technical Support

Ticket & Chat Support

One Time Service

Software Development

Virtualization Management

VPS Server Management

VPS Node Management

Web Hosting Support

Control Panel Management

Datacenter Management

IT Infrastructure Automation

Remote Infrastructure Management

Cloud Infrastructure Management

NOC Management

Web Application Management

Mobile Application Management

IOT Application Management

Please feel free to contact us at (email protected) if you have any question.

linux – New server has a HBA mini-sas-hd connector. How can I connect 24 disk to one raid card?

Is it possible to connect all 24 disks to one raid card ?

That and WAY More – 250 are not unheard of SAS is a storage network protocol.

How do I connect these physically ?

Using a SAS cabinet that has the logic boards and physical slots for the discs.

Do I need an expander ?

Generally no. I mean, you need one, but the cabinet has one or more of them.

The Hardware I got :

Ah, the backplane. You are aware that there is DOCUMENTATION you should READ? You link to it, but you seem to think we should read it for you.

If you got that backplane – as a backplane, i.e. as single part – you bascially did not get a car but bought part of a car engine. This backplane is a part sold separately for upgrades and replacement IN STORAGE CHASSIS. As you can clearly read (if you read it) on 2-5 of the manual it has a TON of SAS HDD connectors on the back side. These generally are on the back side of a chassis with hot swap trays, where the discs then connect into those SAS connectors. And yes, those are then for SAS discs. The backplane also supports chaining, do you can have one SAS connection go from one backplane to the next. That is, btw., also described IN THE MANUAL YOU LINK – Chapter 3 (Dual Port and Cascading Configurations).

linux – My virtual machine is black

When I tried to install Arch Linux with VirtualBox, I found that the display was too small.

I tried to find the tutorial here, and I typed in:

./VBoxManage controlvm Arch setvideomodehint 2160 1440 32

Then I discovered that there was no such 2160×1440 🙁

I quickly entered:

./VBoxManage controlvm Arch setvideomodehint 1920 1440 32

Then it works.

But when I display it in full screen, it gets dark.
(In other cases, the display is normal.)

What should I do?

linux – why `ifconfig` shows 3 eth interfaces, while router has four

My router (Netgear r6700) has four ethernet ports.
I telnet to it, and run ifconfig:

br0       Link encap:Ethernet  HWaddr <mac address>
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          <a lot of other stuff>
eth0      Link encap:Ethernet  HWaddr <mac_address>
          <a lot of other stuff>
eth1      Link encap:Ethernet  HWaddr <mac_address>
          <a lot of other stuff>
eth2      Link encap:Ethernet  HWaddr <mac_address>
          <a lot of other stuff>
lo        Link encap:Local Loopback
          ...
....
vlan1
vlan2
wl0.1
wl1.1

Why there are only eth0, eth1, eth2, but there is no eth3?

linux – Management system to database, draw statitistcs, cronjobs, network load etc

I need to organize management system to my client on his server. I want in this system things like:

  • show views from database and draw some charts based on it
  • show tables from database
  • maybe query editor to run custom queries (like phpmyadmin)
  • manage cronjobs – similar like ‘crontab -e’ on linux
  • some server statitstics – cpu overload, network traffic etc
  • maybe some mailing system to generate raports by day and send summary to client

I want run this on VPS server with Ubuntu 16.04 LTS.

My client have several crawlers on server and have some statistics tables on database. The purpose is manage these information and display on something like management system/panel for someone who is not programmer.

I looking something in Google and I found:

  • vespa control panel
  • icinga2

Another idea is code this in Python/Django, put data via API and organize this system in 100% custom, but it’s cost money and time. The best option for me is something like ‘ready-to-use’ tool/feature.

Anyone can comment on these tools? Will they fulfill their task? Or maybe somebody have another idea?

java – building an android app from scratch using commandline only using linux

I am trying to create a sample android application without using android studio and just by cmdline. I have android-sdk-30.0.1 and openjdk-14 and openjdk-11 installed. I followed an article on medium.

When I tried -source 11 -target 11 for javac it showed `error: option –boot-class-path not allowed with target 11′

When I tried with -source 11 -target 11 it showed error: invalid source release: 14
What should I do now ?

linux – OpenVPN: Client cannot ping 4.2.2.2 when connected

My client cannot surf the internet when connected to the vpn. I have

push "redirect-gateway def1"

and

root@vortex:/home# cat /proc/sys/net/ipv4/ip_forward
1

set.

Sserver and client connect just fine and error free and can ping each other across the VPN, but that’s as far as it goes.

root@vortex:/home# cat /etc/openvpn/server.conf

mode server
tls-server
port 1194
proto udp
dev tun

#ca      /usr/share/easy-rsa/keys/ca.crt    # generated keys
#cert    /usr/share/easy-rsa/keys/server.crt
#key     /usr/share/easy-rsa/keys/server.key  # keep secret
#dh      /usr/share/easy-rsa/keys/dh2048.pem

ca      /pki/ca.crt
cert    /pki/issued/vortex.trade.com.crt
key     /pki/private/vortex.trade.com.key
dh      /pki/dh.pem

server 10.9.8.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
comp-lzo         # Compression - must be turned on at both end
persist-key
persist-tun
status /var/log/openvpn-status.log
verb 1  # verbose mode
user nobody
group nogroup
client-config-dir /etc/openvpn/ccd
client-to-client
push "redirect-gateway def1"
push "redirect-gateway bypass-dhcp"
push "route 192.168.0.0 255.255.255.0"
#push "dhcp-option DNS 188.120.247.2"
#push "dhcp-option DNS 188.120.247.8"
#push "dhcp-option DNS 82.146.59.250"
push "dhcp-option DNS 4.2.2.2"

log /var/log/openvpn/openvpn.log

root@vortex:/home# cat /etc/iptables/rules.v4

# Generated by iptables-save v1.6.0 on Mon Jul 20 07:13:41 2020
*filter
:INPUT ACCEPT (0:0)
:FORWARD ACCEPT (0:0)
:OUTPUT ACCEPT (0:0)
-A INPUT -i lo -j ACCEPT
-A INPUT -s 127.0.0.0/8 ! -i lo -j REJECT --reject-with icmp-port-unreachable
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p icmp -m state --state NEW -m icmp --icmp-type 8 -j ACCEPT
-A INPUT -p icmp -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p tcp -m tcp --dport 2222 -j DROP
-A INPUT -i eth0 -p udp -m state --state NEW,ESTABLISHED -m udp --dport 1194 -j ACCEPT
-A INPUT -i eth0 -p udp -m state --state ESTABLISHED -m udp --sport 53 -j ACCEPT
-A INPUT -i eth0 -p tcp -m state --state ESTABLISHED -m tcp --sport 53 -j ACCEPT
-A INPUT -i eth0 -p tcp -m state --state ESTABLISHED -m tcp --sport 80 -j ACCEPT
-A INPUT -i eth0 -p tcp -m state --state ESTABLISHED -m tcp --sport 443 -j ACCEPT
-A INPUT -i eth0 -p udp -m state --state ESTABLISHED -m udp --sport 695 -j ACCEPT
-A INPUT -i eth0 -p tcp -m state --state ESTABLISHED -m tcp --sport 3128 -j ACCEPT
-A INPUT -i eth0 -p tcp -m state --state ESTABLISHED -m tcp --sport 6667 -j ACCEPT
-A INPUT -i eth0 -p tcp -m state --state ESTABLISHED -m tcp --sport 9001 -j ACCEPT
-A INPUT -i eth0 -p tcp -m state --state ESTABLISHED -m tcp --sport 9030 -j ACCEPT
-A INPUT -i tun0 -j ACCEPT
-A INPUT -m limit --limit 3/min -j LOG --log-prefix "iptables_INPUT_denied: "
-A INPUT -j REJECT --reject-with icmp-port-unreachable
-A FORWARD -i tun0 -j ACCEPT
-A FORWARD -s 10.9.8.0/24 -i tun0 -o eth0 -j ACCEPT
-A FORWARD -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -d 10.9.8.14/32 -p tcp -m tcp --dport 80 -j ACCEPT
-A FORWARD -m limit --limit 3/min -j LOG --log-prefix "iptables_FORWARD_denied: "
-A FORWARD -j REJECT --reject-with icmp-port-unreachable
-A OUTPUT -o lo -j ACCEPT
-A OUTPUT -p icmp -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m state --state ESTABLISHED -m tcp --sport 2222 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m state --state ESTABLISHED -m udp --sport 1194 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m state --state NEW,ESTABLISHED -m udp --dport 53 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m state --state NEW,ESTABLISHED -m tcp --dport 53 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m state --state NEW,ESTABLISHED -m tcp --dport 80 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m state --state NEW,ESTABLISHED -m tcp --dport 443 -j ACCEPT
-A OUTPUT -o eth0 -p udp -m state --state NEW,ESTABLISHED -m udp --dport 695 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m state --state NEW,ESTABLISHED -m tcp --dport 3128 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m state --state NEW,ESTABLISHED -m tcp --dport 6667 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m state --state NEW,ESTABLISHED -m tcp --dport 9001 -j ACCEPT
-A OUTPUT -o eth0 -p tcp -m state --state NEW,ESTABLISHED -m tcp --dport 9030 -j ACCEPT
-A OUTPUT -o tun0 -j ACCEPT
-A OUTPUT -m limit --limit 3/min -j LOG --log-prefix "iptables_OUTPUT_denied: "
-A OUTPUT -j REJECT --reject-with icmp-port-unreachable
COMMIT
# Completed on Mon Jul 20 07:13:41 2020
# Generated by iptables-save v1.6.0 on Mon Jul 20 07:13:41 2020
*nat
:PREROUTING ACCEPT (58:7571)
:INPUT ACCEPT (8:2109)
:OUTPUT ACCEPT (0:0)
:POSTROUTING ACCEPT (2:120)
COMMIT
# Completed on Mon Jul 20 07:13:41 2020
# Generated by iptables-save v1.6.0 on Mon Jul 20 07:13:41 2020
*mangle
:PREROUTING ACCEPT (254:43256)
:INPUT ACCEPT (216:40502)
:FORWARD ACCEPT (7:420)
:OUTPUT ACCEPT (93:16424)
:POSTROUTING ACCEPT (100:16844)
COMMIT
# Completed on Mon Jul 20 07:13:41 2020

The issue does seem to have appeared following a knockd installation, but not sure.

root@vortex:/home# cat /etc/knockd.conf

(options)
        UseSyslog
    Interface = IFACE
(SSH)
        sequence = 90,90,90
        seq_timeout = 15
        tcpflags = syn
        start_command = /sbin/iptables -I INPUT -i eth0 -s %IP% -p tcp --dport 2222 -j ACCEPT
        stop_command = /sbin/iptables -D INPUT -i eth0 -s %IP% -p tcp --dport 2222 -j ACCEPT
        cmd_timeout = 20

client:

root@Inspiron-laptop:/home/# cat /etc/openvpn/client.conf 
client
remote 188.120.224.182
dev tun
#ifconfig 10.9.8.2 10.9.8.1
nobind
#persist-key
#persist-tun
tls-client
ca /etc/openvpn/ca.crt
cert /etc/openvpn/dell.trade.com.crt
key /etc/openvpn/dell.trade.com.key
comp-lzo
verb 3
redirect-gateway def1
ping-restart 60
log /var/log/openvpn/openvpn.log

The tunnel interface comes up fine

root@Inspiron-laptop:/home/# ifconfig

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 1044649  bytes 565199288 (565.1 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1044649  bytes 565199288 (565.1 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST>  mtu 1500
        inet 10.9.8.10  netmask 255.255.255.255  destination 10.9.8.9
        inet6 fe80::82a9:e454:8136:6d9f  prefixlen 64  scopeid 0x20<link>
        unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  txqueuelen 100  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 29  bytes 4077 (4.0 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.43.160  netmask 255.255.255.0  broadcast 192.168.43.255
        inet6 fe80::3fdf:a130:31c3:32eb  prefixlen 64  scopeid 0x20<link>
        inet6 2600:100a:b128:d429:ef84:249c:a98d:f078  prefixlen 64  scopeid 0x0<global>
        inet6 2600:100a:b128:d429:9cdb:5dbf:2415:6022  prefixlen 64  scopeid 0x0<global>
        ether dc:53:60:6d:f3:62  txqueuelen 1000  (Ethernet)
        RX packets 7446346  bytes 5129002739 (5.1 GB)
        RX errors 0  dropped 212149  overruns 0  frame 0
        TX packets 4900063  bytes 859603059 (859.6 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlx1cbfcebf5fba: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.43.25  netmask 255.255.255.0  broadcast 192.168.43.255
        inet6 2600:100a:b128:d429:fc6e:cdca:d721:6d6c  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::fde3:a1d3:3dc5:56ec  prefixlen 64  scopeid 0x20<link>
        inet6 2600:100a:b128:d429:c93:106a:f84a:4f78  prefixlen 64  scopeid 0x0<global>
        ether 1c:bf:ce:bf:5f:ba  txqueuelen 1000  (Ethernet)
        RX packets 526561  bytes 480490738 (480.4 MB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 456675  bytes 94595265 (94.5 MB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

I can ping the WAN interface of the VPN from the tunnel from the client when connected.

root@Inspiron-laptop:/home/# ping 188.120.224.182
PING 188.120.224.182 (188.120.224.182) 56(84) bytes of data.
64 bytes from 188.120.224.182: icmp_seq=1 ttl=46 time=212 ms
64 bytes from 188.120.224.182: icmp_seq=2 ttl=46 time=310 ms
64 bytes from 188.120.224.182: icmp_seq=3 ttl=46 time=329 ms
64 bytes from 188.120.224.182: icmp_seq=4 ttl=46 time=180 ms
^C
--- 188.120.224.182 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3001ms
rtt min/avg/max/mdev = 180.428/257.780/328.903/63.126 ms

But no farther

root@Inspiron-laptop:/home/# ping 4.2.2.2
PING 4.2.2.2 (4.2.2.2) 56(84) bytes of data.
^C
--- 4.2.2.2 ping statistics ---
6 packets transmitted, 0 received, 100% packet loss, time 5098ms

I suspect firewall but I can’t find the issue.