Latest Server related questions

Score: 0
Tần Quảng avatar
How to install PHP on CentOS has preinstalled Apache HTTPD?
pk flag

I'm using CentOS 7. I wanted to install PHP 7 so I used remi-php (latest PHP version of yum is 5.4). Since the HTTPD version of yum is too old, I compiled the latest HTTPD version from the source code.

HTTPD compilation goes perfectly, however, when I try to install remi-php using the following command:

yum --enablerepo=remi-php71 install php php-cli php-intl php-mbstring php-mcrypt php-mysqlnd
 ...
Score: 0
Saurabh Kumar avatar
Strongswan tunnel connected but the traffic is not going through it
fo flag

I have 3 Virtual Machine cluster (platform1, platform2 and platform3) and I have enabled ipsec tunnel communication between them using strongswan (5.6.2). The tunnel looks fine and connected, but seems there is a problem routing the traffic through the tunnel in a particular direction. Below are the observations

  1. While attemptign ping from platform1 (192.168.10.1) to platform2 (192.168.10.2), packets  ...
Score: 0
xen bridge down following reconnect
in flag

My xen bridge was working fine before a USB/SATA cable got moved. None of my xen clients can ping the www.

root@NewInspiron15:/etc/xen# xl list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                     0 32145     8     r-----     403.3
hvm-debian01.tradercoin                     2  8024     1     ------       7.5

root@NewInspiron1 ...
Score: 1
justanotheruser1019 avatar
Rotation not executing when file size reaches certain threshold
us flag

I have the following configurations in /etc/logrotate.d/rsyslog:

/var/log/syslog
{
        rotate 7
        size 1G
        missingok
        notifempty
        delaycompress
        compress
        postrotate
          invoke-rc.d rsyslog rotate >/dev/null
        endscript
}

From what I understand, I've set it up so if /var/log/syslog reaches 1G in size, it will rotate itself. Also, the system wi ...

Score: 0
master lfc6 avatar
need help converting an iptables command to firewalld
us flag

Guys how can I convert the following commands to firewalld accepted format ?

iptables -A FORWARD -s 80.6.0.0/23 -p udp --dport 25 -j DROP
iptables -A FORWARD -s 80.6.0.0/23 -p tcp --dport 25 -j DROP
Score: 1
SebaSbs avatar
Missing disk half space on Ubuntu 18.04.5 LTS VPS
ru flag

My client has a problem with one server, plesk is throwing error 500, and the websites hosted there act weirdly. I found out it's because the system ran out of space, technically. My problem is that when i perform a lsblk command, something weird appears.

NAME          MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda             8:0    0   240G  0 disk 
├─sda1          8:1    0   487M  0 part /boot
└─sda2 ...
Score: 1
Patrick Bucher avatar
Reload Apache Using ACME User
in flag

I run a web server on Debian 10 (Buster) and Apache 2.4.38. I created a special user acme that runs scripts for renewing TLS certificates.

$ cat /etc/passwd | grep ^acme
acme:x:1002:1002::/var/acme:/usr/bin/nologin
$ cat /etc/group | grep ^acme
acme:x:1002:

This acme user should be allowed to reload the Apache 2 configuration after the certificates were renewed. So I added this line to my /etc/sudoe ...

Score: 0
Rafay Khan avatar
Unable to SSH into OpenVPN cloud connector machine over VPN IP
dz flag

I just started using OpenVPN cloud connectors for creating mesh VPN networks. I deployed a connector and setup relvant IP forwarding and NAT protocols that allow me to access the LAN network behind the machine with runs the OpenVPN cloud connector. I was able to do that successfully. (my info is mostly from this link https://openvpn.net/cloud-docs/connecting-networks-to-openvpn-cloud-using-connectors/ ...

Score: 0
jhoop avatar
IPsec port forwarding Teltonika RUT955
cn flag

I am using two Teltonika RUT955 routers with IPsec (Strongswan) built in. For testing I have a cable running from WAN to WAN with static IPs in both routers at 172.16.1.1 and 172.16.1.2. I have the tunnel up and working with the internal RS232 com port built into the RUT955 sending ESP packets from router to router, bidirectional communications. I have a network tap on all connections of the router, WAN ...

Score: 0
Gibran Sansadewa Asshadiqi avatar
Cannot access secondary router network (child network) from primary router network and internet
rs flag

The primary router is a Huawei F670 acquired from the ISP and the secondary router is in a NSA Sonicwall firewall.
Yes, I've read this post and this post yet I didn't understand a thing.

This is my simplified network architecture

I've already configured a Nat policy in the NSA that goes from the primary router(192.168.1.1, 123.11.123.11) to the server (10.1.0.125) on port xxxx and the reverse policy.
 ...

Score: 0
How to make server accessible by name without dns
cn flag

I'm trying to change my rpi's to be accessible directly by name, this can be done by DNS, although, I'm curious on how certain devices work without them (or seem to work without a DNS, hopefully I'm not wrong )

For instance, Home Assistant OS right off the bat is accessible by the homeassistant.local without any (extra) configuration, or how changing "server name" in a Synology NAS make it accessible by ...

Score: 0
Install Internet explorer on Server 2019 Standard
sa flag

I am running server2019 standard and Remote Desktop services. I have installed Quickbooks enterprise 2021 which requires IE 11. Someone uninstalled IE11 from the server and now I cant seem to put it back. I am not sure how to reinstall IE11 on server 2019. I have read that it is supported, but cant seem to find how to install it. I did find some articles on installing the FOD, but that is for Core n ...

Score: 3
Unexpected entries in authorized_keys - is my server compromised?
cn flag

I’ve recently deployed a fresh cloud server and installed dokku. I’ve set up two simple apps, a PHP and Vue/static app and the plugin for letsencrypt.

Everything was fine but two days later I noticed three unusual entries in the authorized_keys file for the dokku user. I’m wondering if my server was somehow compromised or if I am overreacting:

Keys have been redacted:

command="FINGERPRINT=SH ...
Score: 0
vTiger Integration with 3CX
br flag

I need to integrate our vTiger help desk platform with our 3CX phone system. 3CX currently provide a way to do this but it has used all of our API calls in about 20 to 30 minutes.

Currently we do have a script running about 6 times and hour making roughly 60 requests.

We have as a company about 4 or 5 thousand requests a day so I am struggling to see how we are running out of daily requests.

Score: 2
Ken Tsoi avatar
cURL can connect to localhost but browser cannot
th flag

My system is Win10 with WSL2, I ran a gogs docker container (from ubuntu in WSL):

    83b2a8833235   gogs/gogs                    "/app/gogs/docker/st…"   17 minutes ago   Up 17 minutes   0.0.0.0:10022->22/tcp, :::10022->22/tcp, 0.0.0.0:10080->3000/tcp, :::10080->3000/tcp       gogs

I found that I can cURL it, but cannot use browser to visit it:

    >curl -vvv http://localhost:10 ...

The Stunning Power of Questions

Much of an executive’s workday is spent asking others for information—requesting status updates from a team leader, for example, or questioning a counterpart in a tense negotiation. Yet unlike professionals such as litigators, journalists, and doctors, who are taught how to ask questions as an essential part of their training, few executives think of questioning as a skill that can be honed—or consider how their own answers to questions could make conversations more productive.

That’s a missed opportunity. Questioning is a uniquely powerful tool for unlocking value in organizations: It spurs learning and the exchange of ideas, it fuels innovation and performance improvement, it builds rapport and trust among team members. And it can mitigate business risk by uncovering unforeseen pitfalls and hazards.

For some people, questioning comes easily. Their natural inquisitiveness, emotional intelligence, and ability to read people put the ideal question on the tip of their tongue. But most of us don’t ask enough questions, nor do we pose our inquiries in an optimal way.

The good news is that by asking questions, we naturally improve our emotional intelligence, which in turn makes us better questioners—a virtuous cycle. In this article, we draw on insights from behavioral science research to explore how the way we frame questions and choose to answer our counterparts can influence the outcome of conversations. We offer guidance for choosing the best type, tone, sequence, and framing of questions and for deciding what and how much information to share to reap the most benefit from our interactions, not just for ourselves but for our organizations.