Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

0 votes
1 answers
53 views
How do I make my VPS recognize my printer?
I have a VPS in hostinguer using Linux, and I have mounted an app. One of the functionality is that I have an endpoint that prints a file. The problem is, my local printer is not being recognized even though i have CUPS. * I have found solutions, but they apply to Windows VPS. Does someone have a po...
I have a VPS in hostinguer using Linux, and I have mounted an app. One of the functionality is that I have an endpoint that prints a file. The problem is, my local printer is not being recognized even though i have CUPS. * I have found solutions, but they apply to Windows VPS. Does someone have a possible solution for Linux? * I have tried this
-shellsession
    root@host ~# sudo ldadmin -p EPSON_L450 -E -v lpd://192.168.1.14/ENPQueue -m everywhere
    lpadmin: Unable to connect to "192.168.1.14:515": Connection timed out
CUPS_OUTPUT * I also tried using drivers, with the same result, the IP is not found Is there anything I can do?
Leal Ema (1 rep)
Oct 25, 2024, 12:48 PM • Last activity: Oct 25, 2024, 03:01 PM
0 votes
0 answers
31 views
Key generated with key agent being asked several times (which is to give it only once)
Key generated with key agent being asked several times (which is to give it only once) I am running a bash script to automate a backup on a NAS. I successfully generated a key (I had some difficulty as I had messed up the rights of the directory and file system which I resolved. The steps are in thi...
Key generated with key agent being asked several times (which is to give it only once) I am running a bash script to automate a backup on a NAS. I successfully generated a key (I had some difficulty as I had messed up the rights of the directory and file system which I resolved. The steps are in this question: https://unix.stackexchange.com/questions/757770/log-in-to-remote-server-by-using-a-generated-public-key) . In the bashscript (which I run from the local) I am creating a new directory on the remote before syncing the content of the same directory from the local. Each time a directory is created, I get asked the key
Enter passphrase for key '/Users/user01/.ssh/id_rsa':
Where user01 is the username of the local. Ok so the whole tree is the following:
/var/services/homes/user01/.ssh/
Here are the recap of the permissions of each branch are the following (with ls -ld and ls -la command (from bottom up): For the remote machine:
user01@NAS:/$ ls -ld var
drwxr-xr-x 15 root root 4096 Oct  4 13:42 var
user01@NAS:/$ ls -ld var/services/
drwxr-xr-x 2 root root 4096 Oct  4 13:42 var/services/
user01@NAS:/$ ls -ld var/services/^C
user01@NAS:/$ ls -ld var
drwxr-xr-x 15 root root 4096 Oct  4 13:42 var
user01@NAS:/$ ls -ld var/services/
drwxr-xr-x 2 root root 4096 Oct  4 13:42 var/services/
user01@NAS:/$ ls -ld var/services/
NetBackup/ homes/     pgsql/     tmp/
user01@NAS:/$ ls -ld var/services/
NetBackup/ homes/     pgsql/     tmp/
user01@NAS:/$ ls -ld var/services/homes
lrwxrwxrwx 1 root root 14 Oct  4 13:42 var/services/homes -> /volume1/homes
user01@NAS:/$ ls -ld var/services/homes/user01/
drwxr-x--- 1 user01 users 90 Oct  3 09:41 var/services/homes/user01/
user01@NAS:/$ ls -ld var/services/homes/user01/.ssh/
drwx------ 1 user01 users 30 Oct  4 13:59 var/services/homes/user01/.ssh/
user01@NAS:/$ ls -ls var/services/homes/user01/.ssh/authorized_keys
4 -rw------- 1 user01 users 571 Oct  4 13:59 var/services/homes/user01/.ssh/authorized_keys
user01@NAS:/$
For the local machine: /Users/user02/.ssh/id_rsa /Users/user02/.ssh/id_rsa.pub
[@/]$ ls -ld Users
drwxr-xr-x  6 root  admin   192B Jan  1  2020 Users/
[@/]$ ls -ld Users/user02
drwxr-xr-x+ 152 user02  staff   4.8K Oct  4 13:58 Users/user02/
[@/]$ ls -ld Users/user02/.ssh
drwx------  7 user02  staff   224B Oct  4 13:59 Users/user02/.ssh/
[@/]$ ls -la Users/user02/.ssh/id_rsa
-rw-------  1 user02  staff   2.6K Oct  4 13:58 Users/user02/.ssh/id_rsa
[@/]$ ls -la Users/user02/.ssh/id_rsa.pub
-rw-r--r--  1 user02  staff   571B Oct  4 13:58 Users/user02/.ssh/id_rsa.pub
[@/]$
How is it possible to be able organize that I give (for instance) only once (the first time) the key?
ecjb (475 rep)
Oct 4, 2023, 12:11 PM • Last activity: Oct 4, 2023, 12:35 PM
0 votes
0 answers
511 views
Ubuntu server process keeps shutting down after some time
I've been starting a web server process using [`nohup`][1] on a hosted Ubuntu 22.04.02 LTS VPS (virtual private server) to make it run in the background and keep it running even if the SSH session is disconnected. However, I noticed numerous times now that the process random stops at some point and...
I've been starting a web server process using nohup on a hosted Ubuntu 22.04.02 LTS VPS (virtual private server) to make it run in the background and keep it running even if the SSH session is disconnected. However, I noticed numerous times now that the process random stops at some point and I had to re-run it the next day. I'm pretty sure my process didn't crash since I'm using Java and on my local machine it runs indefinitely just fine. The same issue happened with a C++ process and again, locally it never showed any signs of crashes. Is there anything that could cause this issue and what would be the best way to resolve it? I assume it's not related to the hosting only since I have root access. I've considered using immortal to automatically restart the process when it died which worked but that's not an optimal solution, either, I just want the process to run indefinitely as expected.
BullyWiiPlaza (101 rep)
May 29, 2023, 08:21 AM
4 votes
2 answers
6908 views
Download and install latest deb package from github via terminal
I would like to download and install the latest *.deb*-package from github ( to be exact). How can I download the latest package (e.g. *otrverwaltung_0.9.1_all.deb*) automatically with a script from github? What I have tried so far: wget -O- -q --no-check-certificate https://github.com/elbersb/otr-v...
I would like to download and install the latest *.deb*-package from github ( to be exact). How can I download the latest package (e.g. *otrverwaltung_0.9.1_all.deb*) automatically with a script from github? What I have tried so far: wget -O- -q --no-check-certificate https://github.com/elbersb/otr-verwaltung/downloads | grep -o -l -e 'otrverwaltung_[0-9.]*_all.deb' #The filename should be saved in a variable OTRPACKAGE sudo dpkg -i OTRPACKAGE
Martin Thoma (2902 rep)
Feb 18, 2011, 02:48 PM • Last activity: Dec 21, 2022, 02:12 PM
0 votes
1 answers
230 views
Saving files to another partition with PHP or Symbolic Link?
We have a PHP based application running on a cPanel server which saves tons of API log files (millions), and we are looking to have the PHP scripts be able to write the API log text files into another partition (Amazon EFS mounted to server), so that we can more easily move those text files around....
We have a PHP based application running on a cPanel server which saves tons of API log files (millions), and we are looking to have the PHP scripts be able to write the API log text files into another partition (Amazon EFS mounted to server), so that we can more easily move those text files around. The df-h output is below:
7.3G     0  7.3G   0% /dev
tmpfs           7.3G     0  7.3G   0% /dev/shm
tmpfs           7.3G  115M  7.2G   2% /run
tmpfs           7.3G     0  7.3G   0% /sys/fs/cgroup
/dev/xvda1      1.5T  623G  828G  43% /
/dev/loop0      3.9G  8.3M  3.7G   1% /tmp
127.0.0.1:/     8.0E  609G  8.0E   1% /smartefs01
tmpfs           1.5G     0  1.5G   0% /run/user/0
tmpfs           1.5G     0  1.5G   0% /run/user/1005
The drive that we want to save the files to is located in /smartefs01, the actual PHP application resides in /home/user/public_html . We are struggling to find the easiest way to have the PHP application store files in /smartefs01 instead of /home/user_public_html. Since we want to be able to detach the drive and move it around with all the files on it in cases of changing servers etc. Let me know your thoughts! Kind regards, EC
melanieng (3 rep)
Feb 10, 2022, 03:21 PM • Last activity: Feb 10, 2022, 03:26 PM
-2 votes
1 answers
2216 views
How to tell rsync to fetch files (fails with "No such file or directory")
sudo rsync -avP ~/wordpress/ /var/www/html/ Error receiving is: sending incremental file list rsync: change_dir "/root/wordpress" failed: No such file or directory (2) sent 20 bytes received 12 bytes 64.00 bytes/sec total size is 0 speedup is 0.00 rsync error: some files/attrs were not transferred (...
sudo rsync -avP ~/wordpress/ /var/www/html/ Error receiving is: sending incremental file list rsync: change_dir "/root/wordpress" failed: No such file or directory (2) sent 20 bytes received 12 bytes 64.00 bytes/sec total size is 0 speedup is 0.00 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1179) [sender=3.1.2] Please help i am actually trying to connect centos with wordpress and i am receiving this error. Thank you.
Rakhi pillai (1 rep)
Dec 12, 2021, 08:06 AM • Last activity: Dec 22, 2021, 08:54 AM
0 votes
1 answers
137 views
file send to 000webhost by filezilla
Status: Connection established, waiting for welcome message... Status: Initializing TLS... Status: Verifying certificate... Status: TLS connection established. Status: Server does not support non-ASCII characters. Status: Logged in Status: Retrieving directory listing... Command: PWD Response: 257 "...
Status: Connection established, waiting for welcome message... Status: Initializing TLS... Status: Verifying certificate... Status: TLS connection established. Status: Server does not support non-ASCII characters. Status: Logged in Status: Retrieving directory listing... Command: PWD Response: 257 "/" is your current location Command: TYPE I Response: 200 TYPE is now 8-bit binary Command: PASV Response: 227 Entering Passive Mode (145,14,144,27,202,206). Command: MLSD Response: 150 Connecting to port 31039 Error: Connection timed out after 20 seconds of inactivity Error: Failed to retrieve directory listing I was able to login to my web server(000webhost.com) that's what I got first. But, when everything was loading then, connection timed out. My internet is working well. But, Why I am having the issue? I searched on Internet for a while. There was lot more questions like this but, none of them was helpful. Even, I watched some tutorial in YT also. enter image description here
Game Stakes (23 rep)
Apr 2, 2021, 11:21 AM • Last activity: Apr 2, 2021, 03:24 PM
0 votes
0 answers
102 views
Can someone correct my configuration files to start my own PTR record for mail server
I have iredmail server running on centos 8 i need to set my own PTR record here is below my configuration files it will be highly appreciated if someone correct this to start PTR record /etc/named.conf // // named.conf // // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS //...
I have iredmail server running on centos 8 i need to set my own PTR record here is below my configuration files it will be highly appreciated if someone correct this to start PTR record /etc/named.conf // // named.conf // // Provided by Red Hat bind package to configure the ISC BIND named(8) DNS // server as a caching only nameserver (as a localhost DNS resolver only). // // See /usr/share/doc/bind*/sample/ for example named configuration files. // options { //listen-on port 53 { 127.0.0.1; }; //listen-on-v6 port 53 { ::1; }; directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; memstatistics-file "/var/named/data/named_mem_stats.txt"; secroots-file "/var/named/data/named.secroots"; recursing-file "/var/named/data/named.recursing"; allow-query { localhost; }; /* - If you are building an AUTHORITATIVE DNS server, do NOT enable recursion. - If you are building a RECURSIVE (caching) DNS server, you need to enable recursion. - If your recursive DNS server has a public IP address, you MUST enable access control to limit queries to your legitimate users. Failing to do so will cause your server to become part of large scale DNS amplification attacks. Implementing BCP38 within your network would greatly reduce such attack surface */ recursion no; dnssec-enable yes; dnssec-validation yes; managed-keys-directory "/var/named/dynamic"; pid-file "/run/named/named.pid"; session-keyfile "/run/named/session.key"; /* https://fedoraproject.org/wiki/Changes/CryptoPolicy */ include "/etc/crypto-policies/back-ends/bind.config"; }; logging { channel default_debug { file "data/named.run"; severity dynamic; }; }; zone "." IN { type hint; file "named.ca"; }; include "/etc/named.rfc1912.zones"; include "/etc/named.root.key"; zone "vimtrading.com" { type master; file "/var/named/named.vimtrading.com"; allow-query { any; }; allow-transfer { 90.148.141.85; }; }; /var/named.vimtrading.com ; zone file for vimtrading.com ; default TTL for this zone $TTL 3H @ IN SOA ns1.vimtrading.com. hostmaster.vimtrading.com. ( 2020111220 ; serial 1D ; refresh 1H ; retry 1W ; expire 3H) ; Negative cache TTL ; Name servers for this domain IN NS ns1.vimtrading.com. IN NS ns2.vimtrading.com. ; Mail server for this domain. A small number (0) implies higher priority. IN MX 0 mail.vimtrading.com. IN MX 10 mail2.vimtrading.com. ; A records www IN A 3.137.158.1 @ IN A 3.137.158.1 ns1 IN A 3.137.158.1 ns2 IN A 3.137.158.1 mail IN A 3.137.158.1 mail2 IN A 3.137.158.1 ; AAAA records mail IN AAAA 2001:16a2:cf3b:f00:7c0f:8033:c42:8da5 ; CNAME records ftp IN CNAME www.vimtrading.com ;TXT records (SPF, DKIM, DMARC, etc) @ IN TXT "v=spf1 mx ~all" dkim._domainkey IN TXT ("v=DKIM1; k=rsa; " "v=DKIM1;t=s;p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDiiweYt0xL3x2EuGUCpm8p35C10x7i25jHR66V7/PDSCVouLOrb8UlNkx/R5WQnflic9+TOR8+O+tR/xqnIqC/011cK/y+wiwa0n9/c5c1tqc8HJlCSy2Ym4h3KYflVc6AwBwdlrX6Sx4VdjQUsrcR8NWU6DoQOZsAdzZ+QbVYmwIDAQAB") _dmarc IN TXT "v=DMARC1; p=none; pct=100; rua=mailto:dmarc-reports@vimtrading.com.” /etc/named.rfc1912.zones // named.rfc1912.zones: // // Provided by Red Hat caching-nameserver package // // ISC BIND named zone configuration for zones recommended by // RFC 1912 section 4.1 : localhost TLDs and address zones // and https://tools.ietf.org/html/rfc6303 // (c)2007 R W Franks // // See /usr/share/doc/bind*/sample/ for example named configuration files. // // Note: empty-zones-enable yes; option is default. // If private ranges should be forwarded, add // disable-empty-zone "."; into options // zone "localhost.localdomain" IN { type master; file "named.localhost"; allow-update { none; }; }; zone "localhost" IN { type master; file "named.localhost"; allow-update { none; }; }; zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN { type master; file "named.loopback"; allow-update { none; }; }; zone "1.0.0.127.in-addr.arpa" IN { type master; file "named.loopback"; allow-update { none; }; }; zone "0.in-addr.arpa" IN { type master; file "named.empty"; allow-update { none; }; };
Rizwan Saleem (5 rep)
Mar 24, 2021, 09:02 AM
0 votes
1 answers
273 views
How to setup SMTP authentication for a backend-frontend contact form in a Linux environment (CentOS)?
On a CentOS-Bash shared hosting environment I host a website with a simple backend-frontend contact form with the PHP `mail()` function. Test emails can reach my Gmail account but if they do reach it at all (which is very rare), it takes much time, usually more than an hour. --- I understood from an...
On a CentOS-Bash shared hosting environment I host a website with a simple backend-frontend contact form with the PHP mail() function. Test emails can reach my Gmail account but if they do reach it at all (which is very rare), it takes much time, usually more than an hour. --- I understood from an infrastructure developer from my hosting company that this is because: * The emails are eventually sent from RANDOMLY_CREATED_USER_@us153.siteground.us which doesn't have valid DKIM, valid SPF, and SMTP authentication The infrastructure developer suggested that to solve this problem I would open an email account in my hosting environment and refer emails to there, so then I would indeed have valid DKIM, valid SPF and SMTP authentication. --- But say that I still want to refer emails to my Gmail account;
How to setup SMTP authentication for a backend-frontend contact form in a Linux environment (CentOS)?
Would that even be possible on a shared hosting environment (and then what about DKIM and SPF?)... ## Notes * Another problem added upon the one described above occurred with a second form which is a bit more complex than the simple test form in the base of this session;
The "From" => $email *header's email address* was my own Gmail address so an eventual sending from RANDOMLY_CREATED_USER_@us153.siteground.us was mistakenly grasped as *email faking* ("spoofing"), again, on top of the server mismatch described above
timesharer (3 rep)
Mar 23, 2021, 08:55 AM • Last activity: Mar 23, 2021, 11:43 PM
-1 votes
1 answers
75 views
Is Perl a standard for *nix hosting companies?
I never worked with Perl but in this community I bump time and again on recommendations to work with it, often as a "completion" for shell scripts. Is Perl a standard for *nix hosting companies? For example, if my hosting provider provides me with SSH access but doesn't include Perl (rather, say, on...
I never worked with Perl but in this community I bump time and again on recommendations to work with it, often as a "completion" for shell scripts. Is Perl a standard for *nix hosting companies?
For example, if my hosting provider provides me with SSH access but doesn't include Perl (rather, say, only PHP and Node.JS) should I leave this hosting provider? Thanks,
variableexpander (3 rep)
Mar 15, 2021, 10:47 AM • Last activity: Mar 15, 2021, 12:44 PM
0 votes
1 answers
30 views
A Record Configuration: Host Content on Webserver IP and Smtp IP From Another Server
I’m stuck on a basic dns issue here "I think". I can send email but unable to receive. What I want to achieve is host webfiles of my webpage on 184.69.151.38 and use smtp ip from 193.47.34.77. I think my A records might be wrong. [![enter image description here][1]][1] What is happening is mxtoolbox...
I’m stuck on a basic dns issue here "I think". I can send email but unable to receive. What I want to achieve is host webfiles of my webpage on 184.69.151.38 and use smtp ip from 193.47.34.77. I think my A records might be wrong. enter image description here What is happening is mxtoolbox is picking up as the email server as 184.69.151.38 but the smtp is supposed to be sending from 193.47.34.77. *Likely* dns issue. I'm just not seeing it. enter image description here Yet smtp test looks *decent*, not perfect but should work. enter image description here
mister mcdoogle (505 rep)
Nov 16, 2020, 09:03 PM • Last activity: Nov 17, 2020, 02:35 AM
0 votes
1 answers
1889 views
Service running on RHEL7.5 is not running on RHEL8 (httpd service)
I have service which was working fine with RHEL 7.5, now I have upgraded to RHEL 8 and same service is failing with below status: Service.service - LSB: Web Server Loaded: loaded (/etc/rc.d/init.d/Service; generated) Active: failed (Result: protocol) since Mon 2020-04-06 12:02:21 IST; 38min ago Docs...
I have service which was working fine with RHEL 7.5, now I have upgraded to RHEL 8 and same service is failing with below status: Service.service - LSB: Web Server Loaded: loaded (/etc/rc.d/init.d/Service; generated) Active: failed (Result: protocol) since Mon 2020-04-06 12:02:21 IST; 38min ago Docs: man:systemd-sysv-generator(8) Process: 403 ExecStart=/etc/rc.d/init.d/Service start (code=exited, status=0/SUCCESS) Apr 06 12:02:21 localhost.localdomain systemd: Starting LSB: Web Server... Apr 06 12:02:21 localhost.localdomain Service: httpd (pid 29434) already running Apr 06 12:02:21 localhost.localdomain systemd: Service.service: Refusing to accept PID outside of service control group, acquired through unsafe symlink chain: /usr/local/apache/logs/Service.pid Apr 06 12:02:21 localhost.localdomain systemd: Service.service: Refusing to accept PID outside of service control group, acquired through unsafe symlink chain: /usr/local/apache/logs/Service.pid Apr 06 12:02:21 localhost.localdomain systemd: Service.service: Failed with result 'protocol'. Apr 06 12:02:21 localhost.localdomain systemd: Failed to start LSB: Web Server THis is my Service unit placed under /etc/init.d/Service, same is done for RHEL 7.5 but there this service is working and in RHEL 8 it is not. One more thing here to note is web server is working as expected although giving me this error. #!/bin/sh # # chkconfig: 345 97 03 # description:Web Server # processname: httpd # config: /usr/local/Test/apache/conf/httpd.conf # pidfile: /usr/local/Test/apache/logs/httpd.pid ### BEGIN INIT INFO # Provides: Service # Required-Start: $remote_fs $network $syslog # Should-Start: # Required-Stop: # Default-Start: 3 4 5 # Default-Stop: 0 1 2 6enter code here # Short-Description: Web Server # Description: Web Server ### END INIT INFO LANG=en_US.iso88591 export LANG BASEDIR=/usr/local/Test/apache PATH=$BASEDIR/bin:/usr/bin:/bin export PATH LD_LIBRARY_PATH=$BASEDIR/lib export LD_LIBRARY_PATH inst=/usr/local/Test MIBDIRS=$inst/mibs export MIBDIRS case $1 in start) apachectl start ;; stop) apachectl stop ;; restart) apachectl restart ;; *) echo "usage: $0 { start | stop | restart }" ;; esac Plz help me into this.
DIPESH DHAMELIYA (3 rep)
Apr 7, 2020, 07:40 AM • Last activity: Apr 7, 2020, 11:26 PM
1 votes
0 answers
90 views
Backup and Sync from Linux to a WSL live (per each change)
I have a Linux (Arch/Debian) with only a CLUI (Bash) and a server environment (LAMP) with the following details: 4 GB RAM 2 vCPU Cores 80 GB SSD 4 TB Transfer 40 Gbps Network In 4000 Mbps Network Out I host two websites (WordPress and/or Drupal) on each system. I want to backup and sync such a syste...
I have a Linux (Arch/Debian) with only a CLUI (Bash) and a server environment (LAMP) with the following details: 4 GB RAM 2 vCPU Cores 80 GB SSD 4 TB Transfer 40 Gbps Network In 4000 Mbps Network Out I host two websites (WordPress and/or Drupal) on each system. I want to backup and sync such a system live to my Windows Subsystem for Linux (WSL) but I don't want hourly/daily/weekly cron; I want that **every change in scope** of my system would be synced to a directory in my WSL. What I desire is very much like Google's *Backup&Sync* which I use in my Windows 10 / Ubuntu machines to prevent data loss in case a computer was unexpectedly and sadly ruined or stolen and formatted (in contrast to manual deletion of data after it was stolen where the data would be lost even in the remote syncing environment). My question is how to do such live syncing (like Google's *Backup&Sync*) from Linux to WSL? --- ## Side note This is how I backup manually so far and it's exactlly the process I desire to automate: cib() { # Create an Immediate ZIP Backup (of both $drt and DB); date="$(date \+%F\-%T)" mysqldump -u root -p --all-databases | zip "$drt/db-$date.zip" - # Note the hyphen before this comment; zip -r "${drt}/all_zipped-$date.zip" "$drt"/ -x "*/cache/*" "*/phpmyadmin/*" rm -f "$drt/db-$date.zip"
user149572
Jan 31, 2019, 05:11 AM • Last activity: Feb 4, 2019, 05:51 AM
0 votes
1 answers
269 views
Updating vim on remote host
I am currently running a shared bluehost account. The current version of vim on the server is 7.2. I have recently installed 7.4 on my local machine and some of the features I've grown accustomed to are not available with 7.2. So, my question is: Is there any way to update vim on a shared hosting ac...
I am currently running a shared bluehost account. The current version of vim on the server is 7.2. I have recently installed 7.4 on my local machine and some of the features I've grown accustomed to are not available with 7.2. So, my question is: Is there any way to update vim on a shared hosting account? I did some digging and was able to successfully install python but have not found a way to upgrade vim.
visyoual (167 rep)
Jan 20, 2015, 03:02 AM • Last activity: Jan 13, 2019, 09:37 PM
-1 votes
1 answers
506 views
Number Of email accounts can be hosted on server using cpanel
I need to know how many number of accounts be hosted on a dedicated server with `cpanel`, with a HDD of 100 GB , and also max number of accounts, And also I would need assistance on "How I use a single same domain for multiple email servers "
I need to know how many number of accounts be hosted on a dedicated server with cpanel, with a HDD of 100 GB , and also max number of accounts, And also I would need assistance on "How I use a single same domain for multiple email servers "
stacy (49 rep)
Nov 7, 2015, 06:39 PM • Last activity: Nov 18, 2018, 05:20 PM
0 votes
2 answers
25767 views
SSH connect to HOSTNAME port 22: Connection timed out
Using the "SSH Shell Access" in my Cpanel I have added my public and private key in the import key section and I also have authorised them. But I am getting this "Connection timed out" error on port 22. I have WHM access. How can I solve this connection timeout issue ?
Using the "SSH Shell Access" in my Cpanel I have added my public and private key in the import key section and I also have authorised them. But I am getting this "Connection timed out" error on port 22. I have WHM access. How can I solve this connection timeout issue ?
hash71 (1 rep)
Jun 13, 2016, 10:45 AM • Last activity: Sep 26, 2018, 05:51 PM
0 votes
2 answers
886 views
How can the output of `uname` change in a VM after a physical server was patched?
My Zabbix monitoring system told me that the `uname` output has changed on a virtual server (`Host information was changed on ...`). The ISP has shut down the entire server in order to perform some security patches on the physical hardware. How can it be, that the kernel information, which is receiv...
My Zabbix monitoring system told me that the uname output has changed on a virtual server (Host information was changed on ...). The ISP has shut down the entire server in order to perform some security patches on the physical hardware. How can it be, that the kernel information, which is received by the uname syscall, has changed after that? In my understanding, the patches pertain a completely different system layer and should have left the software OS VM layer untouched, isn't that so?
manifestor (2563 rep)
Sep 7, 2018, 08:48 AM • Last activity: Sep 7, 2018, 01:32 PM
1 votes
2 answers
65 views
Redirect all lines of code to the same file in a single line
I have the following command set used to update all my WordPress sites in my CentOs shared-hosting partition on my hosting provider's platform (via daily cron). The `wp` commands inside the `pushd-popd` set, are of the [WP-CLI][1] program, which is a Bash extension used for various shell-level actio...
I have the following command set used to update all my WordPress sites in my CentOs shared-hosting partition on my hosting provider's platform (via daily cron). The wp commands inside the pushd-popd set, are of the WP-CLI program, which is a Bash extension used for various shell-level actions on WordPress websites. for dir in public_html/*/; do if pushd "$dir"; then wp plugin update --all wp core update wp language core update wp theme update --all popd fi done The directory public_html is the directory in which all website directories are located (each website usually has a database and a main file directory). Given that public_html has some directories **which are not** WordPress website directories, than, WP-CLI would return errors regarding them. To prevent these errors, I assume I could do: for dir in public_html/*/; do if pushd "$dir"; then wp plugin update --all 2>myErrors.txt wp core update 2>myErrors.txt wp language core update 2>myErrors.txt wp theme update --all 2>myErrors.txt popd fi done Instead writing 2>myErrors.txt four times (or more), is there a way to ensure all errors whatsoever, from every command, will go to the same file, in one line?
Arcticooling (1 rep)
May 29, 2018, 02:08 PM • Last activity: May 29, 2018, 04:05 PM
0 votes
1 answers
921 views
How to setup a domain name for my website hosted on ubuntu?
I have created a django website and instead purchasing a hosting service, i have hosted the website on my own PC having public IP. Hence now i can access my website through my IP address. Next step is to assign a domain name to my IP and hence everyone on internet can access my website through the d...
I have created a django website and instead purchasing a hosting service, i have hosted the website on my own PC having public IP. Hence now i can access my website through my IP address. Next step is to assign a domain name to my IP and hence everyone on internet can access my website through the domain name instead of IP. I know, there is a lot of sites for purchase a domain name but i don't want to purchase. Is it possible to run a dns server on my system or anyother system connected to internet and set up a domain name for my website so that it can be accessed on internet?
mcv (73 rep)
May 11, 2018, 08:44 AM • Last activity: May 11, 2018, 09:22 AM
1 votes
1 answers
491 views
OpenVPN Start Service
I am trying to configure OpenVPN on my CentOS 7 box. I am following this guide: https://www.digitalocean.com/community/tutorials/how-to-setup-and-configure-an-openvpn-server-on-centos-7#step-1-%E2%80%94-installing-openvpn I have got up to step 5 to actually start the openvpn@server.service, and it k...
I am trying to configure OpenVPN on my CentOS 7 box. I am following this guide: https://www.digitalocean.com/community/tutorials/how-to-setup-and-configure-an-openvpn-server-on-centos-7#step-1-%E2%80%94-installing-openvpn I have got up to step 5 to actually start the openvpn@server.service, and it keeps giving me this error after running: systemctl start openvpn@server.service Job for openvpn@server.service failed because the control process exited with error code. See "systemctl status openvpn@server.service for details. When I run systemctl status openvpn@server.service There is an error that says failed to start openvpn robust and highly flexible tunneling application on server. Please help!
Wraiith (89 rep)
Dec 27, 2017, 10:33 PM • Last activity: Dec 27, 2017, 11:13 PM
Showing page 1 of 20 total questions