Running aMule without a GUI is suitable for low-configuration VPS setups. You can run the aMule daemon (`amuled`) and manage it through the command-line interface (`amulecmd`) or the web interface. Here’s how you can compile and set up aMule on CentOS 7 without the GUI components:
### Step-by-Step Guide to Compile and Install aMule Daemon on CentOS 7
1. **Update Your System**:
```bash
sudo yum update
```
2. **Install Required Dependencies**:
- Install development tools and libraries needed for compiling aMule and its dependencies:
```bash
sudo yum groupinstall "Development Tools"
sudo yum install gd-devel geoip-devel libpng-devel libpcap-devel bzip2-devel wget
```
3. **Install wxBase**:
- Download and compile wxBase, the non-GUI components of wxWidgets:
```bash
cd /usr/local/src
sudo wget https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.5/wxWidgets-3.1.5.tar.bz2
sudo tar -xvf wxWidgets-3.1.5.tar.bz2
cd wxWidgets-3.1.5
sudo mkdir base-build
cd base-build
../configure --disable-shared --disable-gui --with-libpng=builtin --with-zlib=builtin --with-expat=builtin --with-regex=builtin --with-libtiff=no --with-libjpeg=no --with-libmspack=no --with-libxpm=no
sudo make
sudo make install
```
4. **Download aMule Source Code**:
- Get the latest source code from the aMule GitHub repository:
```bash
cd /usr/local/src
sudo git clone https://github.com/amule-project/amule.git
cd amule
sudo git checkout master