All Questions
608
questions with no upvoted or accepted answers
2
votes
1
answer
2k
views
How to configure network profiles in Centos?
I'm trying to setup two network profiles in Centos. One for at home, one for at work.
The home profile has a fixed IP address, fixed gateway and DNS server addresses. The work profile depends on DHCP.
...
2
votes
1
answer
79
views
Is there any way to find how RAM my VPS uses on average?
I have a VPS system with 768MB RAM. Is there any way to find out
what the average amount of RAM I normally use is
which processes normally use high RAM and CPU
so that I can see if i need to ...
2
votes
0
answers
1k
views
Linux Boot Console (fbcon) Main Monitor Only
I have a dual monitor setup to my Linux box and am using fbcon to rotate the console to portrait for each display. I'd like to only have the console show up on the primary display though and leave the ...
2
votes
2
answers
4k
views
chpasswd and passwd not updating /etc/shadow for root user
I'm having a weird problem, and I don't know if I've screwed something up or this is the way it's supposed to be and I never noticed..
Using passwd and chpasswd to change a users password works as ...
2
votes
4
answers
7k
views
CentOS installing jre/jdk error
[root@jony source]# sh run.sh
Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has ...
1
vote
1
answer
57
views
How to resolve the password prompting issue when setting up lftp connection with sftp and ssh-key in centos?
I have a centos server s1 and client c1 and I wanted to do a lftp connection with sftp and ssh-key without the password been prompted. Currently when I run the below command the password is prompted ...
1
vote
0
answers
56
views
Reduce Space From /dev/centos/root
In my system using xfs file system with the below mentioned drive structure, I want to reduce space from /dev/centos/root volume in volume group Centos. Since xfs cannot be directly reduced, my method ...
1
vote
0
answers
126
views
SCP silently ignored on the remote machine
When I'm trying to copy a file using scp (in whatever direction), there's no error displayed (although the returned $? code is 1), all I can see is the message that normally the REMOTE machine prints ...
1
vote
0
answers
3k
views
File permissions 0400 vs 0600
I have a question about file permissions for the owner of a file.
0400 permission means owner has read access.
0600 means, that the owner has read + write access.
But even if the file is set to 0400, ...
1
vote
0
answers
128
views
Can't access Samba share on new drive from Windows
I have a Rocky Linux server, and I'm using NFS to share between two VM's and I'm also trying to get the same folder shared to my laptop using Samba. I have one folder sharing successfully with samba ...
1
vote
0
answers
37
views
Centos 4.8 not booting after replacement disk controller
I have a quite old Centos 4.8 backup. Root partition is on LVM. (/dev/mapper/centos-root).
This backup (tar.gz archive) works fine if i restore it in Vmware cluster with SCSI controller.
But now i ...
1
vote
1
answer
406
views
Why I get refused when connect my remote host with domain name using ssh?
I added two A DNS records on my domain name whose HOSTNAME is @ and www,
I'm wondering why I get refused when use davidzhu.xyz
$ ssh [email protected]
ssh: connect to host davidzhu.xyz port 22: ...
1
vote
0
answers
6k
views
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Centos 7 Error? yum update not working on new VM
I just installed new VM it is giving below error when i run yum update command
[root@localhost ~]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Could not ...
1
vote
1
answer
6k
views
sudo: no valid sudoers sources found, quitting
On Amazon Workspaces I ran sudo chmod -R 777 /etc in order to create a file to install Docker but now after every command with sudo I run into this error
sudo: /etc/sudo.conf is world writable
sudo: /...
1
vote
0
answers
102
views
how to get the next disk device name to be created on centos
I need to get the next device name to be created of the centos or other unix like system, e.g. if the current device name is vda to vdf like in below, I need to get the vdg as my result
[root@VM-0-10-...