Question: What is the difference between apt-get upgrade and apt-get dist-upgrade? Answer: Apt-get upgrade is designed to update your Linux server packages to their latests versions. It will only upgrade the packages that are currently installed. Apt-get dist-upgrade will not only upgrade the current packages but will also install any …
December, 2009
-
7 December
How to reinstall packages with YUM
Question: One of my applications in CentOS Linux is not working right. How do I reinstall it? Answer: Early version of YUM did not have a “reinstall” function, but the newest version do. To reinstall a package, simply type as root: yum reinstall package-name If you are running a server …
-
4 December
Searching for applications with APT
Using “apt-get install” works perfectly well as long as you know the name of an application, but if you do not, it becomes a guessing game. Fortunately, APT has a search tool you can use to find the applications or types of applications you need for your Linux server. APT …
-
4 December
Installing applications with APT
In a previous post, I explained how to install APT on a Linux server that does not have it. In this post, you learn how to use APT on any server that has it installed. Debian and Debian-based distributions, such as Ubuntu, use APT by default. The basic command for …
-
2 December
Make your own forum website
There are many issues to consider when creating your own forum website: themes, topics, moderators, administrators, categories, advertising, user permissions, and policies. One of the most important decisions you will make, however, is choosing the forum software. Discussion forum software can be proprietary/commercial or free and open source. It can …
November, 2009
-
30 November
Making YUM Faster
Question: When I run updates with YUM (an update tool for Redhat, CentOS, or Fedora Linux), it seems like it takes forever. How can I make it faster? Answer: Although there many things to consider when trouble-shooting speed issues, one specific YUM concern might be the speed of the mirror …
-
27 November
Tracking emails with Postfix
Question: I am noticing some problems with my email server, Postfix. Is there a way to track emails? Answer: While you should definitely not use this for purpose of spying, it is sometimes necessary to track all emails on a server, even if you have multiple users on it. Sometimes …
-
27 November
Find out which users are logged in
Question: How do I find out which users are logged in to my Linux server? Answer: To find out who is logged on to your server, you can run a very simple command: who You will need to login to your server via SSH order to run this command. This …
-
26 November
Creating a test server
Question: I am new to Linux server administration. Is there any way to create a test server without having to buy a new computer or dual boot my Windows machine? Answer: Yes there is a way, and virtualization is the answer. There are many paid virtualization options like Vmware, but …
-
24 November
How to defend a virtual private server from hackers
Email forms are a common way for hackers to send spam. If you use email forms such as Matt’s script (often known as FormMail) or other similar mail scripts, your server could be vulnerable to attacks. If you have clients or simply other users creating sites on your server, you …