Search found 166 matches
- Thu Apr 25, 2013 3:56 pm
- Forum: Webservers Installation
- Topic: How to install tomcat7 + centos6
- Replies: 0
- Views: 2606
How to install tomcat7 + centos6
You may first need to install JDK cd /usr/local/src Download the latest jdk from http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html Download the rpm file for eg : jdk-7u21-linux-x64.rpm wget http://download.oracle.com/otn-pub/java/jdk/7u21-b11/jdk-7u21-linux-x64.rpm?...
- Wed Apr 24, 2013 12:37 pm
- Forum: Symlink Attack
- Topic: How to find and prevent symlink attack
- Replies: 0
- Views: 5387
How to find and prevent symlink attack
How to find if there is a symlink attack : ls /var/cpanel/users | grep -v "\`\|\.\|cpanel\|root\|mysql\|nobody" | while read CPUSER; do find /home/$CPUSER -type l -not \( -lname "/home/$CPUSER/*" -o -lname "*rvsitebuilder*" -o -lname "[^/]*" -o -lname "/u...
- Tue Apr 23, 2013 11:22 am
- Forum: FTP/scp/wget etc
- Topic: ncftp
- Replies: 0
- Views: 6097
ncftp
cd /usr/local/src wget ftp://ftp.ncftp.com/ncftp/binaries/ncftp-3.2.5-linux-x86_64-glibc2.3-export.tar.gz Untar and go to "bin" folder tar -xvzf ncftp-3.2.5-linux-x86_64-glibc2.3-export.tar.gz cd /usr/local/src/ncftp-3.2.5/bin Download using the command below : ./ncftpget –R –v –u “ftpuse...
- Tue Apr 23, 2013 11:20 am
- Forum: FTP/scp/wget etc
- Topic: wget using password
- Replies: 0
- Views: 2327
- Sat Apr 20, 2013 3:20 pm
- Forum: Disk Statistics
- Topic: Harddisk uptime
- Replies: 0
- Views: 5727
Harddisk uptime
Harddisk is running for 335 hours now.root@server:~# smartctl -a /dev/sda | grep Power_On_Hours
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 335
root@server:~#
- Sat Apr 20, 2013 12:02 pm
- Forum: Basic Commands
- Topic: How to remove a file using inode number + linux
- Replies: 0
- Views: 2714
How to remove a file using inode number + linux
Below command list the files and its inode number ls -il Example root@central [~/456]# ls -il total 12 187957285 drwxrwxr-x 3 root root 4096 Apr 19 22:44 ./ 184784128 drwx------ 15 root root 4096 Apr 19 22:44 ../ 187957289 -rw-rw-r-- 1 root root 0 Apr 19 22:44 1 187957284 drwxrwxr-x 2 root root 4096...
- Fri Apr 19, 2013 6:49 pm
- Forum: MYSQL ERRORS
- Topic: ERROR 1010 (HY000) at line 1: Error dropping database (can't
- Replies: 0
- Views: 2560
ERROR 1010 (HY000) at line 1: Error dropping database (can't
Getting the below error when I try to drop the database : ERROR 1010 (HY000) at line 1: Error dropping database (can't rmdir './roundcube', errno: 39). root@server[/var/lib/mysql]# mysql -e "drop database roundcube"; ERROR 1010 (HY000) at line 1: Error dropping database (can't rmdir './rou...
- Fri Apr 19, 2013 6:46 pm
- Forum: Roundcube
- Topic: DATABASE ERROR: CONNECTION FAILED! + cpanel
- Replies: 0
- Views: 6115
DATABASE ERROR: CONNECTION FAILED! + cpanel
Getting the below error when I try to login to roundcube DATABASE ERROR: CONNECTION FAILED! Unable to connect to the database! Please contact your server-administrator. Solution : mysql -e "drop database roundcube"; /usr/local/cpanel/bin/update-roundcube --force If you cant remove the data...
- Thu Apr 11, 2013 6:30 pm
- Forum: Basic Commands
- Topic: How to make history command to display time
- Replies: 0
- Views: 2240
How to make history command to display time
After the above command history will how the date and time of commands untill the current shell is closed.export HISTTIMEFORMAT="%Y%m%d %H:%M:%S "
- Sun Mar 31, 2013 8:39 am
- Forum: ERRORS
- Topic: Fatal perl must be installed before proceeding cpanel instal
- Replies: 0
- Views: 2701
Fatal perl must be installed before proceeding cpanel instal
Solution
Install perl using
Install perl using
yum install perl