I am new to Linux but would like to configure a server with Centos 6 to replace a current one running old Fedora Linux Release 3 Asked by Munya Fedora 3 is ancient. You are basically going to need to start from scratch, but might be able to copy at least parts of the config files when configuring the new server (in most cases, I would not recommend to just copy the files, at least [...]Continue Reading »
if i use any yum command, i get Loaded plugins: fastestmirror Traceback (most recent call last): File “/usr/bin/yum”, line 29, in <module> yummain.user_main(sys.argv[1:], exit_code=True) File “/usr/share/yum-cli/yummain.py”, line 285, in user_main errcode = main(args) File “/usr/share/yum-cli/yummain.py”, line 114, in main base.doLock() File “/usr/lib/python2.6/site-packages/yum/__init__.py”, line 1791, in doLock while not self._lock(lockfile, mypid, 0644): File “/usr/lib/python2.6/site-packages/yum/__init__.py”, line 1861, in _lock os.write(fd, contents) OSError: [Errno 28] No space left on device If i use the top command i see [...]Continue Reading »
Trying to generate a key for a server. gpg –gen-key We need to generate a lot of random bytes. It is a good idea to perform some other action (type on the keyboard, move the mouse, utilize the disks) during the prime generation; this gives the random number generator a better chance to gain enough entropy. and it just hangs there. There is another error: can’t connect to `/root/.gnupg/S.gpg-agent’: No such file or directory which [...]Continue Reading »
I’ve just downloaded pgadmin from : http://yum.postgresql.org/repopackages.php#pg92 and I’ve installed it : rpm -ivh pgdg-centos92-9.2-6.noarch.rpm How do I open it? where can I find it or do I need some additional steps? Asked by London That rpm just contains the files for adding the postgresql 9.2 repo to CentOS. You will need to download and install the relevant package. A bit of digging suggests that the package you want is pgadmin3_92 so yum install pgadmin3_92 [...]Continue Reading »
I’m currently using Google Apps to forward mails addressed to recipients at my domain balkan-preferans.de (220.127.116.11) to my address First.Last@gmail.com – this is done by the following DNS-zone served by my hoster: $TTL 86400 @ IN SOA ns1.first-ns.de. postmaster.robot.first-ns.de. ( 2012100402 ; serial 14400 ; refresh 1800 ; retry 604800 ; expire 86400 ) ; minimum@ IN NS robotns3.second-ns.com. @ IN NS robotns2.second-ns.de. @ IN NS ns1.first-ns.de.@ IN A 18.104.22.168 localhost IN A 127.0.0.1 www [...]Continue Reading »
After restarting a headless CentOS 6.3 machine, it lost outbound internet connectivity, i.e. I can still connect to the server via SSH (ssh root@**.126.18.56), but stuff such as ping google.com gives google.com: unknown host, and yum list some_package gives a lot of network errors. This is what ifconfig gives: eth0 Link encap:Ethernet HWaddr 00:25:90:78:2D:5D inet addr:**.126.18.56 Bcast:**.126.18.255 Mask:255.255.255.0 inet6 addr: fe80::225:90ff:fe78:2d5d/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:75594 errors:0 dropped:0 overruns:0 frame:0 TX [...]Continue Reading »
I’m migrating from old server into new server. my current domain is pointing to Old server and want to test before go live. The problem is how to connect to New Server for internal test. I dont know how to connect into it directly via server ip. Server: CentOS 6, and use Directadmin. Asked by RAGOpoR Connecting via an IP address may not work as you expect. The best thing to do here is to [...]Continue Reading »
Would the following works fine without any issues? I have apc cache installed, the other packages the usual php configuration. yum update php would that be enough? it is an active server, so want to make sure and see what should I take into consideration to make this less painful. Asked by Dreaded semicolon CentOS 6 does not have PHP 5.3.4 in the standard repositories, which you can see here. yum update php will not [...]Continue Reading »
I installed CentOS 6.3 Minimal on VMWare Player, and I realized how ‘minimal’ the setup is… Don’t have network connectivity. From what I searched on google, I need to edit the file /etc/sysconfig/network-scripts/ifcfg-eth0 but since I don’t have any editor installed (as far as I know), I don’t know how to edit the file. How do I edit the file???? Asked by CoCoMonk It’s virtually guaranteed that vi is installed, and maybe pico. Search Google [...]Continue Reading »
I have installed Apache Web Server on an CentOS 6 machine and configured it to run listen on an IP X.X.X.X:8080 in httpd.conf file but it is not working when i tried to access the Web server from browser using http://x.x.x.x:8080 Asked by Ali Ahmad By default CentOS has most input ports closed in the firewall so you will almost certainly need to open port 8080 in your firewall iptables -I INPUT -p tcp -m [...]Continue Reading »
- SCP transfer only modified files
- How can I automate clearing and resetting a Linux user’s home directory to a default?
- Cron expression that runs every 5 minutes from 1:30 am – 6:00 am [duplicate]
- Understanding redundant power supplies
- Is there a way for administrators to disable users from installing Firefox extensions?