When you log in to a unknown Linux, the following command may help you to check the OS brand and version.
Continue reading Linux – Check OS Brand And Version
Category Archives: Linux
JPackage – Missing Dependency Problem on Tomcat6 Installation
Last time when i tried to install Tomcat6 from JPackage Repository using yum, it prompts the following error.
Continue reading JPackage – Missing Dependency Problem on Tomcat6 Installation
JPackage – Yum Repositories for CentOS, Fedora and Redhat
The default CentOS repository is quite old and i cannot find what i need. The JPackage Project is designed for providing up-to-date java packages for Linux user. Please refer to the JPackage Official Website for more details.
Continue reading JPackage – Yum Repositories for CentOS, Fedora and Redhat
yum-utils – Check Missing Dependency Problem in Yum
When i tried to install some packages using yum install, the shell prompts me some Missing Dependency errors. And it suggests using package-cleanup to work around the problem.
Continue reading yum-utils – Check Missing Dependency Problem in Yum
CentOS – Install Java Sun JDK
If you want to use Java Sun JDK instead of OpenJDK on CentOS, u have to install it manually.
Continue reading CentOS – Install Java Sun JDK
PostgreSQL – Upgrade version from PostgreSQL Yum Repository
The current available postgresql-server package in CentOS Yum Repository is 8.1.18. But my application needs postgresql-server 8.3. Luckily, PostgreSQL provides its own repository for upgrade. So Fedora, Redhat and CentOS users can upgrade by the following steps.
Continue reading PostgreSQL – Upgrade version from PostgreSQL Yum Repository
Linux – vi controlling problem
If you find that your vi editor has controlling problem such as u cannot move the cursor using the arrow buttons or the text is modified when moving the cursor. u can try to fix it by setting the TERM variable.
- export TERM=”xterm”
Yum – vim Installation
The virtual linux inside the Cisco AXP is terrible… LoL
After i have made the yum work, i use it to install many necessary software. To install vim using yum, use the following command.
Continue reading Yum – vim Installation
CentOS – PHP5.2 Installation
Finally i make the yum work in the virtual linux inside the Cisco AXP 1.5. That virtual linux has a Cisco Built Linux Kernel which only has some basic commands and i need to install many software on it in order to make my application works. One of the pre-requisites is PHP 5.2 but unfortunately, the default CentOS repository – http://mirror.centos.org/ only provides PHP5.1.
Continue reading CentOS – PHP5.2 Installation
openSUSE – Get the HTTP Proxy setting in Shell
In openSUSE, you can set the HTTP Proxy in YaST. but this setting is independent of $http_proxy in shell which means you cannot get the current proxy setting by the following command
- echo $http_proxy
Continue reading openSUSE – Get the HTTP Proxy setting in Shell