Re: Support for Debian/Ubuntu
Posted: Thu Oct 03, 2013 2:49 pm
нет повода не выпитьskid wrote:Ubuntu 12.04 LTS is now supported!
нет повода не выпитьskid wrote:Ubuntu 12.04 LTS is now supported!
Code: Select all
...
Creating config file /etc/roundcube/debian-db.php with new version
granting access to database roundcube for roundcube@localhost: success.
verifying access for roundcube@localhost: success.
creating database roundcube: success.
verifying database roundcube exists: success.
populating database via sql... done.
dbconfig-common: flushing administrative password
Creating config file /etc/roundcube/main.inc.php with new version
Lighttpd not installed, skipping
* Reloading web server config apache2 Setting up roundcube (0.7.1-2) ...
Setting up roundcube-plugins (0.7.1-2) ...
Setting up liblwp-protocol-https-perl (6.02-1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
libapache2-mod-rpaf
E: Sub-process /usr/bin/dpkg returned an error code (1)
Error: apt-get install failed
Code: Select all
deb http://nginx.org/packages/ubuntu/ precise nginx
deb http://apt.vestacp.com/precise/ precise vesta
Code: Select all
apt-get update
apt-get install libapache2-mod-ruid2
Code: Select all
rm -f vst-install-ubuntu.sh
curl -O https://raw.github.com/serghey-rodin/vesta/master/install/vst-install-ubuntu.sh
bash vst-install-ubuntu.sh
Code: Select all
root@vesta:~# tail -n2 /etc/apt/sources.list
deb http://nginx.org/packages/ubuntu/ precise nginx
deb http://apt.vestacp.com/precise/ precise vesta
root@vesta:~# apt-get install libapache2-mod-ruid2
Reading package lists... Done
Building dependency tree
Reading state information... Done
libapache2-mod-ruid2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 119 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up libapache2-mod-rpaf (0.6-2ubuntu1) ...
* Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
[fail]
invoke-rc.d: initscript apache2, action "restart" failed.
dpkg: error processing libapache2-mod-rpaf (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
libapache2-mod-rpaf
E: Sub-process /usr/bin/dpkg returned an error code (1)
Code: Select all
root@vesta:~# netstat -anpt
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 18300/mysqld
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 17770/nginx.conf
...
root@vesta:~# service nginx stop
root@vesta:~# apt-get install libapache2-mod-ruid2
Reading package lists... Done
Building dependency tree
Reading state information... Done
libapache2-mod-ruid2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 119 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
Setting up libapache2-mod-rpaf (0.6-2ubuntu1) ...
* Restarting web server apache2 apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[ OK ]
root@vesta:~# netstat -anpt
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 18300/mysqld
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 20539/apache2
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 17965/vsftpd
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 14439/named
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 724/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 17668/exim4
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 14439/named
tcp6 0 0 :::53 :::* LISTEN 14439/named
tcp6 0 0 :::22 :::* LISTEN 724/sshd
tcp6 0 0 ::1:25 :::* LISTEN 17668/exim4
tcp6 0 0 ::1:953 :::* LISTEN 14439/named
root@vesta:~#
Code: Select all
root@vesta:~# cat /etc/apache2/httpd.conf
root@vesta:~#
Не смог разобраться, где собака зарыта..* Usage: /etc/init.d/bind9 {start|stop|reload|restart|force-reload|status}
* Stopping domain name service... bind9
rndc: connect failed: 127.0.0.1#953: connection refused
...done.
* Starting domain name service... bind9
...fail!
Code: Select all
userlist_enable=YES
Code: Select all
userlist_enable=NO
500 OOPS: cannot read user list file:/etc/vsftpd.user_list
Code: Select all
--2013-10-07 18:31:03-- http://c.vestacp.com/0.9.8/ubuntu/vsftpd.conf
Resolving c.vestacp.com (c.vestacp.com)... 50.22.60.3
Connecting to c.vestacp.com (c.vestacp.com)|50.22.60.3|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 424 [text/plain]
Saving to: `/etc/vsftpd.conf'
100%[======================================>] 424 --.-K/s in 0s
2013-10-07 18:31:03 (55.2 MB/s) - `/etc/vsftpd.conf' saved [424/424]
update-rc.d: warning: /etc/init.d/vsftpd missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
Adding system startup for /etc/init.d/vsftpd ...
/etc/rc0.d/K20vsftpd -> ../init.d/vsftpd
/etc/rc1.d/K20vsftpd -> ../init.d/vsftpd
/etc/rc6.d/K20vsftpd -> ../init.d/vsftpd
/etc/rc2.d/S20vsftpd -> ../init.d/vsftpd
/etc/rc3.d/S20vsftpd -> ../init.d/vsftpd
/etc/rc4.d/S20vsftpd -> ../init.d/vsftpd
/etc/rc5.d/S20vsftpd -> ../init.d/vsftpd
vsftpd start/pre-start, process 19090
Code: Select all
apt-get update
apt-get install vsftpd
wget http://c.vestacp.com/0.9.8/ubuntu/vsftpd.conf -O /etc/vsftpd.conf
service vsftpd restart