Read about best linux server distro for home, The latest news, videos, and discussion topics about best linux server distro for home from alibabacloud.com
Example One
First look at the effect:1. No public key required
2. Only a few of the most commonly used Linux commands can be built
Look at the steps1. Prepare Linux server, install git (generally default installed)
2. Command-line operation
Useradd git #创建一个git账号
passwd git #设置git账号的密码
Su–git #切换到git账号
CD ~ #转到用户目录
mkdir project name. Git #建立项目git文件夹
methods to copy files between different Linux systems. The first method is ftp, that is, installing the ftp Server on one of the Linux systems, in this way, another ftp client program can be used to copy files. the second method is to use the samba service, similar to the Windows file copy method, which is simple and convenient. The third method is to use the sc
to the mkCDrec download directory.
2. Extract the mkCDrec package from tar zxvf mkCDrec_v0.6.7.tar.gz.
3. decompress the cd mkcdrec file and enter its directory.
4. tar zxvf/home/slowe/mkCDrec_v0.6.7_utils.tar.gz decompression toolkit.
5. make test run a script to determine whether mkCDrecs is necessary in the user system. Click here to view the command example output by the script.
If the above Script output shows that the user's
shadowsocks. local import main" If you use sudo for installation, the above error will still be reported.
If you have a root account, edit vim/etc/rc. local and enter nohup bash/home/shadow. sh>/home/d.txt Save before exit.
Now you can rebootand restart the server. The test shows that the server cannot be automatical
1. Download source code
Find the source code package of CVS through the search engine, or search for it from the official CVS website cvshome.org. Due to the history of CVs, some security vulnerabilities have also occurred, therefore, it is recommended to regularly go to its official website to see if the latest version is available.
2. Compile and install
[Root @ Terry SRC] # tar-xjpvf CVS-1.12.5.tar.bz2
[Root @ Terry SRC] # cd CVS-1.12.5
[Root @ Terry CVS-1.12.5] #./configure -- prefix =/usr/l
/xstartup?[-R $HOME/. Xresources] Xrdb $HOME/. Xresources?#xsetroot-solid Grey?#vnccon * *-iconic ?X-terminal-emulator-geometry 80x24+10+10-ls-title "$VNCDESKTOP Desktop" x-window-manager 7. sudo chmod 755/etc/x11/xinit/xinitrc//Modify the license of the/ETC/X11/XINIT/XINITRC file to make it executable8. If the login appearsCould not acquire Name on Session BusThis is because you are already logged on to G
Aug 29 alltask. bat-Rw-r --. 1 root 20671 Aug 29 alltask. vbs-Rw-r --. 1 root 8 Aug 29 backup. batDrwxr-xr-x. 2 root 6 Aug 29 test2. The linux client submits data to the svn server.Create a svnlinux. Php file and submit it to the svn server.[Root @ servermanager svndata] # vim svnlinux. php[Root @ servermanager svndata] # svn add svnlinux. phpA svnlinux. php[Root @ servermanager svndata] # svn ci-m "s
Http://www.ha97.com/4634.htmlPS: I used to basically do not use Linux remote graphics desktop, a few days ago the development of colleagues to configure CentOS VNC has problems, to find me to solve, on the way to summarize the summary, this summary is relatively complete. The following configurations are tested in centos5.x and 6.x, SuSE Enterprise, and other distributions are generally common:First, install the corresponding desktop environment with
, which is very dangerous. We will introduce vsftp later!
Virtual users (also called GUEST users in some places ):Using an independent account/password data file, this account has a feature that it can only access its own home directory. In this way, the server ensures the security of other files on the FTP service. This type of account, in VsftpdSoftwareIs called a Guest user. Accounts with such users can
For details about how to configure WWW server in Linux, refer to general Linux technology-Linux technology and application information. The configuration and installation of Apache 2.0 are very different from those of Apache 1.3. Like other open-source software, it uses libtool and autoconf to configure the environment
!!"Elseresult= "false!!"Fi#send Mail to Administrator/bin/mail [email protected]-S "Project_backup_$now" Result: '/bin/echo $result 'MESSAGEAdd executable permissions to the script.3. Set the script to execute on a daily schedule.# CRONTAB-EEnter the following content:0 * * */home/svn/project_backup.shIndicates that the script runs every night 23 o'clock.After the above three steps, you can automatically back up the SVN data, and regardless of whether
after the User-Defined NFS is used, provided that the UID and GID exist in the/etc/passwd of the local machine.(Iii) File PermissionsThe write permission for an object must meet the following requirements:(1) user account, that is, UID-related identity(2) the NFS server allows write permission.(3) The file system does have W Permissions(4) Two commands① Use on the client:Showmount-e IP address or host nameView the mounted directory② Use on the server
violent attacks (LCTT: not changing the default port is equivalent to hackers knowing your home number, so they only need a single test key to open your home lock).To change the default SSH port, first open the Sshd_config file:sudo vim/etc/ssh/sshd_configFind the following line:#Port 22The "#" number indicates that the line is a comment. First remove the # number and then change the port number to the des
violent attacks (LCTT: not changing the default port is equivalent to hackers knowing your home number, so they only need a single test key to open your home lock).To change the default SSH port, first open the Sshd_config file:sudo vim/etc/ssh/sshd_configFind the following line:#Port 22The "#" number indicates that the line is a comment. First remove the # number and then change the port number to the des
feel a little bit of accomplishment, whenever you receive the user's thanks and think your software running in the actual system, there will be a little satisfaction. So, take action, spend some time doing free software, and you'll have an unexpected harvest.7. Network resources for LVS projectsIf you are interested in the LVS project, please visit the home page of the Linux Vritual
Article Title: Setting up an FTP server in Linux (2 ). Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Create accounts without shell for FTP site users
First, create a new user that
Inotify-tools + php script for Linux Server File monitoring and email reminder,
Requirement Description:
Because servers are infected with Trojans and are often written into sensitive html pages, leaders are often invited to drink tea by cyber police, you know. Therefore, there are two requirements: one is to find out the server's Trojan backdoor and fix code vulnerabilities, and the other is to monitor the
usually we pass Windowsmost of the SSH client software is used when connecting to the server, it is recommended to use SSH, the safety factor is relatively high. The following describes using Telnet to connect to the server. Client:C:\users\dell>systeminfoHost Name: BohaoOS Name: Microsoft Windows 10 Home Chinese versionOS version: 10.0.10240OS Manufacturer: Micr
At this point, we will often encounter such a problem: the operation of the server because of something interrupted, back to continue to operate the time will certainly be ifconfg to confirm whether I want to operate the server, because it can not be recognized from the image.
Therefore, it is necessary to optimize this PS1 command-line prompt. Every operation and siege Lion must have its own habits, but I
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.